aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-24 05:52:40 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-24 06:18:49 +0800
commit74bba154cc8476d831140e27148d4897633e2d18 (patch)
tree3c214368629aacd8ce815a5a108b708c8e1706a7
parent05deeddf094d51dfdfc6133850f40e3e1d5591ca (diff)
downloadgsoc2013-empathy-74bba154cc8476d831140e27148d4897633e2d18.tar
gsoc2013-empathy-74bba154cc8476d831140e27148d4897633e2d18.tar.gz
gsoc2013-empathy-74bba154cc8476d831140e27148d4897633e2d18.tar.bz2
gsoc2013-empathy-74bba154cc8476d831140e27148d4897633e2d18.tar.lz
gsoc2013-empathy-74bba154cc8476d831140e27148d4897633e2d18.tar.xz
gsoc2013-empathy-74bba154cc8476d831140e27148d4897633e2d18.tar.zst
gsoc2013-empathy-74bba154cc8476d831140e27148d4897633e2d18.zip
When empathy_account_settings_apply_finish returns false the error is always set
-rw-r--r--src/empathy-import-mc4-accounts.c3
1 files changed, 1 insertions, 2 deletions
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;
}