mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-07 08:07:20 +02:00
Fix formatting for travis
This commit is contained in:
parent
c276f760c7
commit
89904602e9
@ -220,8 +220,8 @@ static int method_refresh_config(sd_bus_message *m, void *userdata,
|
|||||||
/**
|
/**
|
||||||
* D-BUS vtable to dispatch virtual methods
|
* D-BUS vtable to dispatch virtual methods
|
||||||
*/
|
*/
|
||||||
static const sd_bus_vtable gamemode_vtable[] = {
|
static const sd_bus_vtable gamemode_vtable[] =
|
||||||
SD_BUS_VTABLE_START(0),
|
{ SD_BUS_VTABLE_START(0),
|
||||||
SD_BUS_PROPERTY("ClientCount", "i", property_get_client_count, 0,
|
SD_BUS_PROPERTY("ClientCount", "i", property_get_client_count, 0,
|
||||||
SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
|
SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
|
||||||
SD_BUS_METHOD("RegisterGame", "i", "i", method_register_game, SD_BUS_VTABLE_UNPRIVILEGED),
|
SD_BUS_METHOD("RegisterGame", "i", "i", method_register_game, SD_BUS_VTABLE_UNPRIVILEGED),
|
||||||
@ -234,8 +234,7 @@ static const sd_bus_vtable gamemode_vtable[] = {
|
|||||||
SD_BUS_METHOD("QueryStatusByPID", "ii", "i", method_query_status_by_pid,
|
SD_BUS_METHOD("QueryStatusByPID", "ii", "i", method_query_status_by_pid,
|
||||||
SD_BUS_VTABLE_UNPRIVILEGED),
|
SD_BUS_VTABLE_UNPRIVILEGED),
|
||||||
SD_BUS_METHOD("RefreshConfig", "", "i", method_refresh_config, SD_BUS_VTABLE_UNPRIVILEGED),
|
SD_BUS_METHOD("RefreshConfig", "", "i", method_refresh_config, SD_BUS_VTABLE_UNPRIVILEGED),
|
||||||
SD_BUS_VTABLE_END
|
SD_BUS_VTABLE_END };
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Main process loop for the daemon. Run until quitting has been requested.
|
* Main process loop for the daemon. Run until quitting has been requested.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user