diff options
author | Ray Strode <rstrode@redhat.com> | 2011-06-15 10:48:27 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2011-06-15 11:29:45 -0400 |
commit | c271f7000afbb9998996ede6956f23d514590f5b (patch) | |
tree | 6fce46dc70739fd236a07cea177ac4917e7f3a1e /daemon/gdm-factory-slave.c | |
parent | d7c3fd80d26da858d6abce7b59e000fb9cff7729 (diff) | |
download | gdm-c271f7000afbb9998996ede6956f23d514590f5b.tar.gz |
daemon: drop some fluff code
There's a bit of needless boilerplate and dead code
just sort of sitting around in various places.
This commit cleans things up a bit.
Diffstat (limited to 'daemon/gdm-factory-slave.c')
-rw-r--r-- | daemon/gdm-factory-slave.c | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/daemon/gdm-factory-slave.c b/daemon/gdm-factory-slave.c index 9e435f9f..c61f8f43 100644 --- a/daemon/gdm-factory-slave.c +++ b/daemon/gdm-factory-slave.c @@ -81,10 +81,6 @@ struct GdmFactorySlavePrivate DBusGConnection *connection; }; -enum { - PROP_0, -}; - static void gdm_factory_slave_class_init (GdmFactorySlaveClass *klass); static void gdm_factory_slave_init (GdmFactorySlave *factory_slave); static void gdm_factory_slave_finalize (GObject *object); @@ -869,54 +865,11 @@ gdm_factory_slave_stop (GdmSlave *slave) } static void -gdm_factory_slave_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 -gdm_factory_slave_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 * -gdm_factory_slave_constructor (GType type, - guint n_construct_properties, - GObjectConstructParam *construct_properties) -{ - GdmFactorySlave *factory_slave; - - factory_slave = GDM_FACTORY_SLAVE (G_OBJECT_CLASS (gdm_factory_slave_parent_class)->constructor (type, - n_construct_properties, - construct_properties)); - - return G_OBJECT (factory_slave); -} - -static void gdm_factory_slave_class_init (GdmFactorySlaveClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GdmSlaveClass *slave_class = GDM_SLAVE_CLASS (klass); - object_class->get_property = gdm_factory_slave_get_property; - object_class->set_property = gdm_factory_slave_set_property; - object_class->constructor = gdm_factory_slave_constructor; object_class->finalize = gdm_factory_slave_finalize; slave_class->start = gdm_factory_slave_start; |