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);