From c6a66349edb4892c9dfaf8db87f73088b29a3b17 Mon Sep 17 00:00:00 2001 From: William Skaggs Date: Tue, 4 Dec 2007 19:49:19 +0000 Subject: [PATCH] Bill Skaggs * tools/pdbgen/pdb/image.pdb: pass "error" instead of NULL. * app/pdb/image_cmds.c: regenerated. svn path=/trunk/; revision=24263 --- ChangeLog | 5 +++++ app/pdb/image_cmds.c | 4 ++-- tools/pdbgen/pdb/image.pdb | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index d13be2d099..ff9dca54e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-12-04 Bill Skaggs + + * tools/pdbgen/pdb/image.pdb: pass "error" instead of NULL. + * app/pdb/image_cmds.c: regenerated. + 2007-12-04 Bill Skaggs * tools/pdbgen/pdb/gradient.pdb diff --git a/app/pdb/image_cmds.c b/app/pdb/image_cmds.c index d48eb001ed..427e65614f 100644 --- a/app/pdb/image_cmds.c +++ b/app/pdb/image_cmds.c @@ -2014,11 +2014,11 @@ image_set_filename_invoker (GimpProcedure *procedure, if (success) { /* verify that the filename can be converted to UTF-8 and back */ - gchar *utf8 = g_filename_to_utf8 (filename, -1, NULL, NULL, NULL); + gchar *utf8 = g_filename_to_utf8 (filename, -1, NULL, NULL, error); if (utf8) { - gchar *tmp = g_filename_from_utf8 (utf8, -1, NULL, NULL, NULL); + gchar *tmp = g_filename_from_utf8 (utf8, -1, NULL, NULL, error); if (tmp) g_free (tmp); diff --git a/tools/pdbgen/pdb/image.pdb b/tools/pdbgen/pdb/image.pdb index 1249db9f8e..3300ebce93 100644 --- a/tools/pdbgen/pdb/image.pdb +++ b/tools/pdbgen/pdb/image.pdb @@ -2117,11 +2117,11 @@ HELP code => <<'CODE' { /* verify that the filename can be converted to UTF-8 and back */ - gchar *utf8 = g_filename_to_utf8 (filename, -1, NULL, NULL, NULL); + gchar *utf8 = g_filename_to_utf8 (filename, -1, NULL, NULL, error); if (utf8) { - gchar *tmp = g_filename_from_utf8 (utf8, -1, NULL, NULL, NULL); + gchar *tmp = g_filename_from_utf8 (utf8, -1, NULL, NULL, error); if (tmp) g_free (tmp);