Remove the marshal generation code.
Starting from GLib version 2.29.12, it's not required to provide a
marshaller function when receiving and sending signals over DBus since
the default works with all the basic types.
This was introduced in the following changes in GLib:
* https://git.gnome.org/browse/glib/commit/?id=88ab35f3cb6127036361e421987a127bddb989c8
* https://git.gnome.org/browse/glib/commit/?id=fa2861e3b6109e002b68aa105b5ecbcba88724c1
BUG=None
TEST=unittest and manual test.
Manual test procedure:
* update_engine_client sends the method request for updating and gets
the signal sent by update_engine on dbus_service.cc
Change-Id: Id13b45cb4191dcfb9cab371b82bb589c132c7e09
Reviewed-on: https://chromium-review.googlesource.com/186384
Reviewed-by: David Zeuthen <zeuthen@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
Tested-by: Alex Deymo <deymo@chromium.org>
diff --git a/update_engine_client.cc b/update_engine_client.cc
index f91c201..fc06da2 100644
--- a/update_engine_client.cc
+++ b/update_engine_client.cc
@@ -8,7 +8,6 @@
#include <gflags/gflags.h>
#include <glib.h>
-#include "update_engine/marshal.glibmarshal.h"
#include "update_engine/dbus_constants.h"
#include "update_engine/subprocess.h"
#include "update_engine/utils.h"
@@ -166,7 +165,7 @@
// Register marshaller
dbus_g_object_register_marshaller(
- update_engine_VOID__INT64_DOUBLE_STRING_STRING_INT64,
+ NULL,
G_TYPE_NONE,
G_TYPE_INT64,
G_TYPE_DOUBLE,