File xv-3.10a-png.dif of Package xv
--- xvmisc.c
+++ xvmisc.c 2008-09-03 14:48:59.484162067 +0200
@@ -561,10 +561,6 @@ void Quit(i)
if (mgcsfxW) XDestroyWindow(theDisp, mgcsfxW);
#endif
-#ifdef HAVE_PNG
- if (pngW) XDestroyWindow(theDisp, pngW);
-#endif
-
/* if NOT using stdcmap for images, free stdcmap */
if (colorMapMode != CM_STDCMAP) {
int j;
@@ -770,10 +766,6 @@ static void set_cursors(mainc, otherc)
if (pngW) XDefineCursor(theDisp, pngW, otherc);
#endif
-#ifdef HAVE_PNG
- if (pngW) XDefineCursor(theDisp, pngW, otherc);
-#endif
-
#ifdef HAVE_PCD
if (pcdW) XDefineCursor(theDisp, pcdW, otherc);
#endif