[vala] x11: Turn Visual into a compact class without memory management



commit 6504e97a6b0fd86f5acdf95aa053c740a3659939
Author: Luca Bruno <lucabru src gnome org>
Date:   Mon Aug 1 18:10:02 2011 +0200

    x11: Turn Visual into a compact class without memory management

 vapi/x11.vapi |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/vapi/x11.vapi b/vapi/x11.vapi
index 5a01781..8181cb1 100644
--- a/vapi/x11.vapi
+++ b/vapi/x11.vapi
@@ -384,7 +384,9 @@ namespace X {
 	public struct Pixmap : Drawable	{
 	}
 
-	public struct Visual {
+	[CCode (ref_function = "", unref_function = "")]
+	[Compact]
+	public class Visual {
 	}
 
 	public struct WindowChanges {



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