From eac6e9ed418452699f3792277f50db405f1aae0a Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 22 Apr 2014 14:28:05 -0400 Subject: [PATCH] cursor-tracker: Improve symmetry between two paths --- src/backends/meta-cursor-tracker.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backends/meta-cursor-tracker.c b/src/backends/meta-cursor-tracker.c index 9e0edf79b..b05d472e1 100644 --- a/src/backends/meta-cursor-tracker.c +++ b/src/backends/meta-cursor-tracker.c @@ -151,8 +151,9 @@ make_wayland_cursor_tracker (MetaScreen *screen) static MetaCursorTracker * make_x11_cursor_tracker (MetaScreen *screen) { - MetaCursorTracker *self = g_object_new (META_TYPE_CURSOR_TRACKER, NULL); + MetaCursorTracker *self; + self = g_object_new (META_TYPE_CURSOR_TRACKER, NULL); self->screen = screen; self->renderer = meta_cursor_renderer_new ();