From 5c8a0c53c04cf03c2a3d07574c8474acc4040bf4 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 26 Feb 2011 16:34:01 +0100 Subject: [PATCH] Fix struct definition in Mouse Gestures extension Fixes: https://bugs.launchpad.net/midori/+bug/716885 --- extensions/mouse-gestures.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.39.5