aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-04-20 22:02:11 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-04-20 22:38:33 +0200
commit432174bd3f5ff971d285391330d0e7c839d073ae (patch)
tree58b91202d66cacfbed3b4c9950db7d2d082b1c45
parentcc7f8ce9b9720e0b615f6eee22e807c3ad1d6c6c (diff)
downloadlibayatana-indicator-432174bd3f5ff971d285391330d0e7c839d073ae.tar.gz
libayatana-indicator-432174bd3f5ff971d285391330d0e7c839d073ae.tar.bz2
libayatana-indicator-432174bd3f5ff971d285391330d0e7c839d073ae.zip
libayatana-indicator/indicator-service-manager.c: Silence unused parameter warnings/errors for various functions.
-rw-r--r--libayatana-indicator/indicator-service-manager.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/libayatana-indicator/indicator-service-manager.c b/libayatana-indicator/indicator-service-manager.c
index e1772fa..049d176 100644
--- a/libayatana-indicator/indicator-service-manager.c
+++ b/libayatana-indicator/indicator-service-manager.c
@@ -450,7 +450,7 @@ start_service (IndicatorServiceManager * service)
could include starting the service. Sometime it'll fail and
we'll try to start that dang service again! */
static void
-service_proxy_cb (GObject * object, GAsyncResult * res, gpointer user_data)
+service_proxy_cb (__attribute__((unused)) GObject * object, GAsyncResult * res, gpointer user_data)
{
GError * error = NULL;
@@ -524,9 +524,12 @@ service_proxy_cb (GObject * object, GAsyncResult * res, gpointer user_data)
usually means the service died. We're dropping the proxy
and recreating it so that it'll restart the service. */
static void
-service_proxy_name_changed (GDBusConnection * connection, const gchar * sender_name,
- const gchar * object_path, const gchar * interface_name,
- const gchar * signal_name, GVariant * parameters,
+service_proxy_name_changed (__attribute__((unused)) GDBusConnection * connection,
+ __attribute__((unused)) const gchar * sender_name,
+ __attribute__((unused)) const gchar * object_path,
+ __attribute__((unused)) const gchar * interface_name,
+ __attribute__((unused)) const gchar * signal_name,
+ GVariant * parameters,
gpointer user_data)
{
@@ -695,7 +698,7 @@ indicator_service_manager_connected (IndicatorServiceManager * sm)
NOTE: Not yet implemented.
*/
void
-indicator_service_manager_set_refresh (IndicatorServiceManager * sm, guint time_in_ms)
+indicator_service_manager_set_refresh (__attribute__((unused)) IndicatorServiceManager * sm, __attribute__((unused)) guint time_in_ms)
{
return;