diff pidgin/plugins/adiumthemes/webkit.c @ 32708:10e5000326a5

Convert code to use the purple_account accessor functions.
author andrew.victor@mxit.com
date Sat, 01 Oct 2011 21:04:35 +0000
parents 78fae2fc38d5
children
line wrap: on
line diff
--- a/pidgin/plugins/adiumthemes/webkit.c	Sat Oct 01 18:21:43 2011 +0000
+++ b/pidgin/plugins/adiumthemes/webkit.c	Sat Oct 01 21:04:35 2011 +0000
@@ -452,7 +452,7 @@
 	}
 	purple_conversation_set_data(conv, "webkit-lastflags", GINT_TO_POINTER(flags));
 
-	smileyed = smiley_parse_markup(stripped, purple_conversation_get_account(conv)->protocol_id);
+	smileyed = smiley_parse_markup(stripped, purple_account_get_protocol_id(purple_conversation_get_account(conv)));
 	msg = replace_message_tokens(message_html, conv, name, alias, smileyed, flags, mtime);
 	escape = gtk_webview_quote_js_string(msg);
 	script = g_strdup_printf("%s(%s)", func, escape);