From d678fc2a9b1cfb7a53f3cb4082f6939e3e7f31c6 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Fri, 6 Oct 2017 11:46:40 +0200 Subject: [PATCH] Fix compiler warning --- src/ui/gui/psppire-dictview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.30.2