changeset 19682:c35e8c057441

Fix a crash in window-placement.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 10 Sep 2007 04:45:36 +0000
parents 44b4e8bd759b
children d9bec6786a0c
files pidgin/gtkconv.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Sat Sep 08 03:09:35 2007 +0000
+++ b/pidgin/gtkconv.c	Mon Sep 10 04:45:36 2007 +0000
@@ -9026,6 +9026,9 @@
 
 	win->gtkconvs = g_list_remove(win->gtkconvs, gtkconv);
 
+	g_signal_handlers_disconnect_matched(win->window, G_SIGNAL_MATCH_DATA,
+			0, 0, NULL, NULL, gtkconv);
+
 	if (win->gtkconvs && win->gtkconvs->next == NULL)
 		pidgin_conv_tab_pack(win, win->gtkconvs->data);