[PATCH 1/3] include: Fix GdipSetPathGradientSurroundColorsWithCount definition
Justin Chevrier
jchevrier at gmail.com
Sat Mar 27 16:55:26 CDT 2010
---
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 */
--
1.6.5.rc1
More information about the wine-patches
mailing list