]> git.0d.be Git - empathy.git/commitdiff
Fix debug strings, don't unref the gconf client twice
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Sun, 23 Aug 2009 17:52:17 +0000 (18:52 +0100)
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>
Sun, 23 Aug 2009 22:18:48 +0000 (23:18 +0100)
src/empathy-import-mc4-accounts.c

index 27dd949568b35274c1f19e685f82c7848aa78a3f..312b5a2fc7839615df68d00f6492e4a5a9d2d4d2 100644 (file)
@@ -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);