[gdm] daemon: Remove dummy constructor/property functions
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] daemon: Remove dummy constructor/property functions
- Date: Fri, 20 Jul 2012 05:35:04 +0000 (UTC)
commit fc276c43bfe1714a8e3960cdcf0dc369c361f6b2
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Jul 19 15:46:41 2012 -0400
daemon: Remove dummy constructor/property functions
They don't do anything.
https://bugzilla.gnome.org/show_bug.cgi?id=678057
daemon/gdm-simple-slave.c | 43 -------------------------------------------
1 files changed, 0 insertions(+), 43 deletions(-)
---
diff --git a/daemon/gdm-simple-slave.c b/daemon/gdm-simple-slave.c
index 4b9ac11..5f1ac1a 100644
--- a/daemon/gdm-simple-slave.c
+++ b/daemon/gdm-simple-slave.c
@@ -1267,54 +1267,11 @@ gdm_simple_slave_stop (GdmSlave *slave)
}
static void
-gdm_simple_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_simple_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_simple_slave_constructor (GType type,
- guint n_construct_properties,
- GObjectConstructParam *construct_properties)
-{
- GdmSimpleSlave *simple_slave;
-
- simple_slave = GDM_SIMPLE_SLAVE (G_OBJECT_CLASS (gdm_simple_slave_parent_class)->constructor (type,
- n_construct_properties,
- construct_properties));
-
- return G_OBJECT (simple_slave);
-}
-
-static void
gdm_simple_slave_class_init (GdmSimpleSlaveClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GdmSlaveClass *slave_class = GDM_SLAVE_CLASS (klass);
- object_class->get_property = gdm_simple_slave_get_property;
- object_class->set_property = gdm_simple_slave_set_property;
- object_class->constructor = gdm_simple_slave_constructor;
object_class->finalize = gdm_simple_slave_finalize;
slave_class->start = gdm_simple_slave_start;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]