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>
This commit is contained in:
Peter Hutterer 2011-01-31 13:53:08 +10:00
commit 81daba8ce9
2 changed files with 2 additions and 2 deletions

View file

@ -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;