changeset 32609:7ae844fd208f

Don't attempt to add smileys to a webview by treating it as imhtml.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 11 Sep 2011 04:50:52 +0000
parents 3f9b670cba14
children 62c34bc73f18
files pidgin/gtkconv.c
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Fri Sep 09 07:00:03 2011 +0000
+++ b/pidgin/gtkconv.c	Sun Sep 11 04:50:52 2011 +0000
@@ -6308,6 +6308,13 @@
 }
 
 static gboolean
+add_custom_smiley_for_webview(GtkWebView *webview, const char *sml, const char *smile)
+{
+	/* FIXME: Smileys need to be added to webkit stuff */
+	return TRUE;
+}
+
+static gboolean
 pidgin_conv_custom_smiley_add(PurpleConversation *conv, const char *smile, gboolean remote)
 {
 	PidginConversation *gtkconv;
@@ -6334,7 +6341,7 @@
 		}
 	}
 
-	if (!add_custom_smiley_for_imhtml(GTK_IMHTML(gtkconv->webview), sml, smile))
+	if (!add_custom_smiley_for_webview(GTK_WEBVIEW(gtkconv->webview), sml, smile))
 		return FALSE;
 
 	if (!remote)	/* If it's a local custom smiley, then add it for the entry */