widget: Unset PRELIGHT and ACTIVE state flags in unmap

This commit is contained in:
Timm Bäder 2017-07-02 20:46:31 +02:00 committed by Matthias Clasen
parent 1dd716e66f
commit cef4df1e7e

View File

@ -10520,6 +10520,10 @@ gtk_widget_real_unmap (GtkWidget *widget)
{
gtk_widget_unmap (child);
}
gtk_widget_unset_state_flags (widget,
GTK_STATE_FLAG_PRELIGHT |
GTK_STATE_FLAG_ACTIVE);
}
}