r = sd_bus_match_signal_async(
m->bus,
- &m->connected_slot,
+ NULL,
"org.freedesktop.DBus.Local",
NULL,
"org.freedesktop.DBus.Local",
r = sd_bus_match_signal_async(
m->bus,
- &m->prepare_for_sleep_slot,
+ NULL,
"org.freedesktop.login1",
"/org/freedesktop/login1",
"org.freedesktop.login1.Manager",
udev_unref(m->udev);
sd_bus_unref(m->bus);
- sd_bus_slot_unref(m->prepare_for_sleep_slot);
- sd_bus_slot_unref(m->connected_slot);
free(m->dynamic_timezone);
free(m->dynamic_hostname);
sd_event *event;
sd_resolve *resolve;
sd_bus *bus;
- sd_bus_slot *prepare_for_sleep_slot;
- sd_bus_slot *connected_slot;
struct udev *udev;
struct udev_monitor *udev_monitor;
sd_event_source *udev_event_source;