gdip-pixbuf-loader r52 - in trunk: . src
- From: tml svn gnome org
- To: svn-commits-list gnome org
- Subject: gdip-pixbuf-loader r52 - in trunk: . src
- Date: Tue, 18 Mar 2008 23:49:57 +0000 (GMT)
Author: tml
Date: Tue Mar 18 23:49:57 2008
New Revision: 52
URL: http://svn.gnome.org/viewvc/gdip-pixbuf-loader?rev=52&view=rev
Log:
2008-03-19 Tor Lillqvist <tml novell com>
* src/io-gdip-utils.c: Drop misleading old comment.
* src/io-gdip-native.h: Fix typo: s/WINGDIAPI/WINGDIPAPI/.
Modified:
trunk/ChangeLog
trunk/src/io-gdip-native.h
trunk/src/io-gdip-utils.c
Modified: trunk/src/io-gdip-native.h
==============================================================================
--- trunk/src/io-gdip-native.h (original)
+++ trunk/src/io-gdip-native.h Tue Mar 18 23:49:57 2008
@@ -218,8 +218,8 @@
typedef GpStatus (WINGDIPAPI* GdipSaveImageToStreamFunc) (GpImage *image, IStream* stream, const CLSID* clsidEncoder,
const EncoderParameters* encoderParams);
-typedef GpStatus (WINGDIAPI* GdipGetImageEncodersFunc) (UINT numEncoders, UINT size, ImageCodecInfo *encoders);
-typedef GpStatus (WINGDIAPI* GdipGetImageEncodersSizeFunc) (UINT *numEncoders, UINT *size);
+typedef GpStatus (WINGDIPAPI* GdipGetImageEncodersFunc) (UINT numEncoders, UINT size, ImageCodecInfo *encoders);
+typedef GpStatus (WINGDIPAPI* GdipGetImageEncodersSizeFunc) (UINT *numEncoders, UINT *size);
typedef GpStatus (WINGDIPAPI* GdipBitmapSetPixelFunc) (GpBitmap* bitmap, INT x, INT y, ARGB color);
typedef GpStatus (WINGDIPAPI* GdipDrawImageIFunc) (GpGraphics *graphics, GpImage *image, INT x, INT y);
Modified: trunk/src/io-gdip-utils.c
==============================================================================
--- trunk/src/io-gdip-utils.c (original)
+++ trunk/src/io-gdip-utils.c Tue Mar 18 23:49:57 2008
@@ -56,8 +56,6 @@
static GdipGetImageVerticalResolutionFunc GdipGetImageVerticalResolution;
static GdipLoadImageFromStreamFunc GdipLoadImageFromStream;
static GdipDeleteGraphicsFunc GdipDeleteGraphics;
-
-/* apparently these don't exist until GDI+ 1.1 or later */
static GdipGetImageEncodersFunc GdipGetImageEncoders;
static GdipGetImageEncodersSizeFunc GdipGetImageEncodersSize;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]