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/mpris/bus-watch-namespace.c | 6 +++--- plugins/mpris/msd-mpris-manager.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/mpris') diff --git a/plugins/mpris/bus-watch-namespace.c b/plugins/mpris/bus-watch-namespace.c index 1ffdff4..f1aff23 100644 --- a/plugins/mpris/bus-watch-namespace.c +++ b/plugins/mpris/bus-watch-namespace.c @@ -240,9 +240,9 @@ names_listed (GObject *object, } static void -connection_closed (GDBusConnection *connection, - gboolean remote_peer_vanished, - GError *error, +connection_closed (GDBusConnection *connection G_GNUC_UNUSED, + gboolean remote_peer_vanished G_GNUC_UNUSED, + GError *error G_GNUC_UNUSED, gpointer user_data) { NamespaceWatcher *watcher = user_data; diff --git a/plugins/mpris/msd-mpris-manager.c b/plugins/mpris/msd-mpris-manager.c index 36febae..f9686f1 100644 --- a/plugins/mpris/msd-mpris-manager.c +++ b/plugins/mpris/msd-mpris-manager.c @@ -223,8 +223,8 @@ grab_media_player_keys (MsdMprisManager *manager) } static void -key_pressed (GDBusProxy *proxy, - gchar *sender_name, +key_pressed (GDBusProxy *proxy G_GNUC_UNUSED, + gchar *sender_name G_GNUC_UNUSED, gchar *signal_name, GVariant *parameters, MsdMprisManager *manager) -- cgit v1.2.1