Commit a9b1b41e authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

set the error in the GIMP_CONFIG_ERROR domain.

2008-11-12  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpconfig-path.c 
(gimp_config_path_expand_only):
	set the error in the GIMP_CONFIG_ERROR domain.


svn path=/trunk/; revision=27630
parent 7fa22ebf
2008-11-12 Sven Neumann <sven@gimp.org>
* libgimpconfig/gimpconfig-path.c (gimp_config_path_expand_only):
set the error in the GIMP_CONFIG_ERROR domain.
2008-11-12 Sven Neumann <sven@gimp.org>
* libgimpmodule/gimpmodule.[ch]: added GIMP_MODULE_ERROR domain.
......
......@@ -29,6 +29,7 @@
#include "libgimpbase/gimpbase.h"
#include "gimpconfig-error.h"
#include "gimpconfig-path.h"
#include "libgimp/libgimp-intl.h"
......@@ -374,7 +375,8 @@ gimp_config_path_expand_only (const gchar *path,
if (!s)
{
g_set_error (error, 0, 0, _("Cannot expand ${%s}"), token);
g_set_error (error, GIMP_CONFIG_ERROR, GIMP_CONFIG_ERROR_PARSE,
_("Cannot expand ${%s}"), token);
g_free (token);
goto cleanup;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment