From 4a9c05ea372e8f1279644ad6dc519ca407aec88a Mon Sep 17 00:00:00 2001 From: Marvin W Date: Tue, 21 Jan 2020 21:53:43 +0100 Subject: Enabling display of more compiler warnings and fix some of them Most of these are caused by various issues is the Vala compiler, but it doesn't hurt to display them and report them upstream. --- plugins/crypto-vala/vapi/gcrypt.vapi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/crypto-vala/vapi') diff --git a/plugins/crypto-vala/vapi/gcrypt.vapi b/plugins/crypto-vala/vapi/gcrypt.vapi index ca620e0f..0fa69a02 100644 --- a/plugins/crypto-vala/vapi/gcrypt.vapi +++ b/plugins/crypto-vala/vapi/gcrypt.vapi @@ -608,9 +608,9 @@ namespace GCrypt { CBC_CTS, /* Enable CBC cipher text stealing (CTS). */ CBC_MAC /* Enable CBC message auth. code (MAC). */ } - [Compact] [CCode (cname = "gcry_cipher_hd_t", lower_case_cprefix = "gcry_cipher_", free_function = "gcry_cipher_close")] - public class Cipher { + [SimpleType] + public struct Cipher { public static Error open (out Cipher cipher, Algorithm algo, Mode mode, Flag flags); public void close (); [CCode (cname = "gcry_cipher_ctl")] -- cgit v1.2.3-54-g00ecf