X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fdbus-scope.c;h=bb251edc76ca11573da3ee5e10b9c9e806da59a6;hb=eff05270986a13e7de93ae16311f654d3f7c166f;hp=13ff49d62f47943d1052d31ac4a1843b132efe64;hpb=718db96199eb307751264e4163555662c9a389fa;p=elogind.git diff --git a/src/core/dbus-scope.c b/src/core/dbus-scope.c index 13ff49d62..bb251edc7 100644 --- a/src/core/dbus-scope.c +++ b/src/core/dbus-scope.c @@ -31,16 +31,11 @@ static BUS_DEFINE_PROPERTY_GET_ENUM(property_get_result, scope_result, ScopeResu const sd_bus_vtable bus_scope_vtable[] = { SD_BUS_VTABLE_START(0), - SD_BUS_PROPERTY("TimeoutStopUSec", "t", bus_property_get_usec, offsetof(Scope, timeout_stop_usec), 0), + SD_BUS_PROPERTY("TimeoutStopUSec", "t", bus_property_get_usec, offsetof(Scope, timeout_stop_usec), SD_BUS_VTABLE_PROPERTY_CONST), SD_BUS_PROPERTY("Result", "s", property_get_result, offsetof(Scope, result), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE), SD_BUS_VTABLE_END }; -const char* const bus_scope_changing_properties[] = { - "Result", - NULL -}; - static int bus_scope_set_transient_property( Scope *s, const char *name,