gimp r27630 - in trunk: . libgimpconfig
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27630 - in trunk: . libgimpconfig
- Date: Wed, 12 Nov 2008 11:57:07 +0000 (UTC)
Author: neo
Date: Wed Nov 12 11:57:07 2008
New Revision: 27630
URL: http://svn.gnome.org/viewvc/gimp?rev=27630&view=rev
Log:
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.
Modified:
trunk/ChangeLog
trunk/libgimpconfig/gimpconfig-path.c
Modified: trunk/libgimpconfig/gimpconfig-path.c
==============================================================================
--- trunk/libgimpconfig/gimpconfig-path.c (original)
+++ trunk/libgimpconfig/gimpconfig-path.c Wed Nov 12 11:57:07 2008
@@ -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 @@
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]