[gimp] Set handler variables to NULL after disconnecting them
- From: Michael Natterer <mitch src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] Set handler variables to NULL after disconnecting them
- Date: Tue, 4 Aug 2009 20:44:17 +0000 (UTC)
commit 1b806e5fb60ede5a9d7b53e5d79e1c8fb732f930
Author: Michael Natterer <mitch gimp org>
Date: Tue Aug 4 22:43:53 2009 +0200
Set handler variables to NULL after disconnecting them
app/display/gimpdisplayshell-handlers.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-handlers.c b/app/display/gimpdisplayshell-handlers.c
index 20467fc..8e572f8 100644
--- a/app/display/gimpdisplayshell-handlers.c
+++ b/app/display/gimpdisplayshell-handlers.c
@@ -321,8 +321,13 @@ gimp_display_shell_disconnect (GimpDisplayShell *shell)
shell);
gimp_tree_handler_disconnect (shell->vectors_visible_handler);
+ shell->vectors_visible_handler = NULL;
+
gimp_tree_handler_disconnect (shell->vectors_thaw_handler);
+ shell->vectors_thaw_handler = NULL;
+
gimp_tree_handler_disconnect (shell->vectors_freeze_handler);
+ shell->vectors_freeze_handler = NULL;
g_signal_handlers_disconnect_by_func (image,
gimp_display_shell_profile_changed_handler,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]