From c9b74c0e4891a12133aab46312b6038c3a2d0047 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 16 Jul 2008 20:05:08 +0200 Subject: Add the filename in EmpathyAvatar and fallback to stock_person --- libempathy/empathy-contact.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libempathy/empathy-contact.h') 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); -- cgit v1.2.3