summaryrefslogtreecommitdiff
path: root/gtk/gtkaboutdialog.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2012-01-25 18:15:01 +0100
committerCarlos Garcia Campos <carlosgc@gnome.org>2012-01-27 09:47:42 +0100
commitf11e5a3f4d45625456c6e789f4fac16ccd511e3a (patch)
tree8d1bc533b4025edf8c851362425c74b56c5408a5 /gtk/gtkaboutdialog.c
parentbc5d8da0c65aeafb736d816b635b0ae1f4a31593 (diff)
downloadgtk+-f11e5a3f4d45625456c6e789f4fac16ccd511e3a.tar.gz
gtkaboutdialog: Use symbolic names for button numbers
Diffstat (limited to 'gtk/gtkaboutdialog.c')
-rw-r--r--gtk/gtkaboutdialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index a4cc9c33ad..c72f1abf59 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -1965,7 +1965,7 @@ text_view_event_after (GtkWidget *text_view,
button_event = (GdkEventButton *)event;
- if (button_event->button != 1)
+ if (button_event->button != GDK_BUTTON_PRIMARY)
return FALSE;
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (text_view));