]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
dbus-glib-1: Fix cname of RawMessageType and RawType enums
authorJürg Billeter <j@bitron.ch>
Sun, 26 Dec 2010 11:40:00 +0000 (12:40 +0100)
committerJürg Billeter <j@bitron.ch>
Tue, 28 Dec 2010 18:46:36 +0000 (19:46 +0100)
Fixes bug 637971.

vapi/dbus-glib-1.vapi

index cc70e1eb51db50d386e756333bfe4733d73b6829..5502fe2d628ac7302973e7f44a9763d6d398b6f2 100644 (file)
@@ -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,