daemon: fix PropertiesChanged signal emission
authorDaiki Ueno <ueno@unixuser.org>
Thu, 25 Jul 2013 09:12:26 +0000 (18:12 +0900)
committerDaiki Ueno <ueno@unixuser.org>
Thu, 25 Jul 2013 09:12:26 +0000 (18:12 +0900)
commit583bfe6d59e9b5a8514bc250fcccb9cb793d8a02
tree2babb41074be774f3430d52cc9079d718bb762e2
parent77189092184d00f4ae1838e422026da0d0d96ae2
daemon: fix PropertiesChanged signal emission

This fixes a few problems of PropertiesChanged signal emission.
First, it should be sent only when the properties have changed.
Second, invalidated_properties should be set when the properties have
been reset, not on error.  Finally, the sender should be
"org.freedesktop.IBus" rather than "org.freedesktop.DBus".

BUG=
R=takao.fujiwara1@gmail.com

Review URL: https://codereview.appspot.com/11465045
bus/ibusimpl.c