# HG changeset patch # User Sadrul Habib Chowdhury # Date 1189399536 0 # Node ID c35e8c057441b9862a973bca3ab02cd0e6284a02 # Parent 44b4e8bd759bdc3895223adedf427b565d8bcbd6 Fix a crash in window-placement. diff -r 44b4e8bd759b -r c35e8c057441 pidgin/gtkconv.c --- 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);