update_engine: Register the default marshaller before adding a signal.
dbus-glib requires to register a marshaller for the received signal
before connecting to it. This patch registers the default marshaller
before calling dbus_g_proxy_add_signal().
BUG=chromium:433103
TEST=`update_engine --foreground --logtostderr` doesn't show the warning about PropertyChanged.
Change-Id: I247d46d2ee603b145d8b6a65bb0b12340654c044
Reviewed-on: https://chromium-review.googlesource.com/229665
Tested-by: Alex Deymo <deymo@chromium.org>
Reviewed-by: David Zeuthen <zeuthen@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
1 file changed