Merge branch 'hide-private-structs' into 'main'

build: Hide private structs from generated GIR files

See merge request pwithnall/malcontent!163
This commit is contained in:
Philip Withnall 2023-12-20 11:04:46 +00:00
commit 7c615a46b9
3 changed files with 3 additions and 1 deletions

View File

@ -48,6 +48,7 @@ typedef enum
struct _MctAppFilter
{
/*< private >*/
gint ref_count;
uid_t user_id;

View File

@ -66,7 +66,7 @@ pkgconfig.generate(libmalcontent,
)
libmalcontent_gir = gnome.generate_gir(libmalcontent,
sources: libmalcontent_sources + libmalcontent_headers + libmalcontent_private_headers + enums,
sources: libmalcontent_sources + libmalcontent_headers + enums,
nsversion: libmalcontent_api_version,
namespace: 'Malcontent',
symbol_prefix: 'mct_',

View File

@ -50,6 +50,7 @@ typedef enum
struct _MctSessionLimits
{
/*< private >*/
gint ref_count;
uid_t user_id;