summaryrefslogtreecommitdiff
path: root/src/bin/xcf/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/xcf/main.c')
-rw-r--r--src/bin/xcf/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/xcf/main.c b/src/bin/xcf/main.c
index 62212cf..dca44d0 100644
--- a/src/bin/xcf/main.c
+++ b/src/bin/xcf/main.c
@@ -942,7 +942,7 @@ xcf_load_channel(void)
FREE(name);
/* create a new channel */
- layer = new_layer(width, height, GRAY, 255, NORMAL_MODE);
+ layer = new_layer(width, height, GRAY_GIMAGE, 255, NORMAL_MODE);
if (!layer) return NULL;
/* read in the channel properties */
if (!xcf_load_channel_props(layer)) goto error;