mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 12:48:51 +00:00
Add missing GType to flags in .gir
Here is a sample diff by this change: --- Secret-1.gir.before 2019-05-07 15:20:58.252288010 +0900 +++ Secret-1.gir.after 2019-05-07 15:26:54.314413832 +0900 @@ -1141,22 +1140,32 @@ </field> </record> <bitfield name="CollectionCreateFlags" + glib:type-name="SecretCollectionCreateFlags" + glib:get-type="secret_collection_create_flags_get_type" c:type="SecretCollectionCreateFlags"> <doc xml:space="preserve">Flags for secret_collection_create().</doc> - <member name="collection_create_none" + <member name="none" value="0" - c:identifier="SECRET_COLLECTION_CREATE_NONE"> + c:identifier="SECRET_COLLECTION_CREATE_NONE" + glib:nick="none"> <doc xml:space="preserve">no flags</doc> </member> </bitfield> Other flags such as SecretServiceFlags also have GType in .gir.
This commit is contained in:
parent
b5442654d4
commit
f36379af33
@ -24,9 +24,13 @@ inc_HEADERS = \
|
||||
libsecret/secret-enum-types.h \
|
||||
$(NULL)
|
||||
|
||||
libsecret_BUILT_ENUMS = \
|
||||
libsecret/secret-enum-types.c libsecret/secret-enum-types.h \
|
||||
$(NULL)
|
||||
|
||||
libsecret_BUILT = \
|
||||
secret-dbus-generated.c secret-dbus-generated.h \
|
||||
libsecret/secret-enum-types.c libsecret/secret-enum-types.h \
|
||||
$(libsecret_BUILT_ENUMS) \
|
||||
$(NULL)
|
||||
|
||||
libsecret_PUBLIC = \
|
||||
@ -117,7 +121,7 @@ Secret_@SECRET_MAJOR@_gir_EXPORT_PACKAGES = libsecret-@SECRET_MAJOR@
|
||||
Secret_@SECRET_MAJOR@_gir_INCLUDES = GObject-2.0 Gio-2.0
|
||||
Secret_@SECRET_MAJOR@_gir_LIBS = libsecret-@SECRET_MAJOR@.la
|
||||
Secret_@SECRET_MAJOR@_gir_CFLAGS = -I$(srcdir) -I$(builddir) -DSECRET_COMPILATION
|
||||
Secret_@SECRET_MAJOR@_gir_FILES = $(libsecret_PUBLIC)
|
||||
Secret_@SECRET_MAJOR@_gir_FILES = $(libsecret_PUBLIC) $(libsecret_BUILT_ENUMS)
|
||||
Secret_@SECRET_MAJOR@_gir_SCANNERFLAGS = --c-include "libsecret/secret.h"
|
||||
|
||||
gir_DATA += Secret-@SECRET_MAJOR@.gir
|
||||
|
@ -101,6 +101,7 @@ libsecret_gir_sources = [
|
||||
'secret-value.c',
|
||||
'secret-value.h',
|
||||
]
|
||||
libsecret_gir_sources += _enums_generated
|
||||
|
||||
libsecret_gir = gnome.generate_gir(libsecret,
|
||||
sources: libsecret_gir_sources,
|
||||
|
Loading…
Reference in New Issue
Block a user