diff options
author | Benjamin Otte <otte@redhat.com> | 2014-07-19 23:48:06 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2014-07-19 23:48:06 +0200 |
commit | cde81e169b72ce7700acd4923559d0a48f64ff72 (patch) | |
tree | 15fff582214ffe0c80903ff784c5f04a2674998c /gtk/gtknotebook.c | |
parent | 52dd0f501459f1d1bf20969e1f88f4aee2a79a9d (diff) | |
download | gtk+-cde81e169b72ce7700acd4923559d0a48f64ff72.tar.gz |
notebook: Don't unset state flags on child removal
We don't set any state flags, so we shouldn't unset any either.
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r-- | gtk/gtknotebook.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index 3e1dee6ec9..acb90e5f08 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -4999,7 +4999,6 @@ gtk_notebook_remove_tab_label (GtkNotebook *notebook, page->mnemonic_activate_signal); page->mnemonic_activate_signal = 0; - gtk_widget_set_state_flags (page->tab_label, 0, TRUE); if (gtk_widget_get_window (page->tab_label) != gtk_widget_get_window (GTK_WIDGET (notebook)) || !NOTEBOOK_IS_TAB_LABEL_PARENT (notebook, page)) { |