aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-status-icon.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-09-19 18:18:44 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-09-19 18:18:44 +0800
commit6670167794afb834c87fa7bae7286567b7a84cb3 (patch)
treeeabbae5536c4d90a12579ec145582332722c7d40 /src/empathy-status-icon.c
parente832dfa825bd284600ffa28d2a9180d96c7024a5 (diff)
downloadgsoc2013-empathy-6670167794afb834c87fa7bae7286567b7a84cb3.tar
gsoc2013-empathy-6670167794afb834c87fa7bae7286567b7a84cb3.tar.gz
gsoc2013-empathy-6670167794afb834c87fa7bae7286567b7a84cb3.tar.bz2
gsoc2013-empathy-6670167794afb834c87fa7bae7286567b7a84cb3.tar.lz
gsoc2013-empathy-6670167794afb834c87fa7bae7286567b7a84cb3.tar.xz
gsoc2013-empathy-6670167794afb834c87fa7bae7286567b7a84cb3.tar.zst
gsoc2013-empathy-6670167794afb834c87fa7bae7286567b7a84cb3.zip
Use tp_proxy_prepare_async instead of tp_account_manager_prepare_async
Diffstat (limited to 'src/empathy-status-icon.c')
-rw-r--r--src/empathy-status-icon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c
index 008ea4701..d6f5b2e46 100644
--- a/src/empathy-status-icon.c
+++ b/src/empathy-status-icon.c
@@ -437,7 +437,7 @@ account_manager_prepared_cb (GObject *source_object,
EmpathyStatusIcon *icon = user_data;
GError *error = NULL;
- if (!tp_account_manager_prepare_finish (account_manager, result, &error)) {
+ if (!tp_proxy_prepare_finish (account_manager, result, &error)) {
DEBUG ("Failed to prepare account manager: %s", error->message);
g_error_free (error);
return;
@@ -465,7 +465,7 @@ empathy_status_icon_init (EmpathyStatusIcon *icon)
priv->account_manager = tp_account_manager_dup ();
priv->event_manager = empathy_event_manager_dup_singleton ();
- tp_account_manager_prepare_async (priv->account_manager, NULL,
+ tp_proxy_prepare_async (priv->account_manager, NULL,
account_manager_prepared_cb, icon);
/* make icon listen and respond to MAIN_WINDOW_HIDDEN changes */