From 74bba154cc8476d831140e27148d4897633e2d18 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Sun, 23 Aug 2009 22:52:40 +0100 Subject: When empathy_account_settings_apply_finish returns false the error is always set --- src/empathy-import-mc4-accounts.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/empathy-import-mc4-accounts.c b/src/empathy-import-mc4-accounts.c index c4ceb2f4b..a7a08ea84 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; } -- cgit v1.2.3