Re: SEGV bug in gtknotebook.c (GTK 1.1)
- From: Stuart Parmenter <pavlov innerx net>
- To: gtk-devel-list redhat com
- Subject: Re: SEGV bug in gtknotebook.c (GTK 1.1)
- Date: Tue, 18 Aug 1998 08:35:06 -0400
Yes, I ran into this problem too.. basically you are required to provide a
label instead of NULL..
just do:
label = gtk_label_new (_ ("Mailboxes"));
gtk_notebook_append_page (GTK_NOTEBOOK (notebook), my_page, label);
You used to be able to pass NULL for label...
On Tue, Aug 18, 1998 at 01:07:00PM +0100, Damon Chaplin wrote:
>
> I've found a bug in GTK 1.1 (though this may have been fixed as I last
> checked it out a few weeks back.)
>
> If you use a GtkNotebook without tab labels, you may receive a SEGV in
> gtk_notebook_switch_focus_tab(). (Glade is unusable with GTK 1.1 if this
> is not fixed - selecting most 'Widget' properties causes a SEGV).
>
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x4007bfb1 in gtk_notebook_switch_focus_tab (notebook=0x80f7668,
> new_child=0x80d051c) at gtknotebook.c:3281
> 3281 if (GTK_WIDGET_MAPPED (page->tab_label))
>
> (gdb) print page->tab_label
> $1 = (GtkWidget *) 0x0
>
>
> Damon
>
>
> --
> To unsubscribe: mail gtk-devel-list-request@redhat.com with
> "unsubscribe" as the Subject.
--
pavlov@pavlov.net
http://www.pavlov.net/
"Experimental dog, Salivating dog, Good dog, dinner bell
dinner bell do the bell thing, dinner bell dinner bell
ring..." - They Might Be Giants
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]