Commit 72b56f3d authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

use g_set_error_literal() here as well.

2008-11-06  Sven Neumann  <sven@sven>

	* libgimpconfig/gimpconfigwriter.c 
(gimp_config_writer_linefeed):
	use g_set_error_literal() here as well.


svn path=/trunk/; revision=27564
parent 549d6eae
2008-11-06 Sven Neumann <sven@sven>
* libgimpconfig/gimpconfigwriter.c (gimp_config_writer_linefeed):
use g_set_error_literal() here as well.
2008-11-06 Sven Neumann <sven@gimp.org>
* tools/gimp-mkenums: use NC_() to mark enum values for translation.
......
......@@ -567,8 +567,9 @@ gimp_config_writer_linefeed (GimpConfigWriter *writer)
if (writer->buffer->len == 0 && !writer->comment)
{
if (write (writer->fd, "\n", 1) < 0)
g_set_error (&writer->error, GIMP_CONFIG_ERROR, GIMP_CONFIG_ERROR_WRITE,
g_strerror (errno));
g_set_error_literal (&writer->error,
GIMP_CONFIG_ERROR, GIMP_CONFIG_ERROR_WRITE,
g_strerror (errno));
}
else
{
......
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