[gimp] app: fix tests: must not link against libgimp



commit ba4034f8dca46b7464f4f9d85857716a394bdf74
Author: Michael Natterer <mitch gimp org>
Date:   Thu May 10 22:48:37 2012 +0200

    app: fix tests: must not link against libgimp

 app/tests/Makefile.am |    2 --
 app/tests/test-xcf.c  |    2 +-
 2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/app/tests/Makefile.am b/app/tests/Makefile.am
index dd5eaa1..06a11a4 100644
--- a/app/tests/Makefile.am
+++ b/app/tests/Makefile.am
@@ -50,7 +50,6 @@ libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la
 libgimpmodule = $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).la
 libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la
 libgimpthumb = $(top_builddir)/libgimpthumb/libgimpthumb-$(GIMP_API_VERSION).la
-libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la
 
 AM_CPPFLAGS = \
 	-I$(top_srcdir)		\
@@ -114,7 +113,6 @@ LDADD = \
 	$(top_builddir)/app/gegl/libappgegl.a			\
 	$(top_builddir)/app/operations/libappoperations.a	\
 	libgimpapptestutils.a					\
-	$(libgimp)						\
 	$(libgimpwidgets)					\
 	$(libgimpconfig)					\
 	$(libgimpmath)						\
diff --git a/app/tests/test-xcf.c b/app/tests/test-xcf.c
index 0ec9dd6..7d20eff 100644
--- a/app/tests/test-xcf.c
+++ b/app/tests/test-xcf.c
@@ -727,7 +727,7 @@ gimp_assert_mainimage (GimpImage *image,
   g_assert_cmpint (gimp_image_get_height (image),
                    ==,
                    GIMP_MAINIMAGE_HEIGHT);
-  g_assert_cmpint (gimp_image_base_type (image),
+  g_assert_cmpint (gimp_image_get_base_type (image),
                    ==,
                    GIMP_MAINIMAGE_TYPE);
 



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