This is an automated email from the git hooks/post-receive script.

alex pushed a 
commit to branch 
master
in repository xfce/thunar.

commit 50501bf48730d140b697efd96bdc6ab64a9984f2
Author: Theo Linkspfeifer <lastonestand...@tutanota.com>
Date:   Sun Mar 22 18:24:02 2020 +0100

    Unregister handler when Rename dialog is closed manually (followup of
    Bug #10805)
---
 thunar/thunar-dialogs.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/thunar/thunar-dialogs.c b/thunar/thunar-dialogs.c
index 94eb281..78850ed 100644
--- a/thunar/thunar-dialogs.c
+++ b/thunar/thunar-dialogs.c
@@ -197,7 +197,12 @@ thunar_dialogs_show_rename_file (gpointer    parent,
 
   /* cleanup */
   if (G_LIKELY (response != GTK_RESPONSE_NONE))
-    gtk_widget_destroy (dialog);
+    {
+      /* unregister handler */
+      g_signal_handlers_disconnect_by_func (G_OBJECT (file), 
gtk_widget_destroy, dialog);
+
+      gtk_widget_destroy (dialog);
+    }
 
   return job;
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to