forked from AuroraMiddleware/gtk
print portal: don't leak window handles
Pointed out by Christian Persch. Closes https://gitlab.gnome.org/GNOME/gtk/issues/1274
This commit is contained in:
parent
3c2aceba63
commit
79b87cc543
@ -62,6 +62,8 @@ portal_data_free (gpointer data)
|
||||
{
|
||||
PortalData *portal = data;
|
||||
|
||||
if (portal->parent)
|
||||
gtk_window_unexport_handle (portal->parent);
|
||||
g_object_unref (portal->op);
|
||||
g_object_unref (portal->proxy);
|
||||
if (portal->loop)
|
||||
|
Loading…
Reference in New Issue
Block a user