[empathy/mc5] When empathy_account_settings_apply_finish returns false the error is always set
- From: Sjoerd Simons <sjoerds src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy/mc5] When empathy_account_settings_apply_finish returns false the error is always set
- Date: Sun, 23 Aug 2009 22:21:58 +0000 (UTC)
commit 74bba154cc8476d831140e27148d4897633e2d18
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date: Sun Aug 23 22:52:40 2009 +0100
When empathy_account_settings_apply_finish returns false the error is always set
src/empathy-import-mc4-accounts.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-import-mc4-accounts.c b/src/empathy-import-mc4-accounts.c
index c4ceb2f..a7a08ea 100644
--- a/src/empathy-import-mc4-accounts.c
+++ b/src/empathy-import-mc4-accounts.c
@@ -222,8 +222,7 @@ _create_account_cb (GObject *source,
if (!empathy_account_settings_apply_finish (
EMPATHY_ACCOUNT_SETTINGS (source), result, &error))
{
- DEBUG ("Failed to create account: %s",
- error ? error->message : "No error given");
+ DEBUG ("Failed to create account: %s", error->message);
g_error_free (error);
goto out;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]