forked from AuroraMiddleware/gtk
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