]> git.0d.be Git - empathy.git/commitdiff
accounts-panel: remove gconf bits (#634595)
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 11 Nov 2010 15:31:00 +0000 (16:31 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 16 Nov 2010 08:00:55 +0000 (09:00 +0100)
This code is useless.

src/cc-empathy-accounts-panel.c

index d4dbf1e977b35595ee32f35bb2d1b66f10a69dfb..24be691218e6cef87941c416fe2d6dd4609ce0b0 100644 (file)
@@ -29,7 +29,6 @@
 #include <glib/gi18n-lib.h>
 
 #include <telepathy-glib/telepathy-glib.h>
-#include <gconf/gconf-client.h>
 
 #include <libempathy/empathy-utils.h>
 #include <libempathy/empathy-connection-managers.h>
@@ -214,20 +213,12 @@ cc_empathy_accounts_panel_class_finalize (CcEmpathyAccountsPanelClass *klass)
 static void
 cc_empathy_accounts_panel_init (CcEmpathyAccountsPanel *panel)
 {
-  GConfClient *client;
   TpAccountManager *account_manager;
 
   panel->priv = CC_EMPATHY_ACCOUNTS_PANEL_GET_PRIVATE (panel);
 
   empathy_gtk_init ();
 
-  client = gconf_client_get_default ();
-  gconf_client_add_dir (client, "/desktop/gnome/peripherals/empathy_accounts",
-      GCONF_CLIENT_PRELOAD_ONELEVEL, NULL);
-  gconf_client_add_dir (client, "/desktop/gnome/interface",
-      GCONF_CLIENT_PRELOAD_ONELEVEL, NULL);
-  g_object_unref (client);
-
   /* unref'd in final endpoint callbacks */
   account_manager = tp_account_manager_dup ();