compositor: Fix maybe-uninitialized warning

Introduced in 54febd1419

https://gitlab.gnome.org/GNOME/mutter/merge_requests/374
This commit is contained in:
Robert Mader 2019-01-07 12:35:29 +01:00 committed by Jonas Ådahl
parent 0478c225b7
commit e7fb45364a

View File

@ -665,7 +665,7 @@ meta_compositor_add_window (MetaCompositor *compositor,
MetaWindowActor *window_actor; MetaWindowActor *window_actor;
ClutterActor *window_group; ClutterActor *window_group;
MetaDisplay *display = compositor->display; MetaDisplay *display = compositor->display;
GType window_actor_type; GType window_actor_type = G_TYPE_INVALID;
meta_x11_error_trap_push (display->x11_display); meta_x11_error_trap_push (display->x11_display);