]> git.0d.be Git - empathy.git/commitdiff
Make empathy_contact_load_avatar_cache() private
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Mon, 23 Aug 2010 11:23:18 +0000 (12:23 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Tue, 24 Aug 2010 09:29:28 +0000 (10:29 +0100)
libempathy/empathy-contact.c
libempathy/empathy-contact.h

index 718274a598efcba49c9401362e97f1e4fb71155b..7b7b55c1bb2d32cf415fa19851f86254868f417b 100644 (file)
@@ -88,6 +88,8 @@ static void set_capabilities_from_tp_caps (EmpathyContact *self,
 static void contact_set_avatar (EmpathyContact *contact,
     EmpathyAvatar *avatar);
 static void contact_set_avatar_from_tp_contact (EmpathyContact *contact);
+static gboolean contact_load_avatar_cache (EmpathyContact *contact,
+    const gchar *token);
 
 G_DEFINE_TYPE (EmpathyContact, empathy_contact, G_TYPE_OBJECT);
 
@@ -530,7 +532,7 @@ empathy_contact_from_tpl_contact (TpAccount *account,
       NULL);
 
   if (!EMP_STR_EMPTY (tpl_entity_get_avatar_token (tpl_entity)))
-    empathy_contact_load_avatar_cache (retval,
+    contact_load_avatar_cache (retval,
         tpl_entity_get_avatar_token (tpl_entity));
 
   return retval;
@@ -1168,9 +1170,9 @@ contact_get_avatar_filename (EmpathyContact *contact,
   return avatar_file;
 }
 
-gboolean
-empathy_contact_load_avatar_cache (EmpathyContact *contact,
-                                   const gchar *token)
+static gboolean
+contact_load_avatar_cache (EmpathyContact *contact,
+                           const gchar *token)
 {
   EmpathyAvatar *avatar = NULL;
   gchar *filename;
index 1117d7f82a0da3a402b01d2b739b46868e0b727e..b6d5753d7ddf46715f6aee8e04f356dfb25f51e6 100644 (file)
@@ -109,8 +109,6 @@ gboolean empathy_contact_can_voip_audio (EmpathyContact *contact);
 gboolean empathy_contact_can_voip_video (EmpathyContact *contact);
 gboolean empathy_contact_can_send_files (EmpathyContact *contact);
 gboolean empathy_contact_can_use_rfb_stream_tube (EmpathyContact *contact);
-gboolean empathy_contact_load_avatar_cache (EmpathyContact *contact,
-    const gchar *token);
 
 
 #define EMPATHY_TYPE_AVATAR (empathy_avatar_get_type ())