Re: [Java-gnome-developer] Problem getting change notifications from GConf
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2006-11-28 00:07:39
|
On Mon, 2006-11-27 at 13:04 +0000, Mark Howard wrote: > I've not tried, but I'd expect that this is integrated with the glib > main loop, so you only get notifications when one of your threads is > running Gtk.main(). Incidentally, one of the things I've been leaning towards adding in 4.0 is a Glib.init(). There isn't such a thing in as g_init() of course (although one DOES have to call g_type_init() if using gobject et al and even though gtk_init() does that for you I'm doing it explicitly much earlier in the execution path) but for the case where you're not actually using GTK it is a but strange to have to fire it up in your code. And the main loop is a GLib construct, after all. So maybe we'll expose a GLib.main() but block its use if Gtk.init() / Gtk.main() have been used. The other possibility is to do it on library load automatically. Still fiddling. I'll write an email to -hackers when something concrete precipitates out. AfC Singapore --=20 Andrew Frederick Cowie Technology strategy, managing change, establishing procedures, and executing successful upgrades to mission critical business infrastructure. That, and hackin' in java-gnome! Need something done, call us! http://www.operationaldynamics.com/ Sydney New York Toronto London |