aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-23 19:23:18 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-24 17:29:28 +0800
commitc71c43c5756061e2e3d877aa47078140b518e3fa (patch)
tree85c17f99a204698d9f88ebf349b27fa5486b2f61 /libempathy
parentd2d137673a575a54d51a1501d243f852e6723ab2 (diff)
downloadgsoc2013-empathy-c71c43c5756061e2e3d877aa47078140b518e3fa.tar
gsoc2013-empathy-c71c43c5756061e2e3d877aa47078140b518e3fa.tar.gz
gsoc2013-empathy-c71c43c5756061e2e3d877aa47078140b518e3fa.tar.bz2
gsoc2013-empathy-c71c43c5756061e2e3d877aa47078140b518e3fa.tar.lz
gsoc2013-empathy-c71c43c5756061e2e3d877aa47078140b518e3fa.tar.xz
gsoc2013-empathy-c71c43c5756061e2e3d877aa47078140b518e3fa.tar.zst
gsoc2013-empathy-c71c43c5756061e2e3d877aa47078140b518e3fa.zip
Make empathy_contact_load_avatar_cache() private
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-contact.c10
-rw-r--r--libempathy/empathy-contact.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index 718274a59..7b7b55c1b 100644
--- a/libempathy/empathy-contact.c
+++ b/libempathy/empathy-contact.c
@@ -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;
diff --git a/libempathy/empathy-contact.h b/libempathy/empathy-contact.h
index 1117d7f82..b6d5753d7 100644
--- a/libempathy/empathy-contact.h
+++ b/libempathy/empathy-contact.h
@@ -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 ())