diff options
author | Jonny Lamb <jonnylamb@gnome.org> | 2009-10-24 22:57:31 +0800 |
---|---|---|
committer | Jonny Lamb <jonnylamb@gnome.org> | 2009-10-24 22:57:31 +0800 |
commit | f4619e5b640b2f6c05ded981042da44aa5e4d29c (patch) | |
tree | 9a8508c73d1f7bb9e25c581d5432809b56d67054 /src/empathy-account-assistant.c | |
parent | d23b04b4fce73fe16b5073b7d79c0ca8a9d64616 (diff) | |
download | gsoc2013-empathy-f4619e5b640b2f6c05ded981042da44aa5e4d29c.tar gsoc2013-empathy-f4619e5b640b2f6c05ded981042da44aa5e4d29c.tar.gz gsoc2013-empathy-f4619e5b640b2f6c05ded981042da44aa5e4d29c.tar.bz2 gsoc2013-empathy-f4619e5b640b2f6c05ded981042da44aa5e4d29c.tar.lz gsoc2013-empathy-f4619e5b640b2f6c05ded981042da44aa5e4d29c.tar.xz gsoc2013-empathy-f4619e5b640b2f6c05ded981042da44aa5e4d29c.tar.zst gsoc2013-empathy-f4619e5b640b2f6c05ded981042da44aa5e4d29c.zip |
account-assistant: port to new tp-glib account API
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
Diffstat (limited to 'src/empathy-account-assistant.c')
-rw-r--r-- | src/empathy-account-assistant.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c index d9834f38b..08cf025d3 100644 --- a/src/empathy-account-assistant.c +++ b/src/empathy-account-assistant.c @@ -225,7 +225,7 @@ account_assistant_account_enabled_cb (GObject *source, EmpathyAccountAssistant *self = user_data; EmpathyAccountAssistantPriv *priv = GET_PRIV (self); - empathy_account_set_enabled_finish (EMPATHY_ACCOUNT (source), + tp_account_set_enabled_finish (TP_ACCOUNT (source), result, &error); if (error) @@ -249,7 +249,7 @@ account_assistant_apply_account_cb (GObject *source, EmpathyAccountAssistant *self = user_data; EmpathyAccountAssistantPriv *priv = GET_PRIV (self); EmpathyAccountSettings *settings = EMPATHY_ACCOUNT_SETTINGS (source); - EmpathyAccount *account; + TpAccount *account; empathy_account_settings_apply_finish (settings, result, &error); @@ -265,7 +265,7 @@ account_assistant_apply_account_cb (GObject *source, /* enable the newly created account */ account = empathy_account_settings_get_account (settings); - empathy_account_set_enabled_async (account, TRUE, + tp_account_set_enabled_async (account, TRUE, account_assistant_account_enabled_cb, self); } |