From 799b08214dffc3c86e30c4547acd9015078a18ac Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Wed, 31 Dec 2014 00:11:24 -0500 Subject: Add location_t type with lat/lon fields --- src/location-geoclue.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/location-geoclue.h') diff --git a/src/location-geoclue.h b/src/location-geoclue.h index 54a527b..3847ee2 100644 --- a/src/location-geoclue.h +++ b/src/location-geoclue.h @@ -23,6 +23,8 @@ #include #include +#include "redshift.h" + typedef struct { GeocluePosition *position; /* main geoclue object */ char *provider; /* name of a geoclue provider */ @@ -38,7 +40,7 @@ int location_geoclue_set_option(location_geoclue_state_t *state, const char *key, const char *value); int location_geoclue_get_location(location_geoclue_state_t *state, - float *lat, float *lon); + location_t *loc); #endif /* ! REDSHIFT_LOCATION_GEOCLUE_H */ -- cgit v1.2.3-70-g09d2