[gdk-pixbuf] Do not include backend API in the gir



commit e8529ca294f2a64ee97cc87e369d1d1fe92d2560
Author: Johan Dahlin <johan gnome org>
Date:   Mon Feb 7 12:13:13 2011 -0200

    Do not include backend API in the gir
    
    We don't want GdkPixbufModule and friends exported
    in the backend module, so make sure GDK_PIXBUF_ENABLE_BACKEND
    isn't defined

 gdk-pixbuf/Makefile.am |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/gdk-pixbuf/Makefile.am b/gdk-pixbuf/Makefile.am
index 21e77ec..c9e8f33 100644
--- a/gdk-pixbuf/Makefile.am
+++ b/gdk-pixbuf/Makefile.am
@@ -693,7 +693,12 @@ GdkPixbuf_2_0_gir_SCANNERFLAGS = --warn-all --strip-prefix=Gdk --c-include="gdk-
 GdkPixbuf_2_0_gir_EXPORT_PACKAGES = gdk-pixbuf-2.0
 GdkPixbuf_2_0_gir_INCLUDES = GModule-2.0 Gio-2.0
 GdkPixbuf_2_0_gir_LIBS = libgdk_pixbuf-2.0.la
-GdkPixbuf_2_0_gir_CFLAGS = $(INCLUDES)
+GdkPixbuf_2_0_gir_CFLAGS = \
+	-DGDK_PIXBUF_COMPILATION					\
+	-I$(top_srcdir) -I$(top_builddir) 				\
+	-I$(top_srcdir)/gdk-pixbuf 					\
+	-I$(top_builddir)/gdk-pixbuf 					\
+	$(GDK_PIXBUF_DEP_CFLAGS)
 GdkPixbuf_2_0_gir_FILES = \
     $(libgdk_pixbufinclude_HEADERS) \
     $(libgdk_pixbuf_2_0_la_SOURCES)



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