Re: GLib plans for next cycle
- From: Jannis Pohlmann <jannis xfce org>
- To: gtk-devel-list gnome org
- Subject: Re: GLib plans for next cycle
- Date: Wed, 31 Aug 2011 19:58:23 +0200
On Wed, 31 Aug 2011 13:06:39 -0400
Ryan Lortie <desrt desrt ca> wrote:
> On Wed, 2011-08-31 at 12:52 -0400, Dan Winship wrote:
> > On 08/31/2011 11:50 AM, Ryan Lortie wrote:
> > > - glib_get_worker_context()
> >
> > s/glib/g/ ? glib_* sounds like it's for glib-internal-only use,
> > which I don't see any reason for. It's definitely useful outside of
> > glib.
>
> My original intention is that it *would* be glib-private (like
> glib_gettext() for example). It's true that other libraries could
> find it useful, though -- dconf would certainly put itself on this
> list. I'm just slightly worried about this thread becoming
> contaminated (think: mainloop blocking) through use by poorly written
> libraries.
TBH, I don't think the name alone will prevent misuse; in particular
so as the "glib" prefix is no obvious internal-only hint (e.g.
glib_check_version() is not private either).
Wouldn't a note in the API docs suffice?
- Jannis
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]