mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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:
parent
52dd0f5014
commit
cde81e169b
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user