From 3cdcb21a13d11a2026d242c242704b0581a7b475 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Sun, 23 Aug 2009 18:52:17 +0100 Subject: Fix debug strings, don't unref the gconf client twice --- src/empathy-import-mc4-accounts.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/empathy-import-mc4-accounts.c b/src/empathy-import-mc4-accounts.c index 27dd94956..312b5a2fc 100644 --- a/src/empathy-import-mc4-accounts.c +++ b/src/empathy-import-mc4-accounts.c @@ -402,14 +402,13 @@ empathy_import_mc4_accounts (EmpathyConnectionManagers *managers) if (error != NULL) { DEBUG ("Failed to get import_mc4_accounts key: %s\n", error->message); - g_clear_error (&error); - g_object_unref (client); + g_error_free (error); goto out; } if (imported_mc4_accounts) { - DEBUG ("Mc4 accounts already imported"); + DEBUG ("Mc4 accounts previously imported"); goto out; } @@ -419,7 +418,7 @@ empathy_import_mc4_accounts (EmpathyConnectionManagers *managers) if (error != NULL) { - DEBUG ("Failed to get mc_accounts_gconf_base dirs: %s\n", + DEBUG ("Failed to get MC4 account dirs: %s\n", error->message); g_clear_error (&error); g_object_unref (client); -- cgit v1.2.3