summaryrefslogtreecommitdiff
path: root/plugins/keyboard/msd-keyboard-manager.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-09 20:22:58 +0300
committermonsta <[email protected]>2016-01-09 20:49:32 +0300
commita2028901b82ad7f731e8c532b4a0bd4a66c798ec (patch)
tree894bda05e0ffb1ab392d3bbec9177a664f466aa1 /plugins/keyboard/msd-keyboard-manager.c
parent0f56a63a459deac8427b40cb928e6599f3e98873 (diff)
downloadmate-settings-daemon-a2028901b82ad7f731e8c532b4a0bd4a66c798ec.tar.bz2
mate-settings-daemon-a2028901b82ad7f731e8c532b4a0bd4a66c798ec.tar.xz
keyboard: remove useless code
it either does nothing or only calls parent functions taken from https://git.gnome.org/browse/gnome-settings-daemon/commit?id=ff77680322a8d5ab51be1b672ffad85ee9477ae3 https://git.gnome.org/browse/gnome-settings-daemon/commit?id=f808719b91c942e6629c603ca874049667333ec3
Diffstat (limited to 'plugins/keyboard/msd-keyboard-manager.c')
-rw-r--r--plugins/keyboard/msd-keyboard-manager.c65
1 files changed, 0 insertions, 65 deletions
diff --git a/plugins/keyboard/msd-keyboard-manager.c b/plugins/keyboard/msd-keyboard-manager.c
index 6a0bf1b..d6965d9 100644
--- a/plugins/keyboard/msd-keyboard-manager.c
+++ b/plugins/keyboard/msd-keyboard-manager.c
@@ -389,75 +389,10 @@ msd_keyboard_manager_stop (MsdKeyboardManager *manager)
}
static void
-msd_keyboard_manager_set_property (GObject *object,
- guint prop_id,
- const GValue *value,
- GParamSpec *pspec)
-{
- MsdKeyboardManager *self;
-
- self = MSD_KEYBOARD_MANAGER (object);
-
- switch (prop_id) {
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
- break;
- }
-}
-
-static void
-msd_keyboard_manager_get_property (GObject *object,
- guint prop_id,
- GValue *value,
- GParamSpec *pspec)
-{
- MsdKeyboardManager *self;
-
- self = MSD_KEYBOARD_MANAGER (object);
-
- switch (prop_id) {
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
- break;
- }
-}
-
-static GObject *
-msd_keyboard_manager_constructor (GType type,
- guint n_construct_properties,
- GObjectConstructParam *construct_properties)
-{
- MsdKeyboardManager *keyboard_manager;
- MsdKeyboardManagerClass *klass;
-
- klass = MSD_KEYBOARD_MANAGER_CLASS (g_type_class_peek (MSD_TYPE_KEYBOARD_MANAGER));
-
- keyboard_manager = MSD_KEYBOARD_MANAGER (G_OBJECT_CLASS (msd_keyboard_manager_parent_class)->constructor (type,
- n_construct_properties,
- construct_properties));
-
- return G_OBJECT (keyboard_manager);
-}
-
-static void
-msd_keyboard_manager_dispose (GObject *object)
-{
- MsdKeyboardManager *keyboard_manager;
-
- keyboard_manager = MSD_KEYBOARD_MANAGER (object);
-
- G_OBJECT_CLASS (msd_keyboard_manager_parent_class)->dispose (object);
-}
-
-static void
msd_keyboard_manager_class_init (MsdKeyboardManagerClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
- object_class->get_property = msd_keyboard_manager_get_property;
- object_class->set_property = msd_keyboard_manager_set_property;
- object_class->constructor = msd_keyboard_manager_constructor;
- object_class->dispose = msd_keyboard_manager_dispose;
object_class->finalize = msd_keyboard_manager_finalize;
g_type_class_add_private (klass, sizeof (MsdKeyboardManagerPrivate));