Commit 998ea546 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

detach from the drawable.

2005-04-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c (load_image): detach from the drawable.
parent 35ce8a96
2005-04-28 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg-load.c (load_image): detach from the drawable.
2005-04-28 Sven Neumann <sven@gimp.org>
* app/core/gimptemplate.c (gimp_template_create_image): fill the
......
......@@ -455,10 +455,10 @@ load_image (const gchar *filename,
* warnings occurred (test whether jerr.num_warnings is nonzero).
*/
/* Tell the GIMP to display the image.
/* Detach from the drawable and add it to the image.
*/
gimp_drawable_detach (drawable);
gimp_image_add_layer (image_ID, layer_ID, 0);
gimp_drawable_flush (drawable);
/* pw - Last of all, attach the parasites (couldn't do it earlier -
there was no image. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment