[gimp/gimp-2-6] file-png: Return correct type of error value (cherry picked from commit ff2b9ee727586b431e17f283825b
- From: Nils Philippsen <nphilipp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-6] file-png: Return correct type of error value (cherry picked from commit ff2b9ee727586b431e17f283825b
- Date: Thu, 17 Nov 2011 16:01:53 +0000 (UTC)
commit 25305c0d93a0a43beb57714058b32e71581d7c60
Author: Mukund Sivaraman <muks banu com>
Date: Wed Sep 21 17:16:54 2011 +0530
file-png: Return correct type of error value
(cherry picked from commit ff2b9ee727586b431e17f283825be3444b5ef496)
plug-ins/common/file-png.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/file-png.c b/plug-ins/common/file-png.c
index ef0e38e..3c3d675 100644
--- a/plug-ins/common/file-png.c
+++ b/plug-ins/common/file-png.c
@@ -725,7 +725,7 @@ load_image (const gchar *filename,
g_set_error (error, 0, 0,
_("Error creating PNG read struct while saving '%s'."),
gimp_filename_to_utf8 (filename));
- return FALSE;
+ return -1;
}
info = png_create_info_struct (pp);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]