From ee47c04643b1688a8aeb78e2886528d249f61815 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20No=C3=ABl?= Date: Wed, 8 Dec 2021 11:30:15 +0100 Subject: [PATCH] contrib/vapi: Rename PoolFlag to PoolFlags to add the missing deprecated flags Using the previously unknown PoolFlag made it an API break. --- contrib/vapi/AppStream-1.0-custom.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/vapi/AppStream-1.0-custom.vala b/contrib/vapi/AppStream-1.0-custom.vala index 42cdd8ead..da9d449cc 100644 --- a/contrib/vapi/AppStream-1.0-custom.vala +++ b/contrib/vapi/AppStream-1.0-custom.vala @@ -11,8 +11,8 @@ namespace AppStream { INPUTMETHOD } - [CCode (cheader_filename = "appstream.h", cprefix = "AS_POOL_FLAG_", has_type_id = false)] - public enum PoolFlag { + [Flags] + public enum PoolFlags { [Version (deprecated = true, replacement = "LOAD_OS_COLLECTION")] READ_COLLECTION, [Version (deprecated = true, replacement = "LOAD_OS_METAINFO")]