From 39afe18221c857aea99d4f3cfc720f29093978d6 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 14 Feb 2024 11:54:21 +0000 Subject: [PATCH] girepository: Add GI_REPOSITORY_LOAD_FLAG_NONE This just makes code using the load flags a little more readable. Signed-off-by: Philip Withnall --- girepository/girepository.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/girepository/girepository.h b/girepository/girepository.h index fa0b93e30..4480731f7 100644 --- a/girepository/girepository.h +++ b/girepository/girepository.h @@ -62,6 +62,7 @@ G_DECLARE_FINAL_TYPE (GIRepository, gi_repository, GI, REPOSITORY, GObject) /** * GIRepositoryLoadFlags: + * @GI_REPOSITORY_LOAD_FLAG_NONE: No flags set. * @GI_REPOSITORY_LOAD_FLAG_LAZY: Lazily load the typelib. * * Flags that control how a typelib is loaded. @@ -70,6 +71,7 @@ G_DECLARE_FINAL_TYPE (GIRepository, gi_repository, GI, REPOSITORY, GObject) */ typedef enum { + GI_REPOSITORY_LOAD_FLAG_NONE = 0, GI_REPOSITORY_LOAD_FLAG_LAZY = 1 << 0 } GIRepositoryLoadFlags;