RE: resizing tables with widget and unref



> > static void remove_list_from_panel(GtkWidget *widget, 
> GtkWidget *main_vbox)
> > {
> >   gtk_container_remove(GTK_CONTAINER(main_vbox), remove_list);
> > }
> > 
> > My code still seg faults, and I don't know why!
> > 
> 
> Have you tried looking at where the segfault occurs using gdb (or your
> platform's debugger?).

GDB reports this:

Program received signal SIGSEGV, Segmentation fault.
0xef738908 in gtk_type_check_object_cast (type_object=0xefffe118,
cast_type=39701) at gtktypeutils.c:624

Occurs on line 624 of gtk/gtktypeutils.c:

if (!type_object->klass)

Solaris 2.6, gcc 2.95.2 and gtk 1.2.8.

Rich




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]