summaryrefslogtreecommitdiff
path: root/src/gclue-location-source.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gclue-location-source.c')
-rw-r--r--src/gclue-location-source.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gclue-location-source.c b/src/gclue-location-source.c
index 09028eb..7229f04 100644
--- a/src/gclue-location-source.c
+++ b/src/gclue-location-source.c
@@ -276,10 +276,7 @@ gclue_location_source_class_init (GClueLocationSourceClass *klass)
static void
gclue_location_source_init (GClueLocationSource *source)
{
- source->priv =
- G_TYPE_INSTANCE_GET_PRIVATE (source,
- GCLUE_TYPE_LOCATION_SOURCE,
- GClueLocationSourcePrivate);
+ source->priv = gclue_location_source_get_instance_private (source);
source->priv->compute_movement = TRUE;
source->priv->time_threshold = gclue_min_uint_new ();
}