From 53309a827c96d21e2cbc4e54e47ab400122ad3c6 Mon Sep 17 00:00:00 2001 From: monsta Date: Sun, 10 Jan 2016 00:25:02 +0300 Subject: dummy: remove unused variables no-op functions are left as is because this code can be used as a skeleton for building new plugins taken from https://git.gnome.org/browse/gnome-settings-daemon/commit?id=fe93b3be700f609b95bef7acca7aceb799c0baf6 --- plugins/dummy/msd-dummy-manager.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'plugins') diff --git a/plugins/dummy/msd-dummy-manager.c b/plugins/dummy/msd-dummy-manager.c index a167da2..eaef9a9 100644 --- a/plugins/dummy/msd-dummy-manager.c +++ b/plugins/dummy/msd-dummy-manager.c @@ -80,10 +80,6 @@ msd_dummy_manager_set_property (GObject *object, const GValue *value, GParamSpec *pspec) { - MsdDummyManager *self; - - self = MSD_DUMMY_MANAGER (object); - switch (prop_id) { default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); @@ -97,10 +93,6 @@ msd_dummy_manager_get_property (GObject *object, GValue *value, GParamSpec *pspec) { - MsdDummyManager *self; - - self = MSD_DUMMY_MANAGER (object); - switch (prop_id) { default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); @@ -114,9 +106,6 @@ msd_dummy_manager_constructor (GType type, GObjectConstructParam *construct_properties) { MsdDummyManager *dummy_manager; - MsdDummyManagerClass *klass; - - klass = MSD_DUMMY_MANAGER_CLASS (g_type_class_peek (MSD_TYPE_DUMMY_MANAGER)); dummy_manager = MSD_DUMMY_MANAGER (G_OBJECT_CLASS (msd_dummy_manager_parent_class)->constructor (type, n_construct_properties, @@ -128,10 +117,6 @@ msd_dummy_manager_constructor (GType type, static void msd_dummy_manager_dispose (GObject *object) { - MsdDummyManager *dummy_manager; - - dummy_manager = MSD_DUMMY_MANAGER (object); - G_OBJECT_CLASS (msd_dummy_manager_parent_class)->dispose (object); } -- cgit v1.2.1