summaryrefslogtreecommitdiff
path: root/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-09 23:43:28 +0300
committermonsta <[email protected]>2016-01-09 23:46:30 +0300
commit25937f3ff42e23c14e23c8e7d50888bae3156b7f (patch)
tree58046e973d0ddad212cf4eb8388d39167502fc31 /plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
parent59d03639118c148bdb14d1da6417066b2567ed23 (diff)
downloadmate-settings-daemon-25937f3ff42e23c14e23c8e7d50888bae3156b7f.tar.bz2
mate-settings-daemon-25937f3ff42e23c14e23c8e7d50888bae3156b7f.tar.xz
a11y-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=5ec1584de2b32b55098e579e403ac37d94ccef03 https://git.gnome.org/browse/gnome-settings-daemon/commit?id=6808c3fe13c855dc17cf6048801f8e8a2ee634e2
Diffstat (limited to 'plugins/a11y-keyboard/msd-a11y-keyboard-manager.c')
-rw-r--r--plugins/a11y-keyboard/msd-a11y-keyboard-manager.c65
1 files changed, 0 insertions, 65 deletions
diff --git a/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c b/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
index 0d7f926..6d70f4e 100644
--- a/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
+++ b/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
@@ -1128,75 +1128,10 @@ msd_a11y_keyboard_manager_stop (MsdA11yKeyboardManager *manager)
}
static void
-msd_a11y_keyboard_manager_set_property (GObject *object,
- guint prop_id,
- const GValue *value,
- GParamSpec *pspec)
-{
- MsdA11yKeyboardManager *self;
-
- self = MSD_A11Y_KEYBOARD_MANAGER (object);
-
- switch (prop_id) {
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
- break;
- }
-}
-
-static void
-msd_a11y_keyboard_manager_get_property (GObject *object,
- guint prop_id,
- GValue *value,
- GParamSpec *pspec)
-{
- MsdA11yKeyboardManager *self;
-
- self = MSD_A11Y_KEYBOARD_MANAGER (object);
-
- switch (prop_id) {
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
- break;
- }
-}
-
-static GObject *
-msd_a11y_keyboard_manager_constructor (GType type,
- guint n_construct_properties,
- GObjectConstructParam *construct_properties)
-{
- MsdA11yKeyboardManager *a11y_keyboard_manager;
- MsdA11yKeyboardManagerClass *klass;
-
- klass = MSD_A11Y_KEYBOARD_MANAGER_CLASS (g_type_class_peek (MSD_TYPE_A11Y_KEYBOARD_MANAGER));
-
- a11y_keyboard_manager = MSD_A11Y_KEYBOARD_MANAGER (G_OBJECT_CLASS (msd_a11y_keyboard_manager_parent_class)->constructor (type,
- n_construct_properties,
- construct_properties));
-
- return G_OBJECT (a11y_keyboard_manager);
-}
-
-static void
-msd_a11y_keyboard_manager_dispose (GObject *object)
-{
- MsdA11yKeyboardManager *a11y_keyboard_manager;
-
- a11y_keyboard_manager = MSD_A11Y_KEYBOARD_MANAGER (object);
-
- G_OBJECT_CLASS (msd_a11y_keyboard_manager_parent_class)->dispose (object);
-}
-
-static void
msd_a11y_keyboard_manager_class_init (MsdA11yKeyboardManagerClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
- object_class->get_property = msd_a11y_keyboard_manager_get_property;
- object_class->set_property = msd_a11y_keyboard_manager_set_property;
- object_class->constructor = msd_a11y_keyboard_manager_constructor;
- object_class->dispose = msd_a11y_keyboard_manager_dispose;
object_class->finalize = msd_a11y_keyboard_manager_finalize;
g_type_class_add_private (klass, sizeof (MsdA11yKeyboardManagerPrivate));