aboutsummaryrefslogtreecommitdiff
path: root/src/timezone-geoclue.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-05-12 23:01:29 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-05-12 23:01:29 -0500
commitca06cb7631136e4ce1d376895b23053791e4f7c3 (patch)
tree913b28dbdb5d16b384a8970cfe9b22a5c36d41b2 /src/timezone-geoclue.c
parentb08ab642714d991b70f9bd907a709edb24c8f653 (diff)
downloadayatana-indicator-datetime-ca06cb7631136e4ce1d376895b23053791e4f7c3.tar.gz
ayatana-indicator-datetime-ca06cb7631136e4ce1d376895b23053791e4f7c3.tar.bz2
ayatana-indicator-datetime-ca06cb7631136e4ce1d376895b23053791e4f7c3.zip
compile cleanly with -Wextra
Diffstat (limited to 'src/timezone-geoclue.c')
-rw-r--r--src/timezone-geoclue.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/timezone-geoclue.c b/src/timezone-geoclue.c
index 4c3c7d8..08f272d 100644
--- a/src/timezone-geoclue.c
+++ b/src/timezone-geoclue.c
@@ -58,10 +58,10 @@ set_timezone (IndicatorDatetimeTimezoneGeoclue * self, const gchar * timezone)
}
static void
-on_address_changed (GeoclueAddress * address,
- int timestamp,
+on_address_changed (GeoclueAddress * address G_GNUC_UNUSED,
+ int timestamp G_GNUC_UNUSED,
GHashTable * addy_data,
- GeoclueAccuracy * accuracy,
+ GeoclueAccuracy * accuracy G_GNUC_UNUSED,
GError * error,
gpointer gself)
{
@@ -79,7 +79,7 @@ on_address_changed (GeoclueAddress * address,
}
static void
-on_address_created (GeoclueMasterClient * master,
+on_address_created (GeoclueMasterClient * master G_GNUC_UNUSED,
GeoclueAddress * address,
GError * error,
gpointer gself)
@@ -102,7 +102,9 @@ on_address_created (GeoclueMasterClient * master,
}
static void
-on_requirements_set (GeoclueMasterClient * master, GError * error, gpointer user_data)
+on_requirements_set (GeoclueMasterClient * master G_GNUC_UNUSED,
+ GError * error,
+ gpointer user_data G_GNUC_UNUSED)
{
if (error != NULL)
{
@@ -112,7 +114,7 @@ on_requirements_set (GeoclueMasterClient * master, GError * error, gpointer user
}
static void
-on_client_created (GeoclueMaster * master,
+on_client_created (GeoclueMaster * master G_GNUC_UNUSED,
GeoclueMasterClient * client,
gchar * path,
GError * error,