"Unsupported property");
}
-static GDBusMethodTable methods[] = {
+static const GDBusMethodTable methods[] = {
{ "Get", "ss", "v", property_get },
{ },
};
return g_dbus_create_reply(msg, DBUS_TYPE_INVALID);
}
-static GDBusMethodTable clock_methods[] = {
+static const GDBusMethodTable clock_methods[] = {
{ "GetProperties", "", "a{sv}", get_properties },
{ "SetProperty", "sv", "", set_property },
{ },
return g_dbus_create_reply(msg, DBUS_TYPE_INVALID);
}
-static GDBusMethodTable manager_methods[] = {
+static const GDBusMethodTable manager_methods[] = {
{ "GetProperties", "", "a{sv}", get_properties },
{ "SetProperty", "sv", "", set_property,
G_DBUS_METHOD_FLAG_ASYNC },
service_schedule_changed();
}
-static GDBusMethodTable service_methods[] = {
+static const GDBusMethodTable service_methods[] = {
{ "GetProperties", "", "a{sv}", get_properties,
G_DBUS_METHOD_FLAG_DEPRECATED },
{ "SetProperty", "sv", "", set_property },
return g_dbus_create_reply(msg, DBUS_TYPE_INVALID);
}
-static GDBusMethodTable session_methods[] = {
+static const GDBusMethodTable session_methods[] = {
{ "Destroy", "", "", destroy_session },
{ "Connect", "", "", connect_session },
{ "Disconnect", "", "", disconnect_session },
return NULL;
}
-static GDBusMethodTable technology_methods[] = {
+static const GDBusMethodTable technology_methods[] = {
{ "GetProperties", "", "a{sv}", get_properties,
G_DBUS_METHOD_FLAG_DEPRECATED },
{ "SetProperty", "sv", "", set_property },
return g_dbus_create_reply(msg, DBUS_TYPE_INVALID);
}
-static GDBusMethodTable notify_methods[] = {
+static const GDBusMethodTable notify_methods[] = {
{ "Release", "", "", notify_release },
{ "Update", "a{sv}", "", notify_update },
{ },