[gtk: 1/2] Include gtk/gtk-a11y.h in introspection file.



commit 7ba53de1e8824e473c3b78bfd6b5e91bbd708875
Author: Tomasz Miąsko <tomasz miasko gmail com>
Date:   Sat Mar 3 00:00:00 2018 +0000

    Include gtk/gtk-a11y.h in introspection file.
    
    The gir XML file contains description of types and functions from
    gtk/gtk-a11y.h. Indicate that this header should be included in addition
    to gtk/gtk.h in applications written in C. #56

 gtk/meson.build | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gtk/meson.build b/gtk/meson.build
index 43e3c1daaa..3acc924de3 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -1045,6 +1045,7 @@ if build_gir
                                dependencies: gsk_gir_dep,
                                extra_args: gir_args + [
                                  '-DGTK_COMPILATION',
+                                 '--c-include=gtk/gtk-a11y.h',
                                ])
   gtk_dep_sources += gtk_gir
 endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]