From f709f43d1e290e092e0b02bd1fa1af480d1f8b47 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sun, 16 Jul 2017 11:04:31 +0100 Subject: [PATCH] Do not use deprecated tokens for glib-genmarshal The `NONE` token was deprecated alongside the `BOOL` token in the list of marshallable types for glib-genmarshal. While dbus-binding-tool correctly uses `BOOLEAN`, it still uses `NONE` instead of the correct `VOID` token. https://bugs.freedesktop.org/show_bug.cgi?id=101799 --- dbus/dbus-binding-tool-glib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbus/dbus-binding-tool-glib.c b/dbus/dbus-binding-tool-glib.c index f0b6bf6..ee6a612 100644 --- a/dbus/dbus-binding-tool-glib.c +++ b/dbus/dbus-binding-tool-glib.c @@ -69,7 +69,7 @@ dbus_g_type_get_marshal_name (GType gtype) switch (G_TYPE_FUNDAMENTAL (gtype)) { case G_TYPE_NONE: - return "NONE"; + return "VOID"; case G_TYPE_BOOLEAN: return "BOOLEAN"; case G_TYPE_UCHAR: -- 2.13.0