[gimp] file-png: Return correct type of error value
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] file-png: Return correct type of error value
- Date: Wed, 21 Sep 2011 11:47:40 +0000 (UTC)
commit ff2b9ee727586b431e17f283825be3444b5ef496
Author: Mukund Sivaraman <muks banu com>
Date: Wed Sep 21 17:16:54 2011 +0530
file-png: Return correct type of error value
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 7cfa1d5..6f50eb6 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]