diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-07-05 20:08:11 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-07-05 20:08:11 +0800 |
commit | 2d517a8bf5f8048a83d753fb0977d4949cbdeb7a (patch) | |
tree | 25d62bcf07ac413d974b3c5f701ebf3b67e2c40f /libempathy-gtk/empathy-theme-adium.c | |
parent | ddcb104dfa874375ea17cac4de2f273af7327fc4 (diff) | |
download | gsoc2013-empathy-2d517a8bf5f8048a83d753fb0977d4949cbdeb7a.tar gsoc2013-empathy-2d517a8bf5f8048a83d753fb0977d4949cbdeb7a.tar.gz gsoc2013-empathy-2d517a8bf5f8048a83d753fb0977d4949cbdeb7a.tar.bz2 gsoc2013-empathy-2d517a8bf5f8048a83d753fb0977d4949cbdeb7a.tar.lz gsoc2013-empathy-2d517a8bf5f8048a83d753fb0977d4949cbdeb7a.tar.xz gsoc2013-empathy-2d517a8bf5f8048a83d753fb0977d4949cbdeb7a.tar.zst gsoc2013-empathy-2d517a8bf5f8048a83d753fb0977d4949cbdeb7a.zip |
Remove usage of McProfiles
Diffstat (limited to 'libempathy-gtk/empathy-theme-adium.c')
-rw-r--r-- | libempathy-gtk/empathy-theme-adium.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c index 1f1b3b06d..ca0599e0e 100644 --- a/libempathy-gtk/empathy-theme-adium.c +++ b/libempathy-gtk/empathy-theme-adium.c @@ -348,7 +348,6 @@ theme_adium_append_html (EmpathyThemeAdium *theme, } else if (theme_adium_match (&cur, "%time")) { gchar *format = NULL; gchar *end; - /* Time can be in 2 formats: * %time% or %time{strftime format}% * Extract the time format if provided. */ @@ -393,7 +392,6 @@ theme_adium_append_message (EmpathyChatView *view, EmpathyThemeAdiumPriv *priv = GET_PRIV (theme); EmpathyContact *sender; EmpathyAccount *account; - McProfile *account_profile; gchar *dup_body = NULL; const gchar *body; const gchar *name; @@ -416,8 +414,7 @@ theme_adium_append_message (EmpathyChatView *view, /* Get information */ sender = empathy_message_get_sender (msg); account = empathy_contact_get_account (sender); - account_profile = empathy_account_get_profile (account); - service_name = mc_profile_get_display_name (account_profile); + service_name = empathy_account_get_protocol (account); timestamp = empathy_message_get_timestamp (msg); body = empathy_message_get_body (msg); dup_body = theme_adium_parse_body (theme, body); |