mirror of https://github.com/GNOME/gimp.git
only delete the image if gimp_export_image() actually created a new one.
2007-07-23 Sven Neumann <sven@gimp.org> * plug-ins/print/print.c (print_image): only delete the image if gimp_export_image() actually created a new one. svn path=/trunk/; revision=22975
This commit is contained in:
parent
9b22106ba6
commit
08dc7006ea
|
@ -1,5 +1,8 @@
|
|||
2007-07-23 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/print/print.c (print_image): only delete the image if
|
||||
gimp_export_image() actually created a new one.
|
||||
|
||||
* plug-ins/print/print-page-layout.c: some more dialog layout tweaks.
|
||||
|
||||
2007-07-23 Sven Neumann <sven@gimp.org>
|
||||
|
|
|
@ -234,7 +234,9 @@ print_image (gint32 image_ID,
|
|||
g_object_unref (operation);
|
||||
|
||||
gimp_drawable_detach (drawable);
|
||||
gimp_image_delete (image_ID);
|
||||
|
||||
if (export == GIMP_EXPORT_EXPORT)
|
||||
gimp_image_delete (image_ID);
|
||||
|
||||
if (error)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue