Fixed the bug in duplicate I introduced because I can't tell gimage_ID

from ID. :)
--sg
This commit is contained in:
scott 1998-01-25 22:19:01 +00:00
parent fd666e157c
commit d2c6ecd2d9
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Sun Jan 25 16:56:49 1998 Scott Goehring <scott@poverty.bloomington.in.us>
* app/gimage_cmds.c (duplicate): Fixed a bug in duplicate that was
entirely my fault. :)
Sun Jan 25 16:51:56 EST 1998 Adrian Likins <adrian@gimp.org>
* added the gtk_window_set_wmclass to most of the gimp

View File

@ -3253,7 +3253,7 @@ duplicate (GImage *gimage)
list = next_item (list);
new_layer = layer_copy (layer, FALSE);
GIMP_DRAWABLE(new_layer)->ID = new_gimage->ID;
GIMP_DRAWABLE(new_layer)->gimage_ID = new_gimage->ID;
/* Make sure the copied layer doesn't say: "<old layer> copy" */
g_free (drawable_name (GIMP_DRAWABLE(new_layer)));