[java-gnome-hackers] Main loop crashes
Brought to you by:
afcowie
From: Jester <jsn...@gm...> - 2010-06-01 04:05:18
|
I really like much of java-gnome but face a serious problem that may prevent me from porting a large-scale project from swing to gtk. When I run a background thread to retrieve some data widgets with a DrawingArea go blank. A subsequent close action on any window will crash the main loop in the following way: Exception in thread "main" org.gnome.glib.FatalError: Gdk-CRITICAL gdk_window_get_position: assertion `GDK_IS_WINDOW (window)' failed at org.gnome.gtk.GtkMain.gtk_main(Native Method) at org.gnome.gtk.GtkMain.main(GtkMain.java:82) at org.gnome.gtk.Gtk.main(Gtk.java:119) at ubnz.gtk.ToolbarDemo.main(ToolbarDemo.java:326) I've tried multiple potential workarounds, but the problem persists. Any idea how to resolve this? Thanks a bunch! Jester |