}
case PROP_MIN_DISTANCE: {
gdouble distance = g_value_get_double(value);
- LOCATION_LOGD("Set prop>> PROP_MIN_DISTANCE: %u", distance);
+ LOCATION_LOGD("Set prop>> PROP_MIN_DISTANCE: %f", distance);
priv->min_distance = distance;
break;
}
case PROP_SERVICE_STATUS: {
gint enabled = g_value_get_int(value);
- LOCATION_LOGD("Set prop>> PROP_SERVICE_STATUS: %u", enabled);
+ LOCATION_LOGD("Set prop>> PROP_SERVICE_STATUS: %d", enabled);
priv->enabled = enabled;
break;
}
}
case PROP_MIN_DISTANCE: {
gdouble distance = g_value_get_double(value);
- LOCATION_LOGD("Set prop>> PROP_MIN_DISTANCE: %u", distance);
+ LOCATION_LOGD("Set prop>> PROP_MIN_DISTANCE: %f", distance);
if (distance > 0) {
if (distance < LOCATION_MIN_DISTANCE_MAX)
priv->min_distance = distance;
}
case PROP_MIN_DISTANCE: {
gdouble distance = g_value_get_double(value);
- LOCATION_LOGD("Set prop>> update-min-distance: %u", distance);
+ LOCATION_LOGD("Set prop>> update-min-distance: %f", distance);
if (distance > 0) {
if (distance < LOCATION_MIN_DISTANCE_MAX)
priv->min_distance = distance;
}
case PROP_SERVICE_STATUS: {
gint enabled = g_value_get_int(value);
- LOCATION_LOGD("Set prop>> PROP_SERVICE_STATUS: %u", enabled);
+ LOCATION_LOGD("Set prop>> PROP_SERVICE_STATUS: %d", enabled);
priv->enabled = enabled;
break;
}
static void
wps_status_cb(gboolean enabled, LocationStatus status, gpointer self)
{
- LOCATION_LOGD("status = %d, status");
+ LOC_FUNC_LOG
g_return_if_fail(self);
LocationWpsPrivate *priv = GET_PRIVATE(self);
g_return_if_fail(priv);
}
case PROP_MIN_DISTANCE: {
gdouble distance = g_value_get_double(value);
- LOCATION_LOGD("Set prop>> update-min-distance: %u", distance);
+ LOCATION_LOGD("Set prop>> update-min-distance: %f", distance);
if (distance > 0) {
if (distance < LOCATION_MIN_DISTANCE_MAX)
priv->min_distance = distance;
}
case PROP_SERVICE_STATUS: {
gint enabled = g_value_get_int(value);
- LOCATION_LOGD("Set prop>> PROP_SERVICE_STATUS: %u", enabled);
+ LOCATION_LOGD("Set prop>> PROP_SERVICE_STATUS: %d", enabled);
priv->enabled = enabled;
break;
}
g_return_val_if_fail(obj, LOCATION_ERROR_PARAMETER);
int ret = LOCATION_ERROR_NONE;
ret = location_ielement_stop_batch(LOCATION_IELEMENT(obj));
- LOC_IF_FAIL(ret, _E, "Fail to stop_batch [%d]", err_msg(ret));
+ LOC_IF_FAIL(ret, _E, "Fail to stop_batch [%s]", err_msg(ret));
return ret;
}
Name: liblbs-location
Summary: Location Based Service Library
-Version: 1.3.11
+Version: 1.3.12
Release: 1
Group: Location/Libraries
License: Apache-2.0