chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dbus: connect to bus as soon as the special dbus service is around
[elogind.git]
/
dbus-unit.c
diff --git
a/dbus-unit.c
b/dbus-unit.c
index 00374e7fad1cfe654e368dfea45f30541c4ad61e..4ce94e2f7e8ea39fefae2b325e1b004ce4c44670 100644
(file)
--- a/
dbus-unit.c
+++ b/
dbus-unit.c
@@
-278,7
+278,7
@@
static DBusHandlerResult bus_unit_message_dispatch(Unit *u, DBusMessage *message
}
if (reply) {
}
if (reply) {
- if (!dbus_connection_send(m->bus, reply, NULL))
+ if (!dbus_connection_send(m->
api_
bus, reply, NULL))
goto oom;
dbus_message_unref(reply);
goto oom;
dbus_message_unref(reply);
@@
-363,7
+363,7
@@
void bus_unit_send_change_signal(Unit *u) {
goto oom;
}
goto oom;
}
- if (!dbus_connection_send(u->meta.manager->bus, m, NULL))
+ if (!dbus_connection_send(u->meta.manager->
api_
bus, m, NULL))
goto oom;
free(p);
goto oom;
free(p);
@@
-405,7
+405,7
@@
void bus_unit_send_removed_signal(Unit *u) {
DBUS_TYPE_INVALID))
goto oom;
DBUS_TYPE_INVALID))
goto oom;
- if (!dbus_connection_send(u->meta.manager->bus, m, NULL))
+ if (!dbus_connection_send(u->meta.manager->
api_
bus, m, NULL))
goto oom;
free(p);
goto oom;
free(p);