summaryrefslogtreecommitdiff
path: root/gtk/gtkmenubutton.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-11-05 05:09:59 +0100
committerBenjamin Otte <otte@redhat.com>2017-11-05 05:13:17 +0100
commitbc552e74d817c1031350337b014c37b5537af7cb (patch)
tree5b2c9d07d5dc46d7d237477a330a6833e27a132e /gtk/gtkmenubutton.c
parent4ee02725b407b277c36720f6f4279989730d24a2 (diff)
downloadgtk+-bc552e74d817c1031350337b014c37b5537af7cb.tar.gz
menubutton: Don't fiddle with prelight state
Diffstat (limited to 'gtk/gtkmenubutton.c')
-rw-r--r--gtk/gtkmenubutton.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkmenubutton.c b/gtk/gtkmenubutton.c
index 3a7e9b3092..6c9a13c0f0 100644
--- a/gtk/gtkmenubutton.c
+++ b/gtk/gtkmenubutton.c
@@ -661,7 +661,6 @@ static gboolean
menu_deactivate_cb (GtkMenuButton *menu_button)
{
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (menu_button), FALSE);
- gtk_widget_unset_state_flags (GTK_WIDGET (menu_button), GTK_STATE_FLAG_PRELIGHT);
return TRUE;
}