On 9/21/06, Elijah Newren <[EMAIL PROTECTED]> wrote: > On 9/4/06, Emmanuele Bassi <[EMAIL PROTECTED]> wrote: > > Plans for the 2.17/2.18 cycle (many recycled from the 2.15/2.16 cycle): > <snip> > > * If available, add single instance support to the Dictionary > > using the GUnique library; > > Note that the GUnique library depends on a patch not yet merged into > gtk+[1]; also it looks like we're going to be shooting for gtk+ 2.12 > in Gnome 2.20 rather than 2.18[2]. So you will probably have to defer > this part of your plans.
Um, oops... Richard just pointed out to me how I had forgotten that Vytas had done a very good job making the GUnique library work as well as possible with gtk+-2.10. So, you can still implement it this cycle. Some notes: 1) Richard has imported the GUnique library as libgunique in cvs; he has been applying some patches to improve it and will be applying some more (e.g. to make it a shared library). 2) gnome-power-manager has an example of how to use libguniqueapp in gnome-power-manager/src/gpm-prefs.c, which is a relatively short file. (See bug 357128 first, though!). Other examples can be found in the links from http://bugzilla.gnome.org/show_bug.cgi?id=351941. 3) There's subtle gotchas when using gtk+-2.10 (see e.g. http://bugzilla.gnome.org/show_bug.cgi?id=357128). If you want, you can ping me and I'll try to review any patches you have. 4) Using libguniqueapp with gtk+-2.10 will result in some race conditions, but none are severe by any means. It's more than likely going to be less problematic than what you're already using. Hope that helps, Elijah _______________________________________________ desktop-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/desktop-devel-list
