From: Luca Bruno Date: Thu, 7 Apr 2011 20:00:43 +0000 (+0200) Subject: x11: Use XCloseDisplay free function for Display X-Git-Tag: 0.13.0~245 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b151d488d95f14f0c36181e9c5eae61df9283dde;p=thirdparty%2Fvala.git x11: Use XCloseDisplay free function for Display Fixes bug 625662. --- diff --git a/vapi/x11.vapi b/vapi/x11.vapi index a88114357..32cc79cdf 100644 --- a/vapi/x11.vapi +++ b/vapi/x11.vapi @@ -28,7 +28,7 @@ namespace X { public Status init_threads (); [Compact] - [CCode (cname = "Display", ref_function = "", unref_function = "")] + [CCode (cname = "Display", free_function = "XCloseDisplay")] public class Display { [CCode (cname = "XOpenDisplay")] public Display (string? name = null);