From c67fa791be82c47c0db47b3315f25c7253286aae Mon Sep 17 00:00:00 2001 From: Jehan Date: Sat, 27 Jul 2019 23:29:41 +0200 Subject: [PATCH] GOI: add more introspected libraries as dependencies to ours. This fixes various "Unresolved type" warnings. --- Makefile.am | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index ee48048126..336b9b5f36 100644 --- a/Makefile.am +++ b/Makefile.am @@ -197,7 +197,16 @@ Gimp-@GIMP_API_VERSION@.gir: \ libgimpthumb/libgimpthumb-@GIMP_API_VERSION@.la \ Makefile -Gimp_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_gir_INCLUDES = GObject-2.0 GLib-2.0 +# The various other GObject-Introspected libraries our API references +# (i.e. types used in parameters or returned values). +Gimp_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_gir_INCLUDES = \ + cairo-1.0 \ + GdkPixbuf-2.0 \ + Gegl-0.4 \ + Gio-2.0 \ + GLib-2.0 \ + GObject-2.0 + Gimp_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_gir_CFLAGS = \ -DGIMP_COMPILATION \ -DGIMP_BASE_COMPILATION \