diff pidgin/gtkthemes.c @ 24368:9ea84135db24

Remove that hack involving GtkIMHtmlSmileys Thanks to Sadrul for hinting about the solution
author Marcus Lundblad <ml@update.uu.se>
date Wed, 05 Nov 2008 23:24:01 +0000
parents 019052a807a3
children 584063555949
line wrap: on
line diff
--- 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) {