summaryrefslogtreecommitdiff
path: root/Xi
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-01-31 13:53:08 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-02-14 09:12:58 +1000
commit81daba8ce906bfbbe44cd71d0ff269ad34e2f6b5 (patch)
tree6e6a6c3ab91b2d308e40566ab55fede5e8a629cd /Xi
parentea1ffd3e60bdcedbec5a6f28929f8677bf45d450 (diff)
Xi: constify XIChangeDeviceProperty()
We don't modify "value", make it official. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Diffstat (limited to 'Xi')
-rw-r--r--Xi/xiproperty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/xiproperty.c b/Xi/xiproperty.c
index b9f53f7dc..17835e2cd 100644
--- a/Xi/xiproperty.c
+++ b/Xi/xiproperty.c
@@ -701,7 +701,7 @@ XIDeleteDeviceProperty (DeviceIntPtr device, Atom property, Bool fromClient)
int
XIChangeDeviceProperty (DeviceIntPtr dev, Atom property, Atom type,
int format, int mode, unsigned long len,
- pointer value, Bool sendevent)
+ const pointer value, Bool sendevent)
{
XIPropertyPtr prop;
int size_in_bytes;