X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-dictview.c;h=fc2c0325613f81d8c7534e831efa232940766b2e;hb=d678fc2a9b1cfb7a53f3cb4082f6939e3e7f31c6;hp=f09cb57ad7dbd2e5984de0898663b22cca8fa7d4;hpb=8fa37ab22125896c4549d8681804aa65095d4c1c;p=pspp 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);