chiark / gitweb /
dbus: make data pointer for properties read-only
[elogind.git] / dbus.h
diff --git a/dbus.h b/dbus.h
index 06b7e20602a2c72c9b218abc7ad0bf89614915c0..5b41877e8c3a9a1c9ac6a62c775fee8c8efcd598 100644 (file)
--- 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                                        \