Re: resizing tables with widget and unref
- From: Havoc Pennington <hp redhat com>
- To: rhfreeman <rhfreeman micron com>
- Cc: "'gtk-list gnome org'" <gtk-list gnome org>
- Subject: Re: resizing tables with widget and unref
- Date: 23 Jun 2000 11:31:13 -0400
rhfreeman <rhfreeman@micron.com> writes:
> Well, this code seg faults so I am not surprised I can't do such things. I
> am basically guessing as I don't have a real idea of how to do this.
> remove_list is a global variable so I can access it here. So if I just have
> this in my function:
>
> 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?).
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]