summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-09-16 20:26:02 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2006-09-16 20:26:02 +0200
commitf7f2d491eff707d6087dcdec1d8a1bbd733b5f14 (patch)
tree3f7353081e8cc8aa7c9623af760a98874bc97e32
parent28600498df66dd0d7cc25cb1dd48648ae8ba0d30 (diff)
Const-ified the filter argument to XRenderSetPictureFilter().
-rw-r--r--include/X11/extensions/Xrender.h2
-rw-r--r--src/Filter.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/X11/extensions/Xrender.h b/include/X11/extensions/Xrender.h
index 4e4723a..ebfa552 100644
--- a/include/X11/extensions/Xrender.h
+++ b/include/X11/extensions/Xrender.h
@@ -484,7 +484,7 @@ XRenderQueryFilters (Display *dpy, Drawable drawable);
void
XRenderSetPictureFilter (Display *dpy,
Picture picture,
- char *filter,
+ const char *filter,
XFixed *params,
int nparams);
diff --git a/src/Filter.c b/src/Filter.c
index 335f6b2..0ccc811 100644
--- a/src/Filter.c
+++ b/src/Filter.c
@@ -129,7 +129,7 @@ XRenderQueryFilters (Display *dpy, Drawable drawable)
void
XRenderSetPictureFilter (Display *dpy,
Picture picture,
- char *filter,
+ const char *filter,
XFixed *params,
int nparams)
{