freebsd-ports/math/gretl/files/patch-gui2::ssheet.c
Kirill Ponomarev 99e676b59b - Update to version 1.2.0
PR:		60568
Submitted by:	Ports Fury
2003-12-25 18:02:18 +00:00

17 lines
519 B
C

--- gui2/ssheet.c.orig Thu Nov 6 23:46:45 2003
+++ gui2/ssheet.c Thu Dec 25 17:33:04 2003
@@ -822,13 +822,13 @@
{
GdkModifierType mods;
gint ret = FALSE;
+ GdkEventButton *bevent = (GdkEventButton *) event;
if (event->type != GDK_BUTTON_PRESS) {
return FALSE;
}
gdk_window_get_pointer(view->window, NULL, NULL, &mods);
- GdkEventButton *bevent = (GdkEventButton *) event;
if (mods & GDK_BUTTON3_MASK) {
gtk_menu_popup (GTK_MENU(sheet->popup), NULL, NULL, NULL, NULL,