Hi, experts,

I found following codes will crash in gnome 2.21 environment:

   ...
   GtkWidget *foo = gtk_invisible_new();
   gtk_widget_unref(foo);
   ...

But it works well if gtk_widget_unref() is replaced with 
gtk_widget_destroy().

Does that mean that we can't use gtk_widget_unref() on such object and 
we can only
use gtk_widget_destroy() to release it?

Thanks

Brian



_______________________________________________
gnome-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-list

Reply via email to