mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
wayland/surface: Fix crash when unexporting
This is the exact same problem of 655c9dd526
.
This commit is contained in:
parent
febe128e72
commit
0e55f7a52f
@ -4184,9 +4184,12 @@ gdk_wayland_surface_unexport_handle (GdkSurface *surface)
|
||||
|
||||
g_clear_pointer (&impl->display_server.xdg_exported,
|
||||
zxdg_exported_v1_destroy);
|
||||
if (impl->exported.destroy_func)
|
||||
{
|
||||
g_clear_pointer (&impl->exported.user_data,
|
||||
impl->exported.destroy_func);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
unset_transient_for_exported (GdkSurface *surface)
|
||||
|
Loading…
Reference in New Issue
Block a user