From: Evan Nemerson Date: Fri, 8 Feb 2013 08:33:01 +0000 (-0800) Subject: x11: add has_destroy_function = false to WindowAttributes X-Git-Tag: 0.19.0~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8f01d3db5d57e4ee0427a6c2f02f926835f8db7;p=thirdparty%2Fvala.git x11: add has_destroy_function = false to WindowAttributes Fixes bug 690870. --- diff --git a/vapi/x11.vapi b/vapi/x11.vapi index be66e56f8..3ed9813d4 100644 --- a/vapi/x11.vapi +++ b/vapi/x11.vapi @@ -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 */