forked from AuroraMiddleware/gtk
gtkaboutdialog: Use symbolic names for button numbers
This commit is contained in:
parent
bc5d8da0c6
commit
f11e5a3f4d
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user