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:
commit
7c615a46b9
|
@ -48,6 +48,7 @@ typedef enum
|
||||||
|
|
||||||
struct _MctAppFilter
|
struct _MctAppFilter
|
||||||
{
|
{
|
||||||
|
/*< private >*/
|
||||||
gint ref_count;
|
gint ref_count;
|
||||||
|
|
||||||
uid_t user_id;
|
uid_t user_id;
|
||||||
|
|
|
@ -66,7 +66,7 @@ pkgconfig.generate(libmalcontent,
|
||||||
)
|
)
|
||||||
|
|
||||||
libmalcontent_gir = gnome.generate_gir(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,
|
nsversion: libmalcontent_api_version,
|
||||||
namespace: 'Malcontent',
|
namespace: 'Malcontent',
|
||||||
symbol_prefix: 'mct_',
|
symbol_prefix: 'mct_',
|
||||||
|
|
|
@ -50,6 +50,7 @@ typedef enum
|
||||||
|
|
||||||
struct _MctSessionLimits
|
struct _MctSessionLimits
|
||||||
{
|
{
|
||||||
|
/*< private >*/
|
||||||
gint ref_count;
|
gint ref_count;
|
||||||
|
|
||||||
uid_t user_id;
|
uid_t user_id;
|
||||||
|
|
Loading…
Reference in New Issue