]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
x11: Turn Visual into a compact class without memory management
authorLuca Bruno <lucabru@src.gnome.org>
Mon, 1 Aug 2011 16:10:02 +0000 (18:10 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Mon, 1 Aug 2011 16:10:09 +0000 (18:10 +0200)
vapi/x11.vapi

index 5a01781b55fe14f004c54c3cc0d5dfe9c61ceba8..8181cb1b2b75149d532e75525b66ed4182cc5a18 100644 (file)
@@ -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 {