Merge branch 'wip/carlosg/stale-timeout' into 'main'

gdk/x11: Clear all data in GdkSurfaceX11 finalization

See merge request GNOME/gtk!5303
This commit is contained in:
Matthias Clasen 2022-12-08 12:18:37 +00:00
commit 9de963e8b4

View File

@ -759,6 +759,8 @@ gdk_x11_surface_finalize (GObject *object)
} }
g_clear_pointer (&impl->surface_is_on_monitor, g_list_free); g_clear_pointer (&impl->surface_is_on_monitor, g_list_free);
g_clear_handle_id (&impl->compute_size_source_id, g_source_remove);
g_clear_pointer (&impl->toplevel_layout, gdk_toplevel_layout_unref);
g_free (impl->toplevel); g_free (impl->toplevel);