summaryrefslogtreecommitdiff
path: root/src/gclue-locator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gclue-locator.c')
-rw-r--r--src/gclue-locator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gclue-locator.c b/src/gclue-locator.c
index d9941b2..731c33a 100644
--- a/src/gclue-locator.c
+++ b/src/gclue-locator.c
@@ -332,7 +332,9 @@ gclue_locator_constructed (GObject *object)
{
GClueLocator *locator = GCLUE_LOCATOR (object);
GClueLocationSource *submit_source = NULL;
+#if GCLUE_USE_NMEA_SOURCE
GClueConfig *gconfig = gclue_config_get_singleton ();
+#endif
GList *node;
GClueMinUINT *threshold;