From 0751b2d498a4fedde128f9a55bcb89d859794ee3 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 16 Jul 2012 11:10:57 +0200 Subject: Use new tp_account_* getters --- libempathy/empathy-account-settings.c | 4 ++-- libempathy/empathy-contact.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libempathy') diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c index e32e085b7..6a588a955 100644 --- a/libempathy/empathy-account-settings.c +++ b/libempathy/empathy-account-settings.c @@ -228,9 +228,9 @@ empathy_account_settings_constructed (GObject *object) g_free (priv->service); priv->cm_name = - g_strdup (tp_account_get_connection_manager (priv->account)); + g_strdup (tp_account_get_cm_name (priv->account)); priv->protocol = - g_strdup (tp_account_get_protocol (priv->account)); + g_strdup (tp_account_get_protocol_name (priv->account)); priv->service = g_strdup (tp_account_get_service (priv->account)); priv->icon_name = g_strdup diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index 960040d44..779d19a19 100644 --- a/libempathy/empathy-contact.c +++ b/libempathy/empathy-contact.c @@ -1351,8 +1351,8 @@ contact_get_avatar_filename (EmpathyContact *contact, avatar_path = g_build_filename (g_get_user_cache_dir (), "telepathy", "avatars", - tp_account_get_connection_manager (account), - tp_account_get_protocol (account), + tp_account_get_cm_name (account), + tp_account_get_protocol_name (account), NULL); g_mkdir_with_parents (avatar_path, 0700); -- cgit v1.2.3