From 4adb93a448e701a9df13941c13da8bb92e778302 Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Wed, 16 Aug 2017 17:58:30 -0700 Subject: Remove deprecated geoclue 1 location provider --- src/redshift.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/redshift.c') diff --git a/src/redshift.c b/src/redshift.c index 41629cc..ead3a84 100644 --- a/src/redshift.c +++ b/src/redshift.c @@ -81,10 +81,6 @@ #include "location-manual.h" -#ifdef ENABLE_GEOCLUE -# include "location-geoclue.h" -#endif - #ifdef ENABLE_GEOCLUE2 # include "location-geoclue2.h" #endif @@ -195,28 +191,11 @@ static const gamma_method_t gamma_methods[] = { /* Union of state data for location providers */ typedef union { location_manual_state_t manual; -#ifdef ENABLE_GEOCLUE - location_geoclue_state_t geoclue; -#endif } location_state_t; /* Location provider method structs */ static const location_provider_t location_providers[] = { -#ifdef ENABLE_GEOCLUE - { - "geoclue", - (location_provider_init_func *)location_geoclue_init, - (location_provider_start_func *)location_geoclue_start, - (location_provider_free_func *)location_geoclue_free, - (location_provider_print_help_func *) - location_geoclue_print_help, - (location_provider_set_option_func *) - location_geoclue_set_option, - (location_provider_get_location_func *) - location_geoclue_get_location - }, -#endif #ifdef ENABLE_GEOCLUE2 { "geoclue2", -- cgit v1.2.3-70-g09d2