Test application moved to location package
[platform/core/api/location-manager.git] / src / locations.c
index 6c2d8a0..eb53c24 100755 (executable)
@@ -245,10 +245,7 @@ static void __cb_zone_in(GObject *self, gpointer boundary, gpointer position, gp
        if (handle->user_cb[_LOCATIONS_EVENT_TYPE_BOUNDARY]) {
                LocationPosition *pos = (LocationPosition *) position;
                ((location_zone_changed_cb) handle->user_cb[_LOCATIONS_EVENT_TYPE_BOUNDARY])(LOCATIONS_BOUNDARY_IN,
-                                                                                                                                                                       pos->latitude, pos->longitude,
-                                                                                                                                                                       pos->altitude, pos->timestamp,
-                                                                                                                                                                       handle->user_data
-                                                                                                                                                                       [_LOCATIONS_EVENT_TYPE_BOUNDARY]);
+                                               pos->latitude, pos->longitude, pos->altitude, pos->timestamp, handle->user_data[_LOCATIONS_EVENT_TYPE_BOUNDARY]);
        }
 
        location_bounds_s *bounds;
@@ -274,10 +271,7 @@ static void __cb_zone_out(GObject *self, gpointer boundary, gpointer position, g
        if (handle->user_cb[_LOCATIONS_EVENT_TYPE_BOUNDARY]) {
                LocationPosition *pos = (LocationPosition *) position;
                ((location_zone_changed_cb) handle->user_cb[_LOCATIONS_EVENT_TYPE_BOUNDARY])(LOCATIONS_BOUNDARY_OUT,
-                                                                                                                                                                       pos->latitude, pos->longitude,
-                                                                                                                                                                       pos->altitude, pos->timestamp,
-                                                                                                                                                                       handle->user_data
-                                                                                                                                                                       [_LOCATIONS_EVENT_TYPE_BOUNDARY]);
+                                               pos->latitude, pos->longitude, pos->altitude, pos->timestamp, handle->user_data[_LOCATIONS_EVENT_TYPE_BOUNDARY]);
        }
 
        location_bounds_s *bounds;