[gimp] app/tests: Make channel same size as image in XCF test
- From: Martin Nordholts <martinn src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] app/tests: Make channel same size as image in XCF test
- Date: Sat, 2 Jan 2010 22:18:05 +0000 (UTC)
commit 0724959b61d2528bf09540d5017924683d02f891
Author: Martin Nordholts <martinn src gnome org>
Date: Sat Jan 2 23:06:57 2010 +0100
app/tests: Make channel same size as image in XCF test
In order to avoid crashes when rending the image, make the channel the
same size as the image.
app/tests/test-xcf.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/tests/test-xcf.c b/app/tests/test-xcf.c
index 0551d2c..891a7e2 100644
--- a/app/tests/test-xcf.c
+++ b/app/tests/test-xcf.c
@@ -95,8 +95,8 @@
#define GIMP_MAINIMAGE_GRIDYSPACING 27.0
#define GIMP_MAINIMAGE_CHANNEL1_NAME "channel1"
-#define GIMP_MAINIMAGE_CHANNEL1_WIDTH 87
-#define GIMP_MAINIMAGE_CHANNEL1_HEIGHT 9
+#define GIMP_MAINIMAGE_CHANNEL1_WIDTH GIMP_MAINIMAGE_WIDTH
+#define GIMP_MAINIMAGE_CHANNEL1_HEIGHT GIMP_MAINIMAGE_HEIGHT
#define GIMP_MAINIMAGE_CHANNEL1_COLOR { 1.0, 0.0, 1.0, 1.0 }
#define GIMP_MAINIMAGE_SELECTION_X 5
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]