changeset 135:cae8d5dd24d0

disconnect displaying_im_cb when unload.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 22 Jul 2008 20:00:03 +0900
parents 9e80267fe566
children e67b0231ba56
files pidgin-twitter.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin-twitter.c	Tue Jul 22 18:44:09 2008 +0900
+++ b/pidgin-twitter.c	Tue Jul 22 20:00:03 2008 +0900
@@ -2314,6 +2314,9 @@
                              "conversation-created",
                              plugin, PURPLE_CALLBACK(conv_created_cb));
     purple_signal_disconnect(pidgin_conversations_get_handle(),
+                             "displaying-im-msg",
+                             plugin, PURPLE_CALLBACK(displaying_im_cb));
+    purple_signal_disconnect(pidgin_conversations_get_handle(),
                              "displayed-im-msg",
                              plugin, PURPLE_CALLBACK(displayed_im_cb));
     purple_signal_disconnect(purple_conversations_get_handle(),