projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdc4d98
)
clock: Emit property changed signal when time property is channged.
author
Alok Barsode
<alok.barsode@linux.intel.com>
Thu, 5 Jan 2012 12:41:13 +0000
(14:41 +0200)
committer
Daniel Wagner
<daniel.wagner@bmw-carit.de>
Mon, 9 Jan 2012 15:07:38 +0000
(16:07 +0100)
Fixes BMC#23740.
src/clock.c
patch
|
blob
|
history
diff --git
a/src/clock.c
b/src/clock.c
index 7b3e87018d3c5eb1561a2b56e61bd55e997bbff1..c98c5027ae9db344538c97465037ff681908ef26 100644
(file)
--- a/
src/clock.c
+++ b/
src/clock.c
@@
-190,6
+190,10
@@
static DBusMessage *set_property(DBusConnection *conn,
if (settimeofday(&tv, NULL) < 0)
return __connman_error_invalid_arguments(msg);
+
+ connman_dbus_property_changed_basic(CONNMAN_MANAGER_PATH,
+ CONNMAN_CLOCK_INTERFACE, "Time",
+ DBUS_TYPE_UINT64, &newval);
} else if (g_str_equal(name, "TimeUpdates") == TRUE) {
const char *strval;
enum time_updates newval;