Justin Chevrier : include: Fix GdipSetPathGradientSurroundColorsWithCount definition.

Alexandre Julliard julliard at winehq.org
Mon Mar 29 09:57:59 CDT 2010


Module: wine
Branch: master
Commit: 88b4263a61a06449b7a5dd4ffa10282da6ae7a13
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=88b4263a61a06449b7a5dd4ffa10282da6ae7a13

Author: Justin Chevrier <jchevrier at gmail.com>
Date:   Sat Mar 27 17:55:26 2010 -0400

include: Fix GdipSetPathGradientSurroundColorsWithCount definition.

---

 dlls/gdiplus/brush.c  |    2 +-
 include/gdiplusflat.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index 287d9d8..5582a95 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -1532,7 +1532,7 @@ GpStatus WINGDIPAPI GdipSetPathGradientSigmaBlend(GpPathGradient *grad,
 }
 
 GpStatus WINGDIPAPI GdipSetPathGradientSurroundColorsWithCount(GpPathGradient
-    *grad, ARGB *argb, INT *count)
+    *grad, GDIPCONST ARGB *argb, INT *count)
 {
     static int calls;
 
diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h
index cd97a70..9672367 100644
--- a/include/gdiplusflat.h
+++ b/include/gdiplusflat.h
@@ -561,7 +561,7 @@ GpStatus WINGDIPAPI GdipSetPathGradientFocusScales(GpPathGradient*,REAL,REAL);
 GpStatus WINGDIPAPI GdipSetPathGradientGammaCorrection(GpPathGradient*,BOOL);
 GpStatus WINGDIPAPI GdipSetPathGradientSigmaBlend(GpPathGradient*,REAL,REAL);
 GpStatus WINGDIPAPI GdipSetPathGradientSurroundColorsWithCount(GpPathGradient*,
-    ARGB*,INT*);
+    GDIPCONST ARGB*,INT*);
 GpStatus WINGDIPAPI GdipSetPathGradientWrapMode(GpPathGradient*,GpWrapMode);
 
 /* PathIterator */




More information about the wine-cvs mailing list