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 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/a11y-keyboard/msd-a11y-keyboard-manager.c') 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) { -- cgit v1.2.1