[gimp] app/tests: Fix inludes of non-UI tests
- From: Martin Nordholts <martinn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app/tests: Fix inludes of non-UI tests
- Date: Tue, 26 Oct 2010 12:25:16 +0000 (UTC)
commit d3c97238a3d305f1b25e46e4fc18b7507f043058
Author: Martin Nordholts <martinn src gnome org>
Date: Tue Oct 26 14:35:06 2010 +0200
app/tests: Fix inludes of non-UI tests
Eventually we might want to be more strict, but I think it will be
fine to depend on UI headers in non-UI tests. Non-UI tests just means
we don't need to initalize the UI.
app/tests/test-core.c | 5 ++++-
app/tests/test-xcf.c | 4 +++-
2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/app/tests/test-core.c b/app/tests/test-core.c
index acff623..bd98df6 100644
--- a/app/tests/test-core.c
+++ b/app/tests/test-core.c
@@ -16,8 +16,11 @@
*/
#include <gegl.h>
+#include <gtk/gtk.h>
-#include "core/core-types.h"
+#include "widgets/widgets-types.h"
+
+#include "widgets/gimpuimanager.h"
#include "core/gimp.h"
#include "core/gimpimage.h"
diff --git a/app/tests/test-xcf.c b/app/tests/test-xcf.c
index 13c18cb..e93dc96 100644
--- a/app/tests/test-xcf.c
+++ b/app/tests/test-xcf.c
@@ -23,7 +23,9 @@
#include "libgimpbase/gimpbase.h"
-#include "core/core-types.h"
+#include "widgets/widgets-types.h"
+
+#include "widgets/gimpuimanager.h"
#include "core/gimp.h"
#include "core/gimpchannel.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]