[empathy/mc5] Port to new API
- From: Sjoerd Simons <sjoerds src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy/mc5] Port to new API
- Date: Sat, 22 Aug 2009 18:53:13 +0000 (UTC)
commit 85883a63be4daae817ed194ba6fa014266d27c09
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Aug 6 21:13:31 2009 +0200
Port to new API
src/empathy-accounts-dialog.c | 2 +-
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 8b89667..391c42b 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 15672c8..650129e 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]