From a7b7e83e3c07edc88738ea2f968f2c1bcef55613 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrg=20Billeter?= Date: Sun, 26 Dec 2010 12:40:00 +0100 Subject: [PATCH] dbus-glib-1: Fix cname of RawMessageType and RawType enums Fixes bug 637971. --- vapi/dbus-glib-1.vapi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vapi/dbus-glib-1.vapi b/vapi/dbus-glib-1.vapi index cc70e1eb5..5502fe2d6 100644 --- a/vapi/dbus-glib-1.vapi +++ b/vapi/dbus-glib-1.vapi @@ -159,7 +159,7 @@ namespace DBus { public bool get_path_decomposed (out char[] path ); } - [CCode (cprefix = "DBUS_MESSAGE_TYPE_")] + [CCode (cname = "int", cprefix = "DBUS_MESSAGE_TYPE_")] public enum RawMessageType { INVALID, METHOD_CALL, @@ -168,7 +168,7 @@ namespace DBus { SIGNAL } - [CCode (cprefix = "DBUS_TYPE_")] + [CCode (cname = "int", cprefix = "DBUS_TYPE_")] public enum RawType { INVALID, BYTE, -- 2.47.2