screen: fix a Wincompatible-pointer-types warning

probably introduced with vte291 port

compared with:
https://git.gnome.org/browse/gnome-terminal/commit/?h=gnome-3-14&id=7da07d5
master-1.22
raveit65 2016-07-08 17:00:15 +02:00
parent 210921b104
commit 75da8ddeb8
1 changed files with 1 additions and 1 deletions

View File

@ -1568,7 +1568,7 @@ terminal_screen_button_press (GtkWidget *widget,
state = event->state & gtk_accelerator_get_default_mod_mask (); state = event->state & gtk_accelerator_get_default_mod_mask ();
matched_string = terminal_screen_check_match (screen, event, &matched_flavor); matched_string = terminal_screen_check_match (screen, (GdkEvent*)event, &matched_flavor);
if (matched_string != NULL && if (matched_string != NULL &&
(event->button == 1 || event->button == 2) && (event->button == 1 || event->button == 2) &&