changeset 32155:6eb0a2a860b3

Workaround the bug that causes a crash when closing a gtkwindow. This bug was caused by some data corruption when using the webview as a GtkIMHtml in the smile themes code.
author masca@cpw.pidgin.im
date Fri, 16 Sep 2011 04:49:17 +0000
parents 20dfcc9aa471
children d478be29444a
files pidgin/gtkthemes.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkthemes.c	Thu Sep 15 22:22:11 2011 +0000
+++ b/pidgin/gtkthemes.c	Fri Sep 16 04:49:17 2011 +0000
@@ -122,6 +122,8 @@
 
 static void _pidgin_themes_smiley_themeize(GtkWidget *imhtml, gboolean custom)
 {
+	/* FIXME: move imhtml dependency to use webview. */
+#if 0
 	struct smiley_list *list;
 	if (!current_smiley_theme)
 		return;
@@ -147,6 +149,7 @@
 
 		list = list->next;
 	}
+#endif
 }
 
 void pidgin_themes_smiley_themeize(GtkWidget *imhtml)