[gimp/metadata-browser] file-png: Return correct type of error value
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] file-png: Return correct type of error value
- Date: Wed, 28 Sep 2011 10:50:16 +0000 (UTC)
commit c7e7636dbc5d2c3c38a7798d7919c29925046ade
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]