From: Christian Dywan Date: Sat, 26 Feb 2011 15:34:01 +0000 (+0100) Subject: Fix struct definition in Mouse Gestures extension X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c8a0c53c04cf03c2a3d07574c8474acc4040bf4;p=midori Fix struct definition in Mouse Gestures extension Fixes: https://bugs.launchpad.net/midori/+bug/716885 --- diff --git a/extensions/mouse-gestures.c b/extensions/mouse-gestures.c index 9a7d738a..6a3bf47b 100644 --- a/extensions/mouse-gestures.c +++ b/extensions/mouse-gestures.c @@ -25,7 +25,7 @@ enum _MouseButton { struct MouseGestureNode { double x; double y; -} MouseGestureNode_t; +}; struct _MouseGesture { MouseButton button; @@ -38,7 +38,7 @@ struct _MouseGesture { #define DEVIANCE 20 #define MINLENGTH 50 -MouseGesture *gesture; +MouseGesture *gesture = NULL; void mouse_gesture_clear (MouseGesture *g) {