From: John Darrington Date: Fri, 6 Oct 2017 09:46:40 +0000 (+0200) Subject: Fix compiler warning X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=d678fc2a9b1cfb7a53f3cb4082f6939e3e7f31c6 Fix compiler warning --- diff --git a/src/ui/gui/psppire-dictview.c b/src/ui/gui/psppire-dictview.c index f09cb57ad7..fc2c032561 100644 --- a/src/ui/gui/psppire-dictview.c +++ b/src/ui/gui/psppire-dictview.c @@ -512,9 +512,9 @@ set_tooltip_for_variable (GtkTreeView *treeview, } static gboolean -show_menu (PsppireDictView *dv, GdkEventButton *event, gpointer data) +show_menu (PsppireDictView *dv, GdkEvent *event, gpointer data) { - if (event->button != 3) + if (((GdkEventButton *) event)->button != 3) return FALSE; gtk_menu_popup_at_pointer (GTK_MENU (dv->menu), event);