[Java-gnome-developer] TreeModels and warnings
Brought to you by:
afcowie
From: Igor F. <if...@re...> - 2005-06-13 13:51:57
|
Hi, I'm playing around with TreeModels, TreeFilters and so on... At one point I have a TreeStore and on top of it I build a TreeModelFilter. At some point I wait for a user to click on an element in a TreeView that is built on the TreeModelFilter and then get an iterator for the TreeModelFilter based on the selection. It seems that when I do that I get a warning from GTK, although everything works. This warning does not creep up when I step through the code, only when it is run at full speed. Any idea what this might be caused by? Am I safe to ignore it? Thanks, Igor Here's the warning: ------------------------------ java.lang.Exception: gtk_tree_model_filter_ref_node: assertion `GTK_TREE_MODEL_FILTER (model)->priv->stamp == iter->stamp' failed at org.gnu.glib.GObject.printStackTrace(GObject.java:644) at org.gnu.gtk.Gtk.gtk_main(Native Method) at org.gnu.gtk.Gtk.main(Gtk.java:55) at com.redhat.uicopy.WindowLauncher.main(WindowLauncher.java:173) java.lang.Exception: gtk_tree_model_filter_get_value: assertion `GTK_TREE_MODEL_FILTER (model)->priv->stamp == iter->stamp' failed at org.gnu.glib.GObject.printStackTrace(GObject.java:644) at org.gnu.gtk.Gtk.gtk_main(Native Method) at org.gnu.gtk.Gtk.main(Gtk.java:55) at com.redhat.uicopy.WindowLauncher.main(WindowLauncher.java:173) (java-gnome:3671): GLib-GObject-CRITICAL **: g_object_set_property: assertion `G_IS_VALUE (value)' failed (java-gnome:3671): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed java.lang.Exception: gtk_tree_model_filter_real_unref_node: assertion `filter->priv->stamp == iter->stamp' failed at org.gnu.glib.GObject.printStackTrace(GObject.java:644) at org.gnu.gtk.Gtk.gtk_main(Native Method) at org.gnu.gtk.Gtk.main(Gtk.java:55) at com.redhat.uicopy.WindowLauncher.main(WindowLauncher.java:173) |