Re: Error deleting widgets: assertion `GTK_IS_WIDGET (widget)' failed
- From: Hyrum Wright <hyrum_wright byu edu>
- To: gtk-app-devel-list gnome org
- Subject: Re: Error deleting widgets: assertion `GTK_IS_WIDGET (widget)' failed
- Date: Fri, 22 Aug 2003 11:07:29 -0600
On Fri, 2003-08-22 at 09:43, Jacob Kolding wrote:
Hello all
I have some problems deleting widgets. In this case:
GtkCellRenderer
GtkTreeViewColumn
GtkTreeModel
GtkTreeSelection
The code looks like this:
gtk_widget_destroy((GtkWidget*)check_renderer);
and the error I get:
Gtk-CRITICAL **: file gtkwidget.c: line 1626 (gtk_widget_destroy):
assertion `GTK_IS_WIDGET (widget)' failed
Can anyone tell me what I'm doing wrong?
Try using this:
gtk_widget_destroy (GTK_WIDGET (check_renderer));
-Hyrum
--
Need an Open Source Genealogy tool? Help write one!
http://openancestry.sourceforge.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]