[vala/0.10] dbus-glib-1: Fix cname of RawMessageType and RawType enums



commit a7b7e83e3c07edc88738ea2f968f2c1bcef55613
Author: Jürg Billeter <j bitron ch>
Date:   Sun Dec 26 12:40:00 2010 +0100

    dbus-glib-1: Fix cname of RawMessageType and RawType enums
    
    Fixes bug 637971.

 vapi/dbus-glib-1.vapi |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/dbus-glib-1.vapi b/vapi/dbus-glib-1.vapi
index cc70e1e..5502fe2 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]