aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;