set_state on the tab_label before unparenting it, in case the unparent

Fri Jan 31 17:33:00 2003  Manish Singh  <yosh@gimp.org>

        * gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set_state
        on the tab_label before unparenting it, in case the unparent
        drops the refcount to 0.
This commit is contained in:
Manish Singh 2003-02-01 01:36:15 +00:00 committed by Manish Singh
parent 0f4229d419
commit 9a97081477
6 changed files with 31 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Fri Jan 31 17:33:00 2003 Manish Singh <yosh@gimp.org>
* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set_state
on the tab_label before unparenting it, in case the unparent
drops the refcount to 0.
2003-02-01 Matthias Clasen <maclas@gmx.de>
* gtk/gtkiconfactory.h: Use GDK_MULTIHEAD_SAFE like all other gtk

View File

@ -1,3 +1,9 @@
Fri Jan 31 17:33:00 2003 Manish Singh <yosh@gimp.org>
* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set_state
on the tab_label before unparenting it, in case the unparent
drops the refcount to 0.
2003-02-01 Matthias Clasen <maclas@gmx.de>
* gtk/gtkiconfactory.h: Use GDK_MULTIHEAD_SAFE like all other gtk

View File

@ -1,3 +1,9 @@
Fri Jan 31 17:33:00 2003 Manish Singh <yosh@gimp.org>
* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set_state
on the tab_label before unparenting it, in case the unparent
drops the refcount to 0.
2003-02-01 Matthias Clasen <maclas@gmx.de>
* gtk/gtkiconfactory.h: Use GDK_MULTIHEAD_SAFE like all other gtk

View File

@ -1,3 +1,9 @@
Fri Jan 31 17:33:00 2003 Manish Singh <yosh@gimp.org>
* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set_state
on the tab_label before unparenting it, in case the unparent
drops the refcount to 0.
2003-02-01 Matthias Clasen <maclas@gmx.de>
* gtk/gtkiconfactory.h: Use GDK_MULTIHEAD_SAFE like all other gtk

View File

@ -1,3 +1,9 @@
Fri Jan 31 17:33:00 2003 Manish Singh <yosh@gimp.org>
* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set_state
on the tab_label before unparenting it, in case the unparent
drops the refcount to 0.
2003-02-01 Matthias Clasen <maclas@gmx.de>
* gtk/gtkiconfactory.h: Use GDK_MULTIHEAD_SAFE like all other gtk

View File

@ -2360,8 +2360,8 @@ gtk_notebook_remove_tab_label (GtkNotebook *notebook,
page->mnemonic_activate_signal);
page->mnemonic_activate_signal = 0;
gtk_widget_unparent (page->tab_label);
gtk_widget_set_state (page->tab_label, GTK_STATE_NORMAL);
gtk_widget_unparent (page->tab_label);
}
}