aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2008-07-17 02:05:08 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-06-12 00:06:28 +0800
commitc9b74c0e4891a12133aab46312b6038c3a2d0047 (patch)
tree8c258e236a86d34eff9746beec398f9ae29ce3b4 /libempathy/empathy-contact.h
parent250c6aaadcfd00470f670bc6bf4b1098c1640179 (diff)
downloadgsoc2013-empathy-c9b74c0e4891a12133aab46312b6038c3a2d0047.tar
gsoc2013-empathy-c9b74c0e4891a12133aab46312b6038c3a2d0047.tar.gz
gsoc2013-empathy-c9b74c0e4891a12133aab46312b6038c3a2d0047.tar.bz2
gsoc2013-empathy-c9b74c0e4891a12133aab46312b6038c3a2d0047.tar.lz
gsoc2013-empathy-c9b74c0e4891a12133aab46312b6038c3a2d0047.tar.xz
gsoc2013-empathy-c9b74c0e4891a12133aab46312b6038c3a2d0047.tar.zst
gsoc2013-empathy-c9b74c0e4891a12133aab46312b6038c3a2d0047.zip
Add the filename in EmpathyAvatar and fallback to stock_person
Diffstat (limited to 'libempathy/empathy-contact.h')
-rw-r--r--libempathy/empathy-contact.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libempathy/empathy-contact.h b/libempathy/empathy-contact.h
index 0d02dabc2..f4418768e 100644
--- a/libempathy/empathy-contact.h
+++ b/libempathy/empathy-contact.h
@@ -55,6 +55,7 @@ typedef struct {
gsize len;
gchar *format;
gchar *token;
+ gchar *filename;
guint refcount;
} EmpathyAvatar;
@@ -107,7 +108,6 @@ void empathy_contact_load_avatar_data (EmpathyContact *contact,
const gchar *token);
gboolean empathy_contact_load_avatar_cache (EmpathyContact *contact,
const gchar *token);
-gchar * empathy_contact_get_avatar_filename (EmpathyContact *contact);
#define EMPATHY_TYPE_AVATAR (empathy_avatar_get_type ())
@@ -115,7 +115,8 @@ GType empathy_avatar_get_type (void) G_GNUC_CONST;
EmpathyAvatar * empathy_avatar_new (guchar *data,
gsize len,
gchar *format,
- gchar *token);
+ gchar *token,
+ gchar *filename);
EmpathyAvatar * empathy_avatar_ref (EmpathyAvatar *avatar);
void empathy_avatar_unref (EmpathyAvatar *avatar);