[gtk+] menubutton: Don't fiddle with prelight state
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] menubutton: Don't fiddle with prelight state
- Date: Sun, 5 Nov 2017 04:18:55 +0000 (UTC)
commit bc552e74d817c1031350337b014c37b5537af7cb
Author: Benjamin Otte <otte redhat com>
Date: Sun Nov 5 05:09:59 2017 +0100
menubutton: Don't fiddle with prelight state
gtk/gtkmenubutton.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkmenubutton.c b/gtk/gtkmenubutton.c
index 3a7e9b3..6c9a13c 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]