Duplicate wasn't copying channels correctly. Fixed. --sg

Duplicate wasn't copying channels correctly.  Fixed.
--sg
This commit is contained in:
scott 1998-02-28 05:19:42 +00:00
parent 1bc5055b12
commit 65c81c94ea
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Sat Feb 28 00:09:46 1998 Scott Goehring <scott@poverty.bloomington.in.us>
* 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)

View File

@ -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: "<old channel> copy" */
g_free (drawable_name (GIMP_DRAWABLE(new_channel)));