From 7e8357d5cc6e04ae96734e2c8e1f87b9a154a52c Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Mon, 10 Aug 2020 14:34:23 +0200 Subject: add G_GNUC_UNUSED in some unused parameters --- plugins/a11y-keyboard/msd-a11y-keyboard-manager.c | 10 +++++----- plugins/a11y-keyboard/msd-a11y-preferences-dialog.c | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'plugins/a11y-keyboard') 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)); } -- cgit v1.2.1