[empathy] roster-window: remove unused gsettings_contacts



commit 368556a6bd473f1faab34b44e6dba224f88361ac
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Jun 13 09:51:03 2012 +0200

    roster-window: remove unused gsettings_contacts
    
    https://bugzilla.gnome.org/show_bug.cgi?id=677949

 data/org.gnome.Empathy.gschema.xml |    1 -
 src/empathy-roster-window.c        |    3 ---
 2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/data/org.gnome.Empathy.gschema.xml b/data/org.gnome.Empathy.gschema.xml
index 4945197..e7597d7 100644
--- a/data/org.gnome.Empathy.gschema.xml
+++ b/data/org.gnome.Empathy.gschema.xml
@@ -36,7 +36,6 @@
       <description>empathy-sanity-cleaning.c uses this number to check if the cleaning tasks should be executed or not. Users should not change this key manually.</description>
     </key>
     <child name="ui" schema="org.gnome.Empathy.ui"/>
-    <child name="contacts" schema="org.gnome.Empathy.contacts"/>
     <child name="sounds" schema="org.gnome.Empathy.sounds"/>
     <child name="notifications" schema="org.gnome.Empathy.notifications"/>
     <child name="conversation" schema="org.gnome.Empathy.conversation"/>
diff --git a/src/empathy-roster-window.c b/src/empathy-roster-window.c
index 2e3a9f8..6a791f4 100644
--- a/src/empathy-roster-window.c
+++ b/src/empathy-roster-window.c
@@ -111,7 +111,6 @@ struct _EmpathyRosterWindowPriv {
   gboolean flash_on;
 
   GSettings *gsettings_ui;
-  GSettings *gsettings_contacts;
 
   GtkWidget *preferences;
   GtkWidget *main_vbox;
@@ -995,7 +994,6 @@ empathy_roster_window_finalize (GObject *window)
   g_object_unref (self->priv->chatroom_manager);
 
   g_object_unref (self->priv->gsettings_ui);
-  g_object_unref (self->priv->gsettings_contacts);
   g_object_unref (self->priv->individual_manager);
 
   g_object_unref (self->priv->menumodel);
@@ -1926,7 +1924,6 @@ empathy_roster_window_init (EmpathyRosterWindow *self)
   empathy_set_css_provider (GTK_WIDGET (self));
 
   self->priv->gsettings_ui = g_settings_new (EMPATHY_PREFS_UI_SCHEMA);
-  self->priv->gsettings_contacts = g_settings_new (EMPATHY_PREFS_CONTACTS_SCHEMA);
 
   self->priv->sound_mgr = empathy_sound_manager_dup_singleton ();
 



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