mirror of https://github.com/GNOME/gimp.git
use GIMP_PDB_EXECUTION_ERROR
This commit is contained in:
parent
b9de2ab687
commit
9d4530175e
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue