[poppler] configure.ac glib/demo
Carlos Garcia Campos
carlosgc at kemper.freedesktop.org
Mon Nov 9 02:14:09 PST 2009
configure.ac | 4 ++--
glib/demo/main.c | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
New commits:
commit ac4955d03a532cab1933698aeb667d44300e52d0
Author: Carlos Garcia Campos <carlosgc at gnome.org>
Date: Mon Nov 9 11:12:48 2009 +0100
[glib-demo] Explicitely add gio as dependency for GTK+ tests
diff --git a/configure.ac b/configure.ac
index 13d492a..0ff2c59 100644
--- a/configure.ac
+++ b/configure.ac
@@ -451,9 +451,9 @@ AC_ARG_ENABLE(gtk-test,
enable_gtk_test=$enableval,
enable_gtk_test="try")
if test x$enable_gtk_test = xyes; then
- PKG_CHECK_MODULES(GTK_TEST, gtk+-2.0 >= 2.12 gdk-pixbuf-2.0 gthread-2.0)
+ PKG_CHECK_MODULES(GTK_TEST, gtk+-2.0 >= 2.12 gdk-pixbuf-2.0 gthread-2.0 gio-2.0)
elif test x$enable_gtk_test = xtry; then
- PKG_CHECK_MODULES(GTK_TEST, gtk+-2.0 >= 2.12 gdk-pixbuf-2.0 gthread-2.0,
+ PKG_CHECK_MODULES(GTK_TEST, gtk+-2.0 >= 2.12 gdk-pixbuf-2.0 gthread-2.0 gio-2.0,
[enable_gtk_test="yes"],
[enable_gtk_test="no"])
fi
diff --git a/glib/demo/main.c b/glib/demo/main.c
index 3026c6c..36994bb 100644
--- a/glib/demo/main.c
+++ b/glib/demo/main.c
@@ -17,6 +17,7 @@
*/
#include <gtk/gtk.h>
+#include <gio/gio.h>
#include <poppler.h>
#include <string.h>
More information about the poppler
mailing list