diff options
author | Carlos Garcia Campos <cgarcia@igalia.com> | 2012-01-25 18:38:50 +0100 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2012-01-27 09:47:43 +0100 |
commit | 59a1434557d5550b85b32c640c560606a4020679 (patch) | |
tree | 8cccc5f60dcc6aeefe18140d68e3583d80bc2836 /gtk | |
parent | 73449a4e2869a2ec6e95a1477355db8e20fb273a (diff) | |
download | gtk+-59a1434557d5550b85b32c640c560606a4020679.tar.gz |
gtkmenutoolbutton: Use symbolic names for button numbers
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkmenutoolbutton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmenutoolbutton.c b/gtk/gtkmenutoolbutton.c index afcd69adfe..b212a8bef9 100644 --- a/gtk/gtkmenutoolbutton.c +++ b/gtk/gtkmenutoolbutton.c @@ -417,7 +417,7 @@ arrow_button_button_press_event_cb (GtkWidget *widget, GdkEventButton *event, GtkMenuToolButton *button) { - if (event->button == 1) + if (event->button == GDK_BUTTON_PRIMARY) { popup_menu_under_arrow (button, event); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (widget), TRUE); |