From 2e5000133888216ea2856187b651ca59f976fa5a Mon Sep 17 00:00:00 2001 From: Marc Di Luzio Date: Sun, 6 Sep 2026 15:48:53 +0100 Subject: [PATCH] Correct types of the /Games path properties No code calls `sd_bus_emit_properties_changed` for these, and they're constant anyway in the current code, so the types here should probably be corrected --- daemon/gamemode-dbus.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/daemon/gamemode-dbus.c b/daemon/gamemode-dbus.c index b00ccb65..bd5cf435 100644 --- a/daemon/gamemode-dbus.c +++ b/daemon/gamemode-dbus.c @@ -644,13 +644,13 @@ static int game_object_get_timestamp(sd_bus *local_bus, const char *path, const static const sd_bus_vtable game_vtable[] = { SD_BUS_VTABLE_START(0), SD_BUS_PROPERTY("ProcessId", "i", game_object_get_process_id, 0, - SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE), + SD_BUS_VTABLE_PROPERTY_CONST), SD_BUS_PROPERTY("Executable", "s", game_object_get_executable, 0, - SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE), + SD_BUS_VTABLE_PROPERTY_CONST), SD_BUS_PROPERTY("Requester", "i", game_object_get_requester, 0, - SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE), + SD_BUS_VTABLE_PROPERTY_CONST), SD_BUS_PROPERTY("Timestamp", "t", game_object_get_timestamp, 0, - SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE), + SD_BUS_VTABLE_PROPERTY_CONST), SD_BUS_VTABLE_END }; /* clang-format on */