summaryrefslogtreecommitdiff
path: root/src/gclue-service-location.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gclue-service-location.c')
-rw-r--r--src/gclue-service-location.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gclue-service-location.c b/src/gclue-service-location.c
index c2c1991..214406e 100644
--- a/src/gclue-service-location.c
+++ b/src/gclue-service-location.c
@@ -348,9 +348,7 @@ gclue_service_location_class_init (GClueServiceLocationClass *klass)
static void
gclue_service_location_init (GClueServiceLocation *location)
{
- location->priv = G_TYPE_INSTANCE_GET_PRIVATE (location,
- GCLUE_TYPE_SERVICE_LOCATION,
- GClueServiceLocationPrivate);
+ location->priv = gclue_service_location_get_instance_private (location);
gclue_dbus_location_set_altitude (GCLUE_DBUS_LOCATION (location),
GCLUE_LOCATION_ALTITUDE_UNKNOWN);
}