diff options
author | monsta <monsta@inbox.ru> | 2016-01-10 00:25:02 +0300 |
---|---|---|
committer | monsta <monsta@inbox.ru> | 2016-01-10 00:25:02 +0300 |
commit | 53309a827c96d21e2cbc4e54e47ab400122ad3c6 (patch) | |
tree | 563db6d246b27f5e4f8f6cea76be7a715bb48686 | |
parent | 258ac9ebdc308d51bbb328c6a6b70ac554ee94b5 (diff) | |
download | mate-settings-daemon-53309a827c96d21e2cbc4e54e47ab400122ad3c6.tar.bz2 mate-settings-daemon-53309a827c96d21e2cbc4e54e47ab400122ad3c6.tar.xz |
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
-rw-r--r-- | plugins/dummy/msd-dummy-manager.c | 15 |
1 files changed, 0 insertions, 15 deletions
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); } |