Blob Blame History Raw
From 79b4b4007db1dd4ad09d32c8461e6768cd4300bf Mon Sep 17 00:00:00 2001
From: Iain Lane <iainl@gnome.org>
Date: Wed, 12 Sep 2018 12:50:34 +0100
Subject: [PATCH] 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',
-- 
2.20.1