pass error parameter to gimp_vectors_import functions.

2008-08-16  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/vectors.pdb: pass error parameter to
	gimp_vectors_import functions.

	* app/pdb/vectors-cmds.c: regenerated.


svn path=/trunk/; revision=26600
This commit is contained in:
Sven Neumann 2008-08-16 17:07:30 +00:00 committed by Sven Neumann
parent ec15a39b14
commit b025652601
3 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,10 @@
2008-08-16 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/vectors.pdb: pass error parameter to
gimp_vectors_import functions.
* app/pdb/vectors-cmds.c: regenerated.
2008-08-16 Martin Nordholts <martinn@svn.gnome.org> 2008-08-16 Martin Nordholts <martinn@svn.gnome.org>
* app/display/gimpdisplayshell-callbacks.c * app/display/gimpdisplayshell-callbacks.c
@ -26,7 +33,7 @@
2008-08-16 Sven Neumann <sven@gimp.org> 2008-08-16 Sven Neumann <sven@gimp.org>
If a procedure call fails, pass a string describing the error as If a procedure call fails, pass a string describing the error as
the second return value. First step towars fixing bug #344818. the second return value. First step towards fixing bug #344818.
* app/pdb/gimpprocedure.[ch] (gimp_procedure_get_return_values): * app/pdb/gimpprocedure.[ch] (gimp_procedure_get_return_values):
added a GError parameter. If it is set, pass the error message to added a GError parameter. If it is set, pass the error message to

View File

@ -1293,7 +1293,7 @@ vectors_import_from_file_invoker (GimpProcedure *procedure,
GList *list, *vectors_list = NULL; GList *list, *vectors_list = NULL;
success = gimp_vectors_import_file (image, filename, success = gimp_vectors_import_file (image, filename,
merge, scale, -1, &vectors_list, NULL); merge, scale, -1, &vectors_list, error);
if (success) if (success)
{ {
@ -1355,7 +1355,7 @@ vectors_import_from_string_invoker (GimpProcedure *procedure,
GList *list, *vectors_list = NULL; GList *list, *vectors_list = NULL;
success = gimp_vectors_import_buffer (image, string, length, success = gimp_vectors_import_buffer (image, string, length,
merge, scale, -1, &vectors_list, NULL); merge, scale, -1, &vectors_list, error);
if (success) if (success)
{ {

View File

@ -1267,7 +1267,7 @@ HELP
GList *list, *vectors_list = NULL; GList *list, *vectors_list = NULL;
success = gimp_vectors_import_file (image, filename, success = gimp_vectors_import_file (image, filename,
merge, scale, -1, &vectors_list, NULL); merge, scale, -1, &vectors_list, error);
if (success) if (success)
{ {
@ -1330,7 +1330,7 @@ HELP
GList *list, *vectors_list = NULL; GList *list, *vectors_list = NULL;
success = gimp_vectors_import_buffer (image, string, length, success = gimp_vectors_import_buffer (image, string, length,
merge, scale, -1, &vectors_list, NULL); merge, scale, -1, &vectors_list, error);
if (success) if (success)
{ {