gplugin/gplugin
Clone
Summary
Browse
Changes
Graph
Add GTK4 viewer outline
2021-10-09, Elliott Sales de Andrade
d926130c6d12
Add GTK4 viewer outline
This does nothing since the widget isn't implemented, but it's setup to use GTK4 paradigms.
Testing Done:
Compile and run `gplugin-gtk4-viewer` with the various options, and some temporary debug prints.
Reviewed at https://reviews.imfreedom.org/r/992/
if
get_option
(
'vapi'
)
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
(
'gtk3'
)
gplugin_gtk_vapi
=
gnome
.
generate_vapi
(
'gplugin-gtk3'
,
sources
:
gplugin_gtk3_gir
[
0
],
packages
:
[
'gtk+-3.0'
],
install
:
true
,
gir_dirs
:
meson
.
current_build_dir
()
/
'..'
/
'gplugin'
,
)
endif
subdir
(
'tests'
)
endif
# vala