[gnome-settings-daemon] a11y-keyboard: Remove dead code
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] a11y-keyboard: Remove dead code
- Date: Fri, 18 Nov 2011 18:29:50 +0000 (UTC)
commit 5ec1584de2b32b55098e579e403ac37d94ccef03
Author: Bastien Nocera <hadess hadess net>
Date: Fri Nov 18 16:39:22 2011 +0000
a11y-keyboard: Remove dead code
plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c | 35 --------------------
.../a11y-keyboard/gsd-a11y-preferences-dialog.c | 35 --------------------
2 files changed, 0 insertions(+), 70 deletions(-)
---
diff --git a/plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c b/plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c
index 3d6fe68..fbe4d5b 100644
--- a/plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c
+++ b/plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c
@@ -1059,32 +1059,6 @@ gsd_a11y_keyboard_manager_stop (GsdA11yKeyboardManager *manager)
p->stickykeys_shortcut_val = FALSE;
}
-static void
-gsd_a11y_keyboard_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
-gsd_a11y_keyboard_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 *
gsd_a11y_keyboard_manager_constructor (GType type,
guint n_construct_properties,
@@ -1100,20 +1074,11 @@ gsd_a11y_keyboard_manager_constructor (GType type,
}
static void
-gsd_a11y_keyboard_manager_dispose (GObject *object)
-{
- G_OBJECT_CLASS (gsd_a11y_keyboard_manager_parent_class)->dispose (object);
-}
-
-static void
gsd_a11y_keyboard_manager_class_init (GsdA11yKeyboardManagerClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
- object_class->get_property = gsd_a11y_keyboard_manager_get_property;
- object_class->set_property = gsd_a11y_keyboard_manager_set_property;
object_class->constructor = gsd_a11y_keyboard_manager_constructor;
- object_class->dispose = gsd_a11y_keyboard_manager_dispose;
object_class->finalize = gsd_a11y_keyboard_manager_finalize;
g_type_class_add_private (klass, sizeof (GsdA11yKeyboardManagerPrivate));
diff --git a/plugins/a11y-keyboard/gsd-a11y-preferences-dialog.c b/plugins/a11y-keyboard/gsd-a11y-preferences-dialog.c
index a757022..4d4cecf 100644
--- a/plugins/a11y-keyboard/gsd-a11y-preferences-dialog.c
+++ b/plugins/a11y-keyboard/gsd-a11y-preferences-dialog.c
@@ -85,32 +85,6 @@ static void gsd_a11y_preferences_dialog_finalize (GObject
G_DEFINE_TYPE (GsdA11yPreferencesDialog, gsd_a11y_preferences_dialog, GTK_TYPE_DIALOG)
-static void
-gsd_a11y_preferences_dialog_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
-gsd_a11y_preferences_dialog_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 *
gsd_a11y_preferences_dialog_constructor (GType type,
guint n_construct_properties,
@@ -126,20 +100,11 @@ gsd_a11y_preferences_dialog_constructor (GType type,
}
static void
-gsd_a11y_preferences_dialog_dispose (GObject *object)
-{
- G_OBJECT_CLASS (gsd_a11y_preferences_dialog_parent_class)->dispose (object);
-}
-
-static void
gsd_a11y_preferences_dialog_class_init (GsdA11yPreferencesDialogClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
- object_class->get_property = gsd_a11y_preferences_dialog_get_property;
- object_class->set_property = gsd_a11y_preferences_dialog_set_property;
object_class->constructor = gsd_a11y_preferences_dialog_constructor;
- object_class->dispose = gsd_a11y_preferences_dialog_dispose;
object_class->finalize = gsd_a11y_preferences_dialog_finalize;
g_type_class_add_private (klass, sizeof (GsdA11yPreferencesDialogPrivate));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]