[gnome-settings-daemon] xsettings: Remove dead code



commit ae424dcc41e736d4882012367857a24686f282cb
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Nov 18 16:44:10 2011 +0000

    xsettings: Remove dead code

 plugins/xsettings/gsd-xsettings-manager.c |   35 -----------------------------
 1 files changed, 0 insertions(+), 35 deletions(-)
---
diff --git a/plugins/xsettings/gsd-xsettings-manager.c b/plugins/xsettings/gsd-xsettings-manager.c
index ae5c1c5..1fee468 100644
--- a/plugins/xsettings/gsd-xsettings-manager.c
+++ b/plugins/xsettings/gsd-xsettings-manager.c
@@ -896,32 +896,6 @@ gnome_xsettings_manager_stop (GnomeXSettingsManager *manager)
         }
 }
 
-static void
-gnome_xsettings_manager_set_property (GObject        *object,
-                                      guint           prop_id,
-                                      const GValue   *value,
-                                      GParamSpec     *pspec)
-{
-        switch (prop_id) {
-        default:
-                G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
-                break;
-        }
-}
-
-static void
-gnome_xsettings_manager_get_property (GObject        *object,
-                                      guint           prop_id,
-                                      GValue         *value,
-                                      GParamSpec     *pspec)
-{
-        switch (prop_id) {
-        default:
-                G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
-                break;
-        }
-}
-
 static GObject *
 gnome_xsettings_manager_constructor (GType                  type,
                                      guint                  n_construct_properties,
@@ -937,20 +911,11 @@ gnome_xsettings_manager_constructor (GType                  type,
 }
 
 static void
-gnome_xsettings_manager_dispose (GObject *object)
-{
-        G_OBJECT_CLASS (gnome_xsettings_manager_parent_class)->dispose (object);
-}
-
-static void
 gnome_xsettings_manager_class_init (GnomeXSettingsManagerClass *klass)
 {
         GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
-        object_class->get_property = gnome_xsettings_manager_get_property;
-        object_class->set_property = gnome_xsettings_manager_set_property;
         object_class->constructor = gnome_xsettings_manager_constructor;
-        object_class->dispose = gnome_xsettings_manager_dispose;
         object_class->finalize = gnome_xsettings_manager_finalize;
 
         g_type_class_add_private (klass, sizeof (GnomeXSettingsManagerPrivate));



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