Bug 552785 – Script-fu run errors do not show in UI
2008-09-18 Michael Natterer <mitch@gimp.org> Bug 552785 – Script-fu run errors do not show in UI * plug-ins/script-fu/script-fu-scripts.c (script_fu_script_proc): fix the code that passes the error message back via the pipe. svn path=/trunk/; revision=26997
This commit is contained in:

committed by
Michael Natterer

parent
e0a2e4e5db
commit
be043836f6
@ -1,3 +1,10 @@
|
||||
2008-09-18 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
Bug 552785 – Script-fu run errors do not show in UI
|
||||
|
||||
* plug-ins/script-fu/script-fu-scripts.c (script_fu_script_proc):
|
||||
fix the code that passes the error message back via the pipe.
|
||||
|
||||
2008-09-18 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/script-fu/script-fu-scripts.c (script_fu_run_command):
|
||||
|
@ -758,7 +758,8 @@ script_fu_script_proc (const gchar *name,
|
||||
{
|
||||
status = GIMP_PDB_EXECUTION_ERROR;
|
||||
*nreturn_vals = 2;
|
||||
values[2].data.d_string = error->message;
|
||||
values[1].type = GIMP_PDB_STRING;
|
||||
values[1].data.d_string = error->message;
|
||||
}
|
||||
|
||||
g_free (command);
|
||||
@ -779,7 +780,8 @@ script_fu_script_proc (const gchar *name,
|
||||
{
|
||||
status = GIMP_PDB_EXECUTION_ERROR;
|
||||
*nreturn_vals = 2;
|
||||
values[2].data.d_string = error->message;
|
||||
values[1].type = GIMP_PDB_STRING;
|
||||
values[1].data.d_string = error->message;
|
||||
}
|
||||
|
||||
g_free (command);
|
||||
|
Reference in New Issue
Block a user