notebook: Don't unset state flags on child removal

We don't set any state flags, so we shouldn't unset any either.
This commit is contained in:
Benjamin Otte 2014-07-19 23:48:06 +02:00
parent 52dd0f5014
commit cde81e169b

View File

@ -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))
{