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:
committed by
Manish Singh
parent
94d641664a
commit
69e5d23af7
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user