use GIMP_PDB_EXECUTION_ERROR

This commit is contained in:
Asbjørn Pettersen 2000-12-17 10:46:02 +00:00
parent b9de2ab687
commit 9d4530175e
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2000-12-17 Asbjorn Pettersen <asbjornP@dualog.no>
* plug-ins/common/gz.c (save_image): Use GIMP_PDB_EXECUTION_ERROR.
OS/2 fix.
2000-12-16 Sven Neumann <sven@gimp.org>
* Makefile.am

View File

@ -344,7 +344,7 @@ save_image (gchar *filename,
if (spawn_gzip (filename, tmpname, "-cf", &pid) == -1)
{
g_free (tmpname);
return STATUS_EXECUTION_ERROR;
return GIMP_PDB_EXECUTION_ERROR;
}
sleep (2); /* silly wait */
#else /* UNIX */
@ -456,7 +456,7 @@ load_image (gchar *filename,
if (spawn_gzip (tmpname, filename, "-cfd", &pid) == -1)
{
g_free (tmpname);
*status = STATUS_EXECUTION_ERROR;
*status = GIMP_PDB_EXECUTION_ERROR;
return -1;
}
#else /* UNIX */

View File

@ -344,7 +344,7 @@ save_image (gchar *filename,
if (spawn_gzip (filename, tmpname, "-cf", &pid) == -1)
{
g_free (tmpname);
return STATUS_EXECUTION_ERROR;
return GIMP_PDB_EXECUTION_ERROR;
}
sleep (2); /* silly wait */
#else /* UNIX */
@ -456,7 +456,7 @@ load_image (gchar *filename,
if (spawn_gzip (tmpname, filename, "-cfd", &pid) == -1)
{
g_free (tmpname);
*status = STATUS_EXECUTION_ERROR;
*status = GIMP_PDB_EXECUTION_ERROR;
return -1;
}
#else /* UNIX */