summaryrefslogtreecommitdiffstats
path: root/app/dialogs/quit-dialog.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-08 08:16:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-08 08:16:47 +0000
commit839c46e19ac4aa00b619a185ad48ee977162ef2c (patch)
tree01f1e79a4e164244941361adb0cf062098537f12 /app/dialogs/quit-dialog.c
parentAdding debian version 2.10.36-3. (diff)
downloadgimp-839c46e19ac4aa00b619a185ad48ee977162ef2c.tar.xz
gimp-839c46e19ac4aa00b619a185ad48ee977162ef2c.zip
Merging upstream version 2.10.38.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'app/dialogs/quit-dialog.c')
-rw-r--r--app/dialogs/quit-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/dialogs/quit-dialog.c b/app/dialogs/quit-dialog.c
index 11737f9..435ea49 100644
--- a/app/dialogs/quit-dialog.c
+++ b/app/dialogs/quit-dialog.c
@@ -273,7 +273,7 @@ quit_close_all_dialog_new (Gimp *gimp,
closure = g_cclosure_new (G_CALLBACK (quit_close_all_dialog_container_changed),
private, NULL);
- g_object_watch_closure (G_OBJECT (private->dialog), closure);
+ g_signal_connect_swapped (private->dialog, "destroy", G_CALLBACK (g_closure_invalidate), closure);
g_signal_connect_closure (private->images, "add", closure, FALSE);
g_signal_connect_closure (private->images, "remove", closure, FALSE);