diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-09-26 17:57:56 +0100 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-09-26 17:57:56 +0100 |
commit | da919b868a8892df8bfa7ff3759a594d959eeec5 (patch) | |
tree | b8e228d75cd4abc33b9da5aaa149f498897d408f /telepathy-glib/account.c | |
parent | b7b9fb9081b1304e359f63cd06c2f0794c542626 (diff) | |
download | telepathy-glib-da919b868a8892df8bfa7ff3759a594d959eeec5.tar.gz |
account: re-add _refresh_properties internally and call in the AM
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'telepathy-glib/account.c')
-rw-r--r-- | telepathy-glib/account.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/telepathy-glib/account.c b/telepathy-glib/account.c index 7ad2c43ff..c682c923d 100644 --- a/telepathy-glib/account.c +++ b/telepathy-glib/account.c @@ -2760,3 +2760,21 @@ free_segments_and_fail: g_strfreev (segments); return FALSE; } + +/** + * _tp_account_refresh_properties: + * @account: a #TpAccount + * + * Refreshes @account's hashtable of properties with what actually exists on + * the account manager. + * + * Since: 0.7.UNRELEASED + */ +void +_tp_account_refresh_properties (TpAccount *account) +{ + g_return_if_fail (TP_IS_ACCOUNT (account)); + + tp_cli_dbus_properties_call_get_all (account, -1, TP_IFACE_ACCOUNT, + _tp_account_got_all_cb, NULL, NULL, G_OBJECT (account)); +} |