From bc552e74d817c1031350337b014c37b5537af7cb Mon Sep 17 00:00:00 2001 From: Benjamin Otte <otte@redhat.com> Date: Sun, 5 Nov 2017 05:09:59 +0100 Subject: [PATCH] menubutton: Don't fiddle with prelight state --- gtk/gtkmenubutton.c | 1 - 1 file changed, 1 deletion(-) 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; }