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

Fri Jan 31 17:23:59 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:27:00 +00:00
committed by Manish Singh
parent 94d641664a
commit 69e5d23af7
6 changed files with 31 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
Fri Jan 31 17:23:59 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.
Thu Jan 30 23:44:52 2003 Owen Taylor <otaylor@redhat.com>
* NEWS: Updates.

View File

@@ -1,3 +1,9 @@
Fri Jan 31 17:23:59 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.
Thu Jan 30 23:44:52 2003 Owen Taylor <otaylor@redhat.com>
* NEWS: Updates.

View File

@@ -1,3 +1,9 @@
Fri Jan 31 17:23:59 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.
Thu Jan 30 23:44:52 2003 Owen Taylor <otaylor@redhat.com>
* NEWS: Updates.

View File

@@ -1,3 +1,9 @@
Fri Jan 31 17:23:59 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.
Thu Jan 30 23:44:52 2003 Owen Taylor <otaylor@redhat.com>
* NEWS: Updates.

View File

@@ -1,3 +1,9 @@
Fri Jan 31 17:23:59 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.
Thu Jan 30 23:44:52 2003 Owen Taylor <otaylor@redhat.com>
* NEWS: Updates.

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);
}
}