Hi list,

    I wonder if anyone here has ever used the GtkFileChooserWidget 
directly?? When I create the widget and add it to a window everything 
goes ok - but if I close the window (I did add an extra 
"g_object_ref(widget);" to the widget keeping it alive) and open a new 
window adding the same widget to it  - or - alternatively remove the 
GtkFileChooserWidget from the window and re-adds the very same widget 
then I get errors like:

(DiamondBOX:18575): Gtk-CRITICAL **: gtk_tree_model_get_iter: assertion 
`path != NULL' failed

(DiamondBOX:18575): Gtk-CRITICAL **: gtk_list_store_set_valist: 
assertion `VALID_ITER (iter, list_store)' failed

(DiamondBOX:18575): Gtk-CRITICAL **: gtk_tree_model_get_iter: assertion 
`path != NULL' failed

(DiamondBOX:18575): Gtk-CRITICAL **: gtk_list_store_set_valist: 
assertion `VALID_ITER (iter, list_store)' failed

(DiamondBOX:18575): Gtk-CRITICAL **: gtk_tree_model_get_iter: assertion 
`path != NULL' failed

(DiamondBOX:18575): Gtk-CRITICAL **: gtk_list_store_set_valist: 
assertion `VALID_ITER (iter, list_store)' failed

when displaying the window. Is this expected behaviour or a bug??? 
Perhaps I could do something to prepare the widget for the later 
re-appearance??

    best regards - Nikolaj Thygesen

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to