libmalcontent: Add enum types to fix introspection of MctManagerError
Without a GType for the error enum, g-ir-scanner fails to properly associate it with the error quark function, and (for example) error code matching in JS doesn’t work. This adds the enum types in a new public header file. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
2d7e38aa74
commit
aaca135199
3 changed files with 11 additions and 2 deletions
|
@ -21,6 +21,7 @@ bindir = join_paths(prefix, get_option('bindir'))
|
|||
datadir = join_paths(prefix, get_option('datadir'))
|
||||
libdir = join_paths(prefix, get_option('libdir'))
|
||||
libexecdir = join_paths(prefix, get_option('libexecdir'))
|
||||
includedir = join_paths(prefix, get_option('includedir'))
|
||||
|
||||
# FIXME: This isn’t exposed in accountsservice.pc
|
||||
# See https://gitlab.freedesktop.org/accountsservice/accountsservice/merge_requests/16
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue