detach from the drawable.
2005-04-28 Sven Neumann <sven@gimp.org> * plug-ins/jpeg/jpeg-load.c (load_image): detach from the drawable.
This commit is contained in:
parent
35ce8a9610
commit
998ea546cd
2 changed files with 6 additions and 2 deletions
|
|
@ -1,3 +1,7 @@
|
|||
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. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue