diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2009-08-07 03:13:31 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-08-22 21:21:07 +0800 |
commit | 85883a63be4daae817ed194ba6fa014266d27c09 (patch) | |
tree | 124f735e4f857878021aa81f5f4f16ca3a0c3b5a | |
parent | 23d4544855656cfdc9cf65ed94801191002e86ce (diff) | |
download | gsoc2013-empathy-85883a63be4daae817ed194ba6fa014266d27c09.tar gsoc2013-empathy-85883a63be4daae817ed194ba6fa014266d27c09.tar.gz gsoc2013-empathy-85883a63be4daae817ed194ba6fa014266d27c09.tar.bz2 gsoc2013-empathy-85883a63be4daae817ed194ba6fa014266d27c09.tar.lz gsoc2013-empathy-85883a63be4daae817ed194ba6fa014266d27c09.tar.xz gsoc2013-empathy-85883a63be4daae817ed194ba6fa014266d27c09.tar.zst gsoc2013-empathy-85883a63be4daae817ed194ba6fa014266d27c09.zip |
Port to new API
-rw-r--r-- | src/empathy-accounts-dialog.c | 2 | ||||
-rw-r--r-- | src/empathy.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c index 8b896676d..391c42b6d 100644 --- a/src/empathy-accounts-dialog.c +++ b/src/empathy-accounts-dialog.c @@ -446,7 +446,7 @@ accounts_dialog_enable_toggled_cb (GtkCellRendererToggle *cell_renderer, return; enabled = empathy_account_is_enabled (account); - empathy_account_set_enabled (account, !enabled); + empathy_account_set_enabled_async (account, !enabled, NULL, NULL); DEBUG ("%s account %s", enabled ? "Disabled" : "Enable", empathy_account_get_display_name (account)); diff --git a/src/empathy.c b/src/empathy.c index 15672c8df..650129ebb 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -216,7 +216,7 @@ salut_account_created (GObject *source, account = empathy_account_settings_get_account (settings); - empathy_account_set_enabled (account, TRUE); + empathy_account_set_enabled_async (account, TRUE, NULL, NULL); empathy_conf_set_bool (empathy_conf_get (), EMPATHY_PREFS_SALUT_ACCOUNT_CREATED, TRUE); |