--- a/src/gtkdialogs.c Mon Jan 17 06:44:19 2005 -0500
+++ b/src/gtkdialogs.c Mon Jan 17 21:12:29 2005 -0500
@@ -229,6 +229,7 @@
text = gtk_imhtml_new(NULL, NULL);
gtk_container_add(GTK_CONTAINER(sw), text);
+ gtk_imhtml_set_format_functions(GTK_IMHTML(text), GTK_IMHTML_ALL ^ GTK_IMHTML_SMILEY); str = g_string_sized_new(4096);
--- a/src/gtkimhtml.c Mon Jan 17 06:44:19 2005 -0500
+++ b/src/gtkimhtml.c Mon Jan 17 21:12:29 2005 -0500
@@ -3915,14 +3915,17 @@
GtkTextChildAnchor *anchor;
char *unescaped = gaim_unescape_html(smiley);
- annipixbuf = gtk_smiley_tree_image(imhtml, sml, unescaped);
- if(gdk_pixbuf_animation_is_static_image(annipixbuf)) {
- pixbuf = gdk_pixbuf_animation_get_static_image(annipixbuf);
- icon = gtk_image_new_from_pixbuf(pixbuf);
- icon = gtk_image_new_from_animation(annipixbuf);
+ if (imhtml->format_functions & GTK_IMHTML_SMILEY) + annipixbuf = gtk_smiley_tree_image(imhtml, sml, unescaped); + if(gdk_pixbuf_animation_is_static_image(annipixbuf)) { + pixbuf = gdk_pixbuf_animation_get_static_image(annipixbuf); + icon = gtk_image_new_from_pixbuf(pixbuf); + icon = gtk_image_new_from_animation(annipixbuf);