Re: [Java-gnome-developer] bug or missconfigured
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2007-10-22 12:51:52
|
On Sat, 2007-10-20 at 08:39 -0700, Thomas Schmitz wrote: > can it be that you have forgot to call Gtk.init() before you do some > java-gnome specific things? This happened to me a few minutes ago I clued in that this was the case myself a few weeks back.=20 I just put in a check in org.gnome.glib.Plumbing's static block to make sure Gtk.init() has been called, and to crash out if it hasn't been. This is a bit thuggish, but it'll do for now until (and unless) we implement this differently [it's fine the way it is; there's more to it than just moving the System.loadLibrary()] Anyway, people who forget to initialize GTK will no longer get the confusing stack trace about GtkCalendar or whatever. [Note that the bug about over-jealous class loading is still extant] AfC Sydney --=20 Andrew Frederick Cowie Managing Director Operational Dynamics Consulting, Pty Ltd We are an operations engineering consultancy focusing on strategy, organizational architecture, systems review, and change management procedures: enabling successful use of open source in mission critical enterprises, worldwide. http://www.operationaldynamics.com/ Sydney New York Toronto London |