diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-03-26 19:41:18 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-03-26 19:41:18 +0000 |
commit | 04476d82867bdb46d406a40428e4e0259341cac7 (patch) | |
tree | c0f16b8d478db48d0d09646de53aaa366e3c09fc /comms/xnecview/files/patch-xwin.c | |
parent | - Update to 1.21 (diff) |
- Restore png support
PR: ports/94768
Submitted by: Soeren Straarup <xride@x12.dk> (maintainer)
Notes
Notes:
svn path=/head/; revision=158181
Diffstat (limited to '')
-rw-r--r-- | comms/xnecview/files/patch-xwin.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/comms/xnecview/files/patch-xwin.c b/comms/xnecview/files/patch-xwin.c index e1ee2fccbde4..ac537c6b581c 100644 --- a/comms/xnecview/files/patch-xwin.c +++ b/comms/xnecview/files/patch-xwin.c @@ -1,5 +1,5 @@ ---- xwin.c.orig Fri Mar 17 20:50:07 2006 -+++ xwin.c Fri Mar 17 20:50:52 2006 +--- xwin.c.orig Wed Sep 10 22:55:30 2003 ++++ xwin.c Tue Mar 21 07:05:23 2006 @@ -13,6 +13,7 @@ #include <math.h> #include <stdio.h> @@ -8,6 +8,15 @@ #include <gtk/gtk.h> #include <gdk/gdkx.h> #include <gdk/gdkkeysyms.h> +@@ -261,7 +262,7 @@ + f=fopen(filename,"w"); + if (!f) return 1; + +- image = gdk_image_get(gbackg, 0, 0, width, height); ++ image = gdk_image_get(w, 0, 0, width, height); + if (!image) { + fclose(f); + return 1; @@ -1378,7 +1379,7 @@ gtk_widget_grab_focus(gdraw1); |