gplugin/gplugin
Clone
Summary
Browse
Changes
Graph
Make GPluginFileSource public
3 months ago, Gary Kramlich
7d9e362672b7
Make GPluginFileSource public
This also adds api for managing the paths it looks at. Currently GPluginManager
forwards the existing API to these new methods.
Testing Done:
Ran with the turtles.
Reviewed at https://reviews.imfreedom.org/r/2982/
if
not
get_option
(
'vapi'
)
subdir_done
()
endif
if
not
get_option
(
'introspection'
)
error
(
'Vala generation requires GObject Introspection.'
)
endif
add_languages
(
'vala'
,
native
:
false
)
gplugin_vapi
=
gnome
.
generate_vapi
(
'gplugin'
,
sources
:
gplugin_gir
[
0
],
install
:
true
,
)
if
get_option
(
'gtk4'
).
allowed
()
gnome
.
generate_vapi
(
'gplugin-gtk4'
,
sources
:
gplugin_gtk4_gir
[
0
],
packages
:
[
'gtk4'
],
install
:
true
,
gir_dirs
:
meson
.
current_build_dir
()
/
'..'
/
'gplugin'
,
)
endif
subdir
(
'tests'
)