Merge branch 'work/zzag/wl-output-cleanup' into 'main'

gdk/wayland: Destroy zxdg_output_v1 upon GdkWaylandMonitor destruction

See merge request GNOME/gtk!5242
This commit is contained in:
Matthias Clasen 2022-11-22 12:01:43 +00:00
commit 200f31f285

View File

@ -47,7 +47,8 @@ gdk_wayland_monitor_finalize (GObject *object)
g_free (monitor->name);
wl_output_destroy (monitor->output);
g_clear_pointer (&monitor->xdg_output, zxdg_output_v1_destroy);
g_clear_pointer (&monitor->output, wl_output_destroy);
G_OBJECT_CLASS (gdk_wayland_monitor_parent_class)->finalize (object);
}