diff --git a/app/core/gimp-edit.c b/app/core/gimp-edit.c index 2e8c620dbc..9382c67056 100644 --- a/app/core/gimp-edit.c +++ b/app/core/gimp-edit.c @@ -520,8 +520,8 @@ gimp_edit_paste_get_layers (GimpImage *image, } layers = gimp_edit_paste_get_tagged_layers (image, layers, NULL, floating_format, - gimp_drawable_get_base_type (drawables->data), - gimp_drawable_get_precision (drawables->data), + gimp_image_get_base_type (image), + gimp_image_get_precision (image), *paste_type); layers = g_list_reverse (layers); }