gtkaboutdialog: Use symbolic names for button numbers

This commit is contained in:
Carlos Garcia Campos 2012-01-25 18:15:01 +01:00 committed by Carlos Garcia Campos
parent bc5d8da0c6
commit f11e5a3f4d

View File

@ -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));