Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
32707:f75041cb3fec | 32708:10e5000326a5 |
---|---|
450 } else { | 450 } else { |
451 message_html = style->status_html; | 451 message_html = style->status_html; |
452 } | 452 } |
453 purple_conversation_set_data(conv, "webkit-lastflags", GINT_TO_POINTER(flags)); | 453 purple_conversation_set_data(conv, "webkit-lastflags", GINT_TO_POINTER(flags)); |
454 | 454 |
455 smileyed = smiley_parse_markup(stripped, purple_conversation_get_account(conv)->protocol_id); | 455 smileyed = smiley_parse_markup(stripped, purple_account_get_protocol_id(purple_conversation_get_account(conv))); |
456 msg = replace_message_tokens(message_html, conv, name, alias, smileyed, flags, mtime); | 456 msg = replace_message_tokens(message_html, conv, name, alias, smileyed, flags, mtime); |
457 escape = gtk_webview_quote_js_string(msg); | 457 escape = gtk_webview_quote_js_string(msg); |
458 script = g_strdup_printf("%s(%s)", func, escape); | 458 script = g_strdup_printf("%s(%s)", func, escape); |
459 | 459 |
460 purple_debug_info("webkit", "JS: %s\n", script); | 460 purple_debug_info("webkit", "JS: %s\n", script); |