summaryrefslogtreecommitdiff
path: root/plugins/a11y-keyboard
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-12-14 21:08:45 +0100
committerZenWalker <[email protected]>2019-12-22 13:12:11 +0100
commit492866e4c9860349f89babd5e0a254ddc13911f0 (patch)
treeeec4ad39bbfebd9dd106f07f6afd49943f005d07 /plugins/a11y-keyboard
parent924973b51122e446048e8ae4c9622291f3ed2306 (diff)
downloadmate-settings-daemon-492866e4c9860349f89babd5e0a254ddc13911f0.tar.bz2
mate-settings-daemon-492866e4c9860349f89babd5e0a254ddc13911f0.tar.xz
avoid redundant redeclarations
Diffstat (limited to 'plugins/a11y-keyboard')
-rw-r--r--plugins/a11y-keyboard/msd-a11y-keyboard-manager.c4
-rw-r--r--plugins/a11y-keyboard/msd-a11y-preferences-dialog.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c b/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
index 0c6d3e6..73c08d5 100644
--- a/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
+++ b/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
@@ -72,9 +72,7 @@ struct MsdA11yKeyboardManagerPrivate
#endif /* HAVE_LIBNOTIFY */
};
-static void msd_a11y_keyboard_manager_class_init (MsdA11yKeyboardManagerClass *klass);
-static void msd_a11y_keyboard_manager_init (MsdA11yKeyboardManager *a11y_keyboard_manager);
-static void msd_a11y_keyboard_manager_finalize (GObject *object);
+static void msd_a11y_keyboard_manager_finalize (GObject *object);
static void msd_a11y_keyboard_manager_ensure_status_icon (MsdA11yKeyboardManager *manager);
static void set_server_from_settings (MsdA11yKeyboardManager *manager);
diff --git a/plugins/a11y-keyboard/msd-a11y-preferences-dialog.c b/plugins/a11y-keyboard/msd-a11y-preferences-dialog.c
index 7ee79f9..fa6d426 100644
--- a/plugins/a11y-keyboard/msd-a11y-preferences-dialog.c
+++ b/plugins/a11y-keyboard/msd-a11y-preferences-dialog.c
@@ -109,9 +109,7 @@ enum {
PROP_0,
};
-static void msd_a11y_preferences_dialog_class_init (MsdA11yPreferencesDialogClass *klass);
-static void msd_a11y_preferences_dialog_init (MsdA11yPreferencesDialog *a11y_preferences_dialog);
-static void msd_a11y_preferences_dialog_finalize (GObject *object);
+static void msd_a11y_preferences_dialog_finalize (GObject *object);
G_DEFINE_TYPE_WITH_PRIVATE (MsdA11yPreferencesDialog, msd_a11y_preferences_dialog, GTK_TYPE_DIALOG)