Can I use gtk_widget_unref() to releasetthe object created by gtk_invisible_new()?
- From: Brian Lu <Brian Lu Sun COM>
- To: gtk-devel-list gnome org
- Subject: Can I use gtk_widget_unref() to releasetthe object created by gtk_invisible_new()?
- Date: Wed, 09 Jan 2008 17:39:24 +0800
I found following codes will crash in gnome 2.21 environment:
GtkWidget *foo = gtk_invisible_new();
But it works well if gtk_widget_unref() is replaced with
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?
] [Thread Prev