]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gnutls: Fix free_function ccode-attribute of Certificate
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 29 Sep 2017 10:50:09 +0000 (12:50 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 5 Oct 2017 20:31:39 +0000 (22:31 +0200)
Remove an extra space which breaks null-safe free-wrapper generation.

Thanks to getzze

https://bugzilla.gnome.org/show_bug.cgi?id=788181

vapi/gnutls.vapi

index 67b77c5b213d842abdb3a813e0fc78f9b930a01f..b7bd2817b5b61e30f754b8cbd14bb8a6b8adb1ef 100644 (file)
@@ -908,7 +908,7 @@ namespace GnuTLS
                }
 
                [Compact]
-               [CCode (cname = "struct gnutls_x509_crt_int", cprefix = "gnutls_x509_crt_", free_function = "gnutls_x509_crt_deinit ")]
+               [CCode (cname = "struct gnutls_x509_crt_int", cprefix = "gnutls_x509_crt_", free_function = "gnutls_x509_crt_deinit")]
                public class Certificate
                {
                        private static int init (out Certificate cert);