mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
Fixed the bug in duplicate I introduced because I can't tell gimage_ID
from ID. :) --sg
This commit is contained in:
parent
fd666e157c
commit
d2c6ecd2d9
|
@ -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
|
||||
|
|
|
@ -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)));
|
||||
|
|
Loading…
Reference in a new issue