]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
x11: add has_destroy_function = false to WindowAttributes
authorEvan Nemerson <evan@coeus-group.com>
Fri, 8 Feb 2013 08:33:01 +0000 (00:33 -0800)
committerEvan Nemerson <evan@coeus-group.com>
Fri, 8 Feb 2013 08:33:01 +0000 (00:33 -0800)
Fixes bug 690870.

vapi/x11.vapi

index be66e56f8e93dfcdb5e5a913ca9704403d9b66e9..3ed9813d4aeddc8239b43ed5683fdac4b79cb874 100644 (file)
@@ -542,8 +542,7 @@ namespace X {
                public Cursor cursor;           /* cursor to be displayed (or None) */
        }
 
-       [CCode(cname = "XWindowAttributes",
-              cheader_filename = "X11/Xlib.h,X11/Xatom.h,X11/Xutil.h")]
+       [CCode (cname = "XWindowAttributes", has_destroy_function = false, cheader_filename = "X11/Xlib.h,X11/Xatom.h,X11/Xutil.h")]
        public struct WindowAttributes {
                public int x;
                public int y;                   /* location of window */