[gdk-pixbuf/wip/gir-include-pixdata-sources] build: Include gdk-pixdata.c when building GdkPixbuf-2.0.gir



commit 79b4b4007db1dd4ad09d32c8461e6768cd4300bf
Author: Iain Lane <iainl gnome org>
Date:   Wed Sep 12 12:50:34 2018 +0100

    build: Include gdk-pixdata.c when building GdkPixbuf-2.0.gir
    
    After the split, this wasn't included here. We need this file because
    it contains the annotations for gdk_pixbuf_new_from_inline - without
    those we generate broken introspection metadata.
    
    Closes #92

 gdk-pixbuf/meson.build | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/gdk-pixbuf/meson.build b/gdk-pixbuf/meson.build
index 9acb2c414..9a1083a93 100644
--- a/gdk-pixbuf/meson.build
+++ b/gdk-pixbuf/meson.build
@@ -189,7 +189,11 @@ if build_gir
 
   gdkpixbuf_gir = gnome.generate_gir(
     gdkpixbuf,
-    sources: gdkpixbuf_sources + gdkpixbuf_headers + gdkpixbuf_enums + [
+    sources: [
+      gdkpixbuf_sources,
+      gdkpixbuf_headers,
+      gdkpixbuf_enums,
+      gdkpixdata_sources,
       gdk_pixbuf_features_h,
     ],
     namespace: 'GdkPixbuf',


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