[gtk/render-node-types: 74/75] Initialize GTK when generating introspection
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/render-node-types: 74/75] Initialize GTK when generating introspection
- Date: Wed, 8 Apr 2020 14:46:36 +0000 (UTC)
commit debf664ee98858f1266d0f89da3e7aece9984147
Author: Emmanuele Bassi <ebassi gnome org>
Date: Wed Apr 8 15:38:55 2020 +0100
Initialize GTK when generating introspection
We need to initialize types before we can inspect them.
gtk/meson.build | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gtk/meson.build b/gtk/meson.build
index c7627af5f0..8223c4e629 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -1001,6 +1001,7 @@ build_gir = get_option('introspection')
if build_gir
gir_args = [
'-DGTK_COMPILATION',
+ '--add-init-section=extern void gtk_init (void); gtk_init();',
'--quiet',
]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]