From 65c81c94ea65decaa9cd384b6012b0abacf742eb Mon Sep 17 00:00:00 2001 From: scott Date: Sat, 28 Feb 1998 05:19:42 +0000 Subject: [PATCH] Duplicate wasn't copying channels correctly. Fixed. --sg Duplicate wasn't copying channels correctly. Fixed. --sg --- ChangeLog | 5 +++++ app/gimage_cmds.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5d1e37a303..57ec755f38 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Feb 28 00:09:46 1998 Scott Goehring + + * app/gimage_cmds.c (duplicate): Duplicate image wasn't copying + channels to the new image. Fixed. + Fri Feb 27 23:02:10 MET 1998 Sven Neumann (sven@gimp.org) * app/about_dialog.c: (about_dialog_load_logo) diff --git a/app/gimage_cmds.c b/app/gimage_cmds.c index 22a07f1d39..a82589fca8 100644 --- a/app/gimage_cmds.c +++ b/app/gimage_cmds.c @@ -3289,6 +3289,7 @@ duplicate (GImage *gimage) list = g_slist_next (list); new_channel = channel_copy (channel); + GIMP_DRAWABLE(new_channel)->gimage_ID = new_gimage->ID; /* Make sure the copied channel doesn't say: " copy" */ g_free (drawable_name (GIMP_DRAWABLE(new_channel)));