aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonny Lamb <jonnylamb@gnome.org>2009-10-24 22:56:57 +0800
committerJonny Lamb <jonnylamb@gnome.org>2009-10-24 22:56:57 +0800
commit613e2bef219387d3089c3c583ae2047fc37f30e7 (patch)
tree1eaacb3ce077abe955420a5689fff73738ef3679
parent7a3e1db6e3a795a3bbf85c9d2489c43a9e6537e2 (diff)
downloadgsoc2013-empathy-613e2bef219387d3089c3c583ae2047fc37f30e7.tar
gsoc2013-empathy-613e2bef219387d3089c3c583ae2047fc37f30e7.tar.gz
gsoc2013-empathy-613e2bef219387d3089c3c583ae2047fc37f30e7.tar.bz2
gsoc2013-empathy-613e2bef219387d3089c3c583ae2047fc37f30e7.tar.lz
gsoc2013-empathy-613e2bef219387d3089c3c583ae2047fc37f30e7.tar.xz
gsoc2013-empathy-613e2bef219387d3089c3c583ae2047fc37f30e7.tar.zst
gsoc2013-empathy-613e2bef219387d3089c3c583ae2047fc37f30e7.zip
theme-adium: port to new tp-glib account API
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
-rw-r--r--libempathy-gtk/empathy-theme-adium.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c
index 35c216d68..0827e2aea 100644
--- a/libempathy-gtk/empathy-theme-adium.c
+++ b/libempathy-gtk/empathy-theme-adium.c
@@ -433,7 +433,7 @@ theme_adium_append_message (EmpathyChatView *view,
EmpathyThemeAdium *theme = EMPATHY_THEME_ADIUM (view);
EmpathyThemeAdiumPriv *priv = GET_PRIV (theme);
EmpathyContact *sender;
- EmpathyAccount *account;
+ TpAccount *account;
gchar *dup_body = NULL;
const gchar *body;
const gchar *name;
@@ -459,9 +459,9 @@ theme_adium_append_message (EmpathyChatView *view,
sender = empathy_message_get_sender (msg);
account = empathy_contact_get_account (sender);
service_name = empathy_protocol_name_to_display_name
- (empathy_account_get_protocol (account));
+ (tp_account_get_protocol (account));
if (service_name == NULL)
- service_name = empathy_account_get_protocol (account);
+ service_name = tp_account_get_protocol (account);
timestamp = empathy_message_get_timestamp (msg);
body = empathy_message_get_body (msg);
dup_body = theme_adium_parse_body (theme, body);