compositor: Fix maybe-uninitialized warning
Introduced in 54febd1419
https://gitlab.gnome.org/GNOME/mutter/merge_requests/374
This commit is contained in:
parent
0478c225b7
commit
e7fb45364a
@ -665,7 +665,7 @@ meta_compositor_add_window (MetaCompositor *compositor,
|
||||
MetaWindowActor *window_actor;
|
||||
ClutterActor *window_group;
|
||||
MetaDisplay *display = compositor->display;
|
||||
GType window_actor_type;
|
||||
GType window_actor_type = G_TYPE_INVALID;
|
||||
|
||||
meta_x11_error_trap_push (display->x11_display);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user