summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Kim <justin.kim@collabora.com>2016-05-26 09:59:02 +0900
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>2016-07-01 16:31:58 +0100
commit9d2cc0aaf885e01a89d689958f5afa9321fb6ab6 (patch)
tree5e60cd7a5c10b34f16dea86ebd63ed80ab91365c
parent2e648d9ff1bbf4bdcb73c600382a35d7349c0131 (diff)
downloadgeoclue-9d2cc0aaf885e01a89d689958f5afa9321fb6ab6.tar.gz
client: Annotate default value of DistanceThreshold
The default value of DistanceThreshold is zero. https://bugs.freedesktop.org/show_bug.cgi?id=94460
-rw-r--r--src/org.freedesktop.GeoClue2.Client.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/org.freedesktop.GeoClue2.Client.xml b/src/org.freedesktop.GeoClue2.Client.xml
index 9c47db7..c754d5b 100644
--- a/src/org.freedesktop.GeoClue2.Client.xml
+++ b/src/org.freedesktop.GeoClue2.Client.xml
@@ -37,8 +37,12 @@
Contains the current distance threshold in meters. This value is used
by the service when it gets new location info. If the distance moved is
below the threshold, it won't emit the LocationUpdated signal.
+ The default value is 0. When TimeThreshold is zero, it always emits
+ the signal.
-->
- <property name="DistanceThreshold" type="u" access="readwrite"/>
+ <property name="DistanceThreshold" type="u" access="readwrite">
+ <annotation name="org.freedesktop.Accounts.DefaultValue" value="0"/>
+ </property>
<!--
DesktopId: