Re: GEmblemedIcons help



On Mon, 2009-02-16 at 20:02 +0100, Nicolò Chieffo wrote:
> I opened a bugreport some time ago
> http://bugzilla.gnome.org/show_bug.cgi?id=555715 and they answered
> that this change is not scheduled, even in glib 3.
> Thay also say it is not enough to invalidate the cache, because some
> app might have already asked for the special directory before, so they
> cannot free the pointer, becouse it could be in use. (bad C!!!!)

I think it's an OK trade off to leak this memory since invalidating the
cache would rarely happen.

> > Maybe we could have some call to flush the glib cache, and then we could
> > call that e.g. each time a file selector is displayed, should be "good
> > enough".

That, and if gio is initialized (same place where all the extension
points are registered), we can set up a file monitor to flush it
whenever something changes....

     David




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]