mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-12 20:00:09 +00:00
Merge branch 'matthiasc/for-master' into 'master'
broadway: Be careful about destroyed surfaces See merge request GNOME/gtk!1917
This commit is contained in:
commit
bc75965053
@ -99,7 +99,8 @@ gdk_broadway_surface_finalize (GObject *object)
|
||||
static gboolean
|
||||
thaw_updates_cb (GdkSurface *surface)
|
||||
{
|
||||
gdk_surface_thaw_updates (surface);
|
||||
if (!GDK_SURFACE_DESTROYED (surface))
|
||||
gdk_surface_thaw_updates (surface);
|
||||
g_object_unref (surface);
|
||||
return G_SOURCE_REMOVE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user