summaryrefslogtreecommitdiff
path: root/dbus.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-10 17:39:36 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-10 18:00:28 +0200
commitb9f49ee478fdc06c45092f208f1dddd23680ab13 (patch)
treed005cfef2163b972d037ca68583940393320d0f1 /dbus.h
parent6f4706b79e37754c83677e81396e783dde243b39 (diff)
dbus: make data pointer for properties read-only
Diffstat (limited to 'dbus.h')
-rw-r--r--dbus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus.h b/dbus.h
index 06b7e20602..5b41877e8c 100644
--- a/dbus.h
+++ b/dbus.h
@@ -33,7 +33,7 @@ typedef struct BusProperty {
const char *property; /* name of the property */
BusPropertyCallback append; /* Function that is called to serialize this property */
const char *signature;
- void *data; /* The data of this property */
+ const void *data; /* The data of this property */
} BusProperty;
#define BUS_PROPERTIES_INTERFACE \