gimp r27564 - in trunk: . libgimpconfig
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27564 - in trunk: . libgimpconfig
- Date: Thu, 6 Nov 2008 09:37:09 +0000 (UTC)
Author: neo
Date: Thu Nov 6 09:37:09 2008
New Revision: 27564
URL: http://svn.gnome.org/viewvc/gimp?rev=27564&view=rev
Log:
2008-11-06 Sven Neumann <sven sven>
* libgimpconfig/gimpconfigwriter.c
(gimp_config_writer_linefeed):
use g_set_error_literal() here as well.
Modified:
trunk/ChangeLog
trunk/libgimpconfig/gimpconfigwriter.c
Modified: trunk/libgimpconfig/gimpconfigwriter.c
==============================================================================
--- trunk/libgimpconfig/gimpconfigwriter.c (original)
+++ trunk/libgimpconfig/gimpconfigwriter.c Thu Nov 6 09:37:09 2008
@@ -567,8 +567,9 @@
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
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]