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
This commit is contained in:

committed by
Sven Neumann

parent
7fa22ebf17
commit
a9b1b41eef
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2008-11-12 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* libgimpmodule/gimpmodule.[ch]: added GIMP_MODULE_ERROR domain.
|
* libgimpmodule/gimpmodule.[ch]: added GIMP_MODULE_ERROR domain.
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
|
|
||||||
#include "libgimpbase/gimpbase.h"
|
#include "libgimpbase/gimpbase.h"
|
||||||
|
|
||||||
|
#include "gimpconfig-error.h"
|
||||||
#include "gimpconfig-path.h"
|
#include "gimpconfig-path.h"
|
||||||
|
|
||||||
#include "libgimp/libgimp-intl.h"
|
#include "libgimp/libgimp-intl.h"
|
||||||
@ -374,7 +375,8 @@ gimp_config_path_expand_only (const gchar *path,
|
|||||||
|
|
||||||
if (!s)
|
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);
|
g_free (token);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user