From: Luca Bruno Date: Mon, 1 Aug 2011 16:10:02 +0000 (+0200) Subject: x11: Turn Visual into a compact class without memory management X-Git-Tag: 0.13.2~90 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=6504e97a6b0fd86f5acdf95aa053c740a3659939;p=thirdparty%2Fvala.git x11: Turn Visual into a compact class without memory management --- diff --git a/vapi/x11.vapi b/vapi/x11.vapi index 5a01781b5..8181cb1b2 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 {