summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/gtkprintoperation-portal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkprintoperation-portal.c b/gtk/gtkprintoperation-portal.c
index a6683fd212..ded550262b 100644
--- a/gtk/gtkprintoperation-portal.c
+++ b/gtk/gtkprintoperation-portal.c
@@ -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)