pidgin/gtkthemes.c

changeset 24588
b2c89babe134
parent 22655
718f1149a81c
child 25888
d0fdd378a635
--- a/pidgin/gtkthemes.c	Mon Nov 03 20:36:38 2008 +0000
+++ b/pidgin/gtkthemes.c	Wed Nov 05 23:24:01 2008 +0000
@@ -169,6 +169,12 @@
 	for (wer = theme->list; wer != NULL; wer = theme->list) {
 		while (wer->smileys) {
 			GtkIMHtmlSmiley *uio = wer->smileys->data;
+			
+			if (uio->imhtml) {
+				g_signal_handlers_disconnect_matched(uio->imhtml, G_SIGNAL_MATCH_DATA,
+					0, 0, NULL, NULL, uio);
+			}
+				
 			if (uio->icon)
 				g_object_unref(uio->icon);
 			if (g_hash_table_lookup(already_freed, uio->file) == NULL) {

mercurial