diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-06 16:32:07 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-06 16:32:07 +0200 |
commit | f278026d21e2ded46f7f91152d60842525e74956 (patch) | |
tree | 5d1e22f332a64f807a0750a1902a6724f16c89db /dbus-job.c | |
parent | 8b44eabff0dd0dcbee1af637bc7d9d2b9dfcd427 (diff) |
dbus: connect to bus as soon as the special dbus service is around
Diffstat (limited to 'dbus-job.c')
-rw-r--r-- | dbus-job.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbus-job.c b/dbus-job.c index e0c1153fc7..d73b1258da 100644 --- a/dbus-job.c +++ b/dbus-job.c @@ -128,7 +128,7 @@ static DBusHandlerResult bus_job_message_dispatch(Job *j, DBusMessage *message) return bus_default_message_handler(j->manager, message, introspection, properties); 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); @@ -209,7 +209,7 @@ void bus_job_send_change_signal(Job *j) { goto oom; } - if (!dbus_connection_send(j->manager->bus, m, NULL)) + if (!dbus_connection_send(j->manager->api_bus, m, NULL)) goto oom; free(p); @@ -249,7 +249,7 @@ void bus_job_send_removed_signal(Job *j) { DBUS_TYPE_INVALID)) goto oom; - if (!dbus_connection_send(j->manager->bus, m, NULL)) + if (!dbus_connection_send(j->manager->api_bus, m, NULL)) goto oom; free(p); |