From 0a82554f4df6fd1f4bff850076771c148359ac68 Mon Sep 17 00:00:00 2001 From: Hib Eris Date: Sat, 20 Oct 2012 09:40:09 +0200 Subject: [PATCH 2/3] Include Gio-2.0 for introspection Fixes g-ir-scanner warnings: poppler-document.cc:257: Warning: Poppler: poppler_document_new_from_stream: argument stream: Unresolved type: 'GInputStream*' poppler-document.cc:257: Warning: Poppler: poppler_document_new_from_stream: argument cancellable: Unresolved type: 'GCancellable*' poppler-document.cc:315: Warning: Poppler: poppler_document_new_from_gfile: argument file: Unresolved type: 'GFile*' poppler-document.cc:315: Warning: Poppler: poppler_document_new_from_gfile: argument cancellable: Unresolved type: 'GCancellable*' --- glib/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/glib/Makefile.am b/glib/Makefile.am index 534a48e..d3d65dc 100644 --- a/glib/Makefile.am +++ b/glib/Makefile.am @@ -95,7 +95,7 @@ INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir) introspection_files = $(filter-out poppler-private.h, $(libpoppler_glib_la_SOURCES)) $(poppler_glib_include_HEADERS) $(nodist_poppler_glib_include_HEADERS) Poppler-0.18.gir: libpoppler-glib.la -Poppler_0_18_gir_INCLUDES = GObject-2.0 cairo-1.0 +Poppler_0_18_gir_INCLUDES = GObject-2.0 Gio-2.0 cairo-1.0 Poppler_0_18_gir_CFLAGS = $(INCLUDES) -I$(top_builddir) Poppler_0_18_gir_LIBS = libpoppler-glib.la Poppler_0_18_gir_FILES = $(introspection_files) -- 1.7.5.4