Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-updates-src > by-pkgid > e955ef8f16d80667d3835245821e4733 > files > 16

libwmf-0.2.8.4-32.5.mga5.src.rpm

--- libwmf-0.2.8.4/src/extra/gd/gd_png.c
+++ libwmf-0.2.8.4/src/extra/gd/gd_png.c
@@ -435,17 +435,6 @@
   out->free (out);
 }
 
-void *
-gdImagePngPtr (gdImagePtr im, int *size)
-{
-  void *rv;
-  gdIOCtx *out = gdNewDynamicCtx (2048, NULL);
-  gdImagePngCtx (im, out);
-  rv = gdDPExtractData (out, size);
-  out->free (out);
-  return rv;
-}
-
 /* This routine is based in part on code from Dale Lutz (Safe Software Inc.)
  *  and in part on demo code from Chapter 15 of "PNG: The Definitive Guide"
  *  (http://www.cdrom.com/pub/png/pngbook.html).
--- libwmf-0.2.8.4/src/extra/gd/gd.h
+++ libwmf-0.2.8.4/src/extra/gd/gd.h
@@ -373,9 +373,6 @@
 void gdImageGd2(gdImagePtr im, FILE *out, int cs, int fmt);
 
 /* Best to free this memory with gdFree(), not free() */
-void* gdImagePngPtr(gdImagePtr im, int *size);
-
-/* Best to free this memory with gdFree(), not free() */
 void* gdImageGdPtr(gdImagePtr im, int *size);
 
 /* Best to free this memory with gdFree(), not free() */