summaryrefslogtreecommitdiff
path: root/plugins/a11y-keyboard
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-08-10 14:34:23 +0200
committerZenWalker <[email protected]>2020-08-15 14:10:03 +0200
commit7e8357d5cc6e04ae96734e2c8e1f87b9a154a52c (patch)
tree7fdf5c59c8cea2f9067146344434a3d17f69ae71 /plugins/a11y-keyboard
parent27adfb941829c99638219e3e76371c86e42e3dcb (diff)
downloadmate-settings-daemon-7e8357d5cc6e04ae96734e2c8e1f87b9a154a52c.tar.bz2
mate-settings-daemon-7e8357d5cc6e04ae96734e2c8e1f87b9a154a52c.tar.xz
add G_GNUC_UNUSED in some unused parameters
Diffstat (limited to 'plugins/a11y-keyboard')
-rw-r--r--plugins/a11y-keyboard/msd-a11y-keyboard-manager.c10
-rw-r--r--plugins/a11y-keyboard/msd-a11y-preferences-dialog.c4
2 files changed, 7 insertions, 7 deletions
diff --git a/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c b/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
index 40fbdca..e448afc 100644
--- a/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
+++ b/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
@@ -497,7 +497,7 @@ maybe_show_status_icon (MsdA11yKeyboardManager *manager)
#ifdef HAVE_LIBNOTIFY
static void
-on_notification_closed (NotifyNotification *notification,
+on_notification_closed (NotifyNotification *notification G_GNUC_UNUSED,
MsdA11yKeyboardManager *manager)
{
g_object_unref (manager->priv->notification);
@@ -985,8 +985,8 @@ cb_xkb_event_filter (GdkXEvent *xevent,
}
static void
-keyboard_callback (GSettings *settings,
- gchar *key,
+keyboard_callback (GSettings *settings G_GNUC_UNUSED,
+ gchar *key G_GNUC_UNUSED,
MsdA11yKeyboardManager *manager)
{
set_server_from_settings (manager);
@@ -1151,7 +1151,7 @@ msd_a11y_keyboard_manager_class_init (MsdA11yKeyboardManagerClass *klass)
static void
on_preferences_dialog_response (GtkDialog *dialog,
- int response,
+ int response G_GNUC_UNUSED,
MsdA11yKeyboardManager *manager)
{
g_signal_handlers_disconnect_by_func (dialog,
@@ -1163,7 +1163,7 @@ on_preferences_dialog_response (GtkDialog *dialog,
}
static void
-on_status_icon_activate (GtkStatusIcon *status_icon,
+on_status_icon_activate (GtkStatusIcon *status_icon G_GNUC_UNUSED,
MsdA11yKeyboardManager *manager)
{
if (manager->priv->preferences_dialog == NULL) {
diff --git a/plugins/a11y-keyboard/msd-a11y-preferences-dialog.c b/plugins/a11y-keyboard/msd-a11y-preferences-dialog.c
index 405f1fa..f0cbb3b 100644
--- a/plugins/a11y-keyboard/msd-a11y-preferences-dialog.c
+++ b/plugins/a11y-keyboard/msd-a11y-preferences-dialog.c
@@ -126,7 +126,7 @@ msd_a11y_preferences_dialog_class_init (MsdA11yPreferencesDialogClass *klass)
}
static void
-on_response (MsdA11yPreferencesDialog *dialog,
+on_response (MsdA11yPreferencesDialog *dialog G_GNUC_UNUSED,
gint response_id)
{
switch (response_id) {
@@ -478,7 +478,7 @@ on_at_screen_magnifier_checkbutton_toggled (GtkToggleButton *button,
static void
on_large_print_checkbutton_toggled (GtkToggleButton *button,
- MsdA11yPreferencesDialog *dialog)
+ MsdA11yPreferencesDialog *dialog G_GNUC_UNUSED)
{
config_set_large_print (gtk_toggle_button_get_active (button));
}