[java-gnome-hackers] Initialization check
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2010-02-15 06:20:07
|
I attempted to get things back to warning clearly [rather than getting a CRITICAL out of some GNOME library] if you haven't called Gtk.init() as the first use of something in java-gnome. I added isLibraryReady() to [org.freedesktop.bindings] Plumbing. It gets called from most other packages' Plumbing static initializers. The juggling between the sequencing of the static initializers and the check is very tricky. Anyway, as you're testing 'mainline' keep an eye out for this hopefully preventing you from making a mistake about using java-gnome properly. AfC Sydney |