pass the error also to file_utils_filename_to_uri().

2007-12-05  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/fileops.pdb: pass the error also to
	file_utils_filename_to_uri().

	* app/pdb/fileops_cmds.c: regenerated.


svn path=/trunk/; revision=24268
This commit is contained in:
Michael Natterer 2007-12-05 20:32:55 +00:00 committed by Michael Natterer
parent 78f41a843e
commit e0035a8efa
3 changed files with 15 additions and 8 deletions
ChangeLog
app/pdb
tools/pdbgen/pdb

View File

@ -1,3 +1,10 @@
2007-12-05 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/fileops.pdb: pass the error also to
file_utils_filename_to_uri().
* app/pdb/fileops_cmds.c: regenerated.
2007-12-05 Sven Neumann <sven@gimp.org>
* modules/gimpinputdevicestore-dx.c

View File

@ -63,7 +63,7 @@ file_load_invoker (GimpProcedure *procedure,
uri = file_utils_filename_to_uri (gimp,
g_value_get_string (&args->values[1]),
NULL);
error);
if (! uri)
return gimp_procedure_get_return_values (procedure, FALSE);
@ -130,7 +130,7 @@ file_load_layer_invoker (GimpProcedure *procedure,
if (success)
{
gchar *uri = file_utils_filename_to_uri (gimp, filename, NULL);
gchar *uri = file_utils_filename_to_uri (gimp, filename, error);
if (uri)
{
@ -183,7 +183,7 @@ file_load_layers_invoker (GimpProcedure *procedure,
if (success)
{
gchar *uri = file_utils_filename_to_uri (gimp, filename, NULL);
gchar *uri = file_utils_filename_to_uri (gimp, filename, error);
if (uri)
{
@ -245,7 +245,7 @@ file_save_invoker (GimpProcedure *procedure,
uri = file_utils_filename_to_uri (gimp,
g_value_get_string (&args->values[3]),
NULL);
error);
if (! uri)
return gimp_procedure_get_return_values (procedure, FALSE);

View File

@ -60,7 +60,7 @@ HELP
uri = file_utils_filename_to_uri (gimp,
g_value_get_string (&args->values[1]),
NULL);
error);
if (! uri)
return gimp_procedure_get_return_values (procedure, FALSE);
@ -138,7 +138,7 @@ HELP
%invoke = (
code => <<'CODE'
{
gchar *uri = file_utils_filename_to_uri (gimp, filename, NULL);
gchar *uri = file_utils_filename_to_uri (gimp, filename, error);
if (uri)
{
@ -195,7 +195,7 @@ HELP
%invoke = (
code => <<'CODE'
{
gchar *uri = file_utils_filename_to_uri (gimp, filename, NULL);
gchar *uri = file_utils_filename_to_uri (gimp, filename, error);
if (uri)
{
@ -273,7 +273,7 @@ HELP
uri = file_utils_filename_to_uri (gimp,
g_value_get_string (&args->values[3]),
NULL);
error);
if (! uri)
return gimp_procedure_get_return_values (procedure, FALSE);