[empathy/mc5] Always set the mc4 imported gconf key



commit 97ce0c3a078943c1c25ad8e2411482ffc9edc8c8
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Sun Aug 23 18:53:33 2009 +0100

    Always set the mc4 imported gconf key

 src/empathy-import-mc4-accounts.c |   11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/src/empathy-import-mc4-accounts.c b/src/empathy-import-mc4-accounts.c
index 312b5a2..6f2a02c 100644
--- a/src/empathy-import-mc4-accounts.c
+++ b/src/empathy-import-mc4-accounts.c
@@ -432,16 +432,9 @@ empathy_import_mc4_accounts (EmpathyConnectionManagers *managers)
       g_free (dir->data);
     }
 
-  gconf_client_set_bool (client,
-      IMPORTED_MC4_ACCOUNTS, TRUE, &error);
-
-  if (error != NULL)
-    {
-      DEBUG ("Failed to set import_mc4_accounts key: %s\n", error->message);
-      g_clear_error (&error);
-    }
-
 out:
+  gconf_client_set_bool (client, IMPORTED_MC4_ACCOUNTS, TRUE, NULL);
+
   g_slist_free (dirs);
   g_object_unref (client);
   return imported;



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