summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-12-07 18:45:16 +0200
committerJasmine Hassan <[email protected]>2012-12-10 01:29:43 +0200
commit6beb0c21bd8cfab641a930ed7b33402407942f0f (patch)
tree0587e829209d7fbc16ececf5a07459e21e9f8820
parent12dcf19aa5f51901053c273cd7f5c17ce85e909d (diff)
downloadmate-settings-daemon-6beb0c21bd8cfab641a930ed7b33402407942f0f.tar.bz2
mate-settings-daemon-6beb0c21bd8cfab641a930ed7b33402407942f0f.tar.xz
[background] remove useless _(set|get)_property & _dispose methods
-rw-r--r--plugins/background/msd-background-manager.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/plugins/background/msd-background-manager.c b/plugins/background/msd-background-manager.c
index 84e49db..3065464 100644
--- a/plugins/background/msd-background-manager.c
+++ b/plugins/background/msd-background-manager.c
@@ -561,34 +561,6 @@ msd_background_manager_stop (MsdBackgroundManager *manager)
}
}
-static void
-msd_background_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
-msd_background_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*
msd_background_manager_constructor (GType type,
guint n_construct_properties,
@@ -603,20 +575,11 @@ msd_background_manager_constructor (GType type,
}
static void
-msd_background_manager_dispose (GObject* object)
-{
- G_OBJECT_CLASS(msd_background_manager_parent_class)->dispose(object);
-}
-
-static void
msd_background_manager_class_init (MsdBackgroundManagerClass* klass)
{
GObjectClass* object_class = G_OBJECT_CLASS(klass);
- object_class->get_property = msd_background_manager_get_property;
- object_class->set_property = msd_background_manager_set_property;
object_class->constructor = msd_background_manager_constructor;
- object_class->dispose = msd_background_manager_dispose;
object_class->finalize = msd_background_manager_finalize;
g_type_class_add_private(klass, sizeof(MsdBackgroundManagerPrivate));