[dia/dia-0-97] Bug 642764 - use png_jmpbuf() rather than direct member access
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia/dia-0-97] Bug 642764 - use png_jmpbuf() rather than direct member access
- Date: Sun, 13 Mar 2011 13:00:43 +0000 (UTC)
commit 59f67782b9e382b2d71aeabbd493799b179bdec0
Author: Hans Breuer <hans breuer org>
Date: Sun Feb 27 21:32:47 2011 +0100
Bug 642764 - use png_jmpbuf() rather than direct member access
Fix from Hanno Boeck to make Dia compile with libpng 1.5
https://bugzilla.gnome.org/show_bug.cgi?id=642764
(cherry picked from commit 8e28086b95578d17386c3be9aea132064be829a0)
plug-ins/libart/export_png.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/libart/export_png.c b/plug-ins/libart/export_png.c
index f8bbdc1..33ea6c3 100644
--- a/plug-ins/libart/export_png.c
+++ b/plug-ins/libart/export_png.c
@@ -178,7 +178,7 @@ export_png_ok(GtkButton *button, gpointer userdata)
}
/* set error handling ... */
- if (setjmp(png->jmpbuf)) {
+ if (setjmp(png_jmpbuf(png))) {
fclose(fp);
png_destroy_write_struct(&png, &info);
message_error(_("Error occurred while writing PNG"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]