[gtk+] gtkaboutdialog: Use symbolic names for button numbers
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtkaboutdialog: Use symbolic names for button numbers
- Date: Fri, 27 Jan 2012 08:48:22 +0000 (UTC)
commit f11e5a3f4d45625456c6e789f4fac16ccd511e3a
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Wed Jan 25 18:15:01 2012 +0100
gtkaboutdialog: Use symbolic names for button numbers
gtk/gtkaboutdialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index a4cc9c3..c72f1ab 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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]