diff options
author | Daniel Mack <daniel@zonque.org> | 2015-08-05 15:58:39 +0200 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2015-08-05 17:06:45 +0200 |
commit | 3cde9e8fa0ae2a424ae2e6e27e14668ca5d90c98 (patch) | |
tree | d8320bbaeec3fae3b838278f4c764f185eabe7c9 /src/login/logind.h | |
parent | 652f0e397fab33e325f4119dceece9f334f549cf (diff) |
logind: switch to sd_bus_track helper
Let logind use the sd_bus_track helper object to track the controllers of
sessions. This does not only remove quite some code but also kills the
unconditional matches for all NameOwnerChanged signals.
The latter is something we should never ever do, as it wakes up the daemon
every time a client connects, which doesn't scale.
Diffstat (limited to 'src/login/logind.h')
-rw-r--r-- | src/login/logind.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/login/logind.h b/src/login/logind.h index ad437b72cb..ce99d75bc1 100644 --- a/src/login/logind.h +++ b/src/login/logind.h @@ -48,8 +48,6 @@ struct Manager { Hashmap *inhibitors; Hashmap *buttons; - Set *busnames; - LIST_HEAD(Seat, seat_gc_queue); LIST_HEAD(Session, session_gc_queue); LIST_HEAD(User, user_gc_queue); @@ -181,9 +179,6 @@ int manager_job_is_active(Manager *manager, const char *path); /* gperf lookup function */ const struct ConfigPerfItem* logind_gperf_lookup(const char *key, unsigned length); -int manager_watch_busname(Manager *manager, const char *name); -void manager_drop_busname(Manager *manager, const char *name); - int manager_set_lid_switch_ignore(Manager *m, usec_t until); int config_parse_tmpfs_size(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); |