зеркало из https://github.com/github/putty.git
Add a cast to fix a warning.
This fixes compilation with Gtk 2 with -Werror. Problem introduced by
64221972c
.
This commit is contained in:
Родитель
230f7d5628
Коммит
b566c5f125
|
@ -1935,7 +1935,7 @@ gboolean scroll_event(GtkWidget *widget, GdkEventScroll *event, gpointer data)
|
|||
event_button->x_root = event->x_root;
|
||||
event_button->y_root = event->y_root;
|
||||
ret = button_internal(inst, event_button);
|
||||
gdk_event_free(event_button);
|
||||
gdk_event_free((GdkEvent *)event_button);
|
||||
return ret;
|
||||
#endif
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче