cursor-tracker: Improve symmetry between two paths

This commit is contained in:
Jasper St. Pierre 2014-04-22 14:28:05 -04:00
parent 4ea9a28eee
commit eac6e9ed41

View File

@ -151,8 +151,9 @@ make_wayland_cursor_tracker (MetaScreen *screen)
static MetaCursorTracker * static MetaCursorTracker *
make_x11_cursor_tracker (MetaScreen *screen) 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->screen = screen;
self->renderer = meta_cursor_renderer_new (); self->renderer = meta_cursor_renderer_new ();