projects
/
googlelatitude
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c39dae5
)
set update every 120s
author
Rodrigo Linfati
<rodrigo@linfati.cl>
Wed, 5 May 2010 16:08:48 +0000
(18:08 +0200)
committer
Rodrigo Linfati
<rodrigo@linfati.cl>
Wed, 5 May 2010 16:08:48 +0000
(18:08 +0200)
src/gps.cpp
patch
|
blob
|
history
diff --git
a/src/gps.cpp
b/src/gps.cpp
index
49506aa
..
b7ed336
100644
(file)
--- a/
src/gps.cpp
+++ b/
src/gps.cpp
@@
-10,6
+10,7
@@
GpsMaemo5::GpsMaemo5(QObject *parent) : QObject(parent) {
g_signal_connect(device, "changed", G_CALLBACK(GpsMaemo5_changed), this);
g_object_set(G_OBJECT(control), "preferred-method", LOCATION_METHOD_ACWP, NULL);
+ g_object_set(G_OBJECT(control), "preferred-interval", LOCATION_INTERVAL_120S, NULL);
location_gpsd_control_start(control);
}