Unbreak 'update_engine_client -watch_for_updates'.
In CL:186384 we started relying on GLib's ability to use a generic
marshaller when NULL is passed. This was manually tested but
unfortunately the wrong codepath was being tested so
$ update_engine_client -watch_for_updates
has been broken since. The problem is that dbus-glib's
dbus_g_object_register_marshaller() function does still not support a
NULL marshaller. This is easily fixed by passing
g_cclosure_marshal_generic() instead of NULL.
BUG=None
TEST=Verified that 'update_engine_client -watch_for_updates' works again.
Change-Id: Ia038d89fcec8d650fc2ac48f348811e5a363022b
Reviewed-on: https://chromium-review.googlesource.com/193605
Tested-by: David Zeuthen <zeuthen@chromium.org>
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
Reviewed-by: Gilad Arnold <garnold@chromium.org>
Commit-Queue: David Zeuthen <zeuthen@chromium.org>
1 file changed