diff options
author | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2010-10-08 10:06:14 +0800 |
---|---|---|
committer | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2010-10-08 10:06:14 +0800 |
commit | 99651e27bfe1dd1be31db6119f2cbd8686a905d0 (patch) | |
tree | bd4188c89dffe3333bb577d8c0e73bef5d9a7a4e /libempathy | |
parent | aaebc7e2323b89aa577d7d724257522fd0407d3f (diff) | |
download | gsoc2013-empathy-99651e27bfe1dd1be31db6119f2cbd8686a905d0.tar gsoc2013-empathy-99651e27bfe1dd1be31db6119f2cbd8686a905d0.tar.gz gsoc2013-empathy-99651e27bfe1dd1be31db6119f2cbd8686a905d0.tar.bz2 gsoc2013-empathy-99651e27bfe1dd1be31db6119f2cbd8686a905d0.tar.lz gsoc2013-empathy-99651e27bfe1dd1be31db6119f2cbd8686a905d0.tar.xz gsoc2013-empathy-99651e27bfe1dd1be31db6119f2cbd8686a905d0.tar.zst gsoc2013-empathy-99651e27bfe1dd1be31db6119f2cbd8686a905d0.zip |
Access Account.I.Storage properties via TpAccount
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-account-settings.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c index 29ff3f1b7..06e6ccd19 100644 --- a/libempathy/empathy-account-settings.c +++ b/libempathy/empathy-account-settings.c @@ -210,7 +210,12 @@ empathy_account_settings_constructed (GObject *object) if (!priv->ready) { - tp_account_prepare_async (priv->account, NULL, + GQuark features[] = { + TP_ACCOUNT_FEATURE_CORE, + TP_ACCOUNT_FEATURE_STORAGE, + 0 }; + + tp_proxy_prepare_async (priv->account, features, empathy_account_settings_account_ready_cb, self); tp_g_signal_connect_object (priv->managers, "notify::ready", G_CALLBACK (empathy_account_settings_managers_ready_cb), object, 0); @@ -436,7 +441,7 @@ empathy_account_settings_account_ready_cb (GObject *source_object, TpAccount *account = TP_ACCOUNT (source_object); GError *error = NULL; - if (!tp_account_prepare_finish (account, result, &error)) + if (!tp_proxy_prepare_finish (account, result, &error)) { DEBUG ("Failed to prepare account: %s", error->message); g_error_free (error); |