aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2008-07-16 22:45:29 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-06-12 00:06:28 +0800
commitbd603ce6e5945ed1d06e550c928fc2ed21da3d88 (patch)
treee2166ed0ca934d030e0bc6f9f66b9caac31349b0 /libempathy/empathy-contact.c
parent8ae92f733e7177326ca24b80307b4c3ffcde94d5 (diff)
downloadgsoc2013-empathy-bd603ce6e5945ed1d06e550c928fc2ed21da3d88.tar
gsoc2013-empathy-bd603ce6e5945ed1d06e550c928fc2ed21da3d88.tar.gz
gsoc2013-empathy-bd603ce6e5945ed1d06e550c928fc2ed21da3d88.tar.bz2
gsoc2013-empathy-bd603ce6e5945ed1d06e550c928fc2ed21da3d88.tar.lz
gsoc2013-empathy-bd603ce6e5945ed1d06e550c928fc2ed21da3d88.tar.xz
gsoc2013-empathy-bd603ce6e5945ed1d06e550c928fc2ed21da3d88.tar.zst
gsoc2013-empathy-bd603ce6e5945ed1d06e550c928fc2ed21da3d88.zip
Add initial adium theme support: Load the template and append messages.
Diffstat (limited to 'libempathy/empathy-contact.c')
-rw-r--r--libempathy/empathy-contact.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index 01087c19d..6800c8e30 100644
--- a/libempathy/empathy-contact.c
+++ b/libempathy/empathy-contact.c
@@ -938,6 +938,18 @@ empathy_contact_load_avatar_cache (EmpathyContact *contact,
return data != NULL;
}
+gchar *
+empathy_contact_get_avatar_filename (EmpathyContact *contact)
+{
+ EmpathyContactPriv *priv = GET_PRIV (contact);
+
+ if (priv->avatar)
+ return contact_get_avatar_filename (contact, priv->avatar->token);
+
+ return NULL;
+}
+
+
GType
empathy_avatar_get_type (void)
{