[empathy/mc5] Fix debug strings, don't unref the gconf client twice



commit 3cdcb21a13d11a2026d242c242704b0581a7b475
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Sun Aug 23 18:52:17 2009 +0100

    Fix debug strings, don't unref the gconf client twice

 src/empathy-import-mc4-accounts.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/empathy-import-mc4-accounts.c b/src/empathy-import-mc4-accounts.c
index 27dd949..312b5a2 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]