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



commit 39771cb0b1d0bb01ed22f87c2c20408187b2e8b0
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 | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gdk-pixbuf/meson.build b/gdk-pixbuf/meson.build
index 9acb2c414..6cf5b546b 100644
--- a/gdk-pixbuf/meson.build
+++ b/gdk-pixbuf/meson.build
@@ -189,8 +189,11 @@ if build_gir
 
   gdkpixbuf_gir = gnome.generate_gir(
     gdkpixbuf,
-    sources: gdkpixbuf_sources + gdkpixbuf_headers + gdkpixbuf_enums + [
-      gdk_pixbuf_features_h,
+    sources: [ gdkpixbuf_sources,
+               gdkpixbuf_headers,
+               gdkpixbuf_enums,
+               gdkpixdata_sources,
+               gdk_pixbuf_features_h,
     ],
     namespace: 'GdkPixbuf',
     nsversion: gdk_pixbuf_api_version,


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