[pkg-otr-team] [irssi-plugin-otr] 157/167: Cleanly (and properly) disconnect one signal on module unload

Holger Levsen holger at moszumanska.debian.org
Mon Mar 3 21:55:41 UTC 2014


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

holger pushed a commit to tag 4.0.0
in repository irssi-plugin-otr.

commit d8e206c5406a76d32ed62dc78f667f6b3406bc41
Author: Ian Goldberg <iang at cs.uwaterloo.ca>
Date:   Thu Aug 23 08:45:51 2012 -0400

    Cleanly (and properly) disconnect one signal on module unload
---
 gtk-dialog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gtk-dialog.c b/gtk-dialog.c
index 1047f8f..85d7223 100644
--- a/gtk-dialog.c
+++ b/gtk-dialog.c
@@ -3250,7 +3250,7 @@ static void otrg_gtk_dialog_cleanup(void)
 	    "deleting-conversation", otrg_plugin_handle,
 	    PURPLE_CALLBACK(conversation_destroyed));
 
-    purple_signal_disconnect(pidgin_conversations_get_handle(),
+    purple_signal_disconnect(purple_conversations_get_handle(),
 	    "received-im-msg", otrg_plugin_handle,
 	    PURPLE_CALLBACK(check_incoming_instance_change));
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-otr/packages/irssi-plugin-otr.git



More information about the Pkg-otr-team mailing list