[dia] 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] Bug 642764 - use png_jmpbuf() rather than direct member access
- Date: Sun, 27 Feb 2011 21:12:57 +0000 (UTC)
commit 8e28086b95578d17386c3be9aea132064be829a0
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
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 385e6b1..a8f219f 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]