diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-11-26 14:33:21 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-11-26 14:33:21 +0100 |
commit | b892677f0ba83e28daf6c05561295c1145d1c59f (patch) | |
tree | ffe9cb52eca90c0f1d37633b09ea670d8390bf3c /gdbus/object.c | |
parent | dfd3e56a3c9755d7ffaff9c84f47f6d2f717ffab (diff) |
Don't expect reply when sending D-Bus messages
Diffstat (limited to 'gdbus/object.c')
-rw-r--r-- | gdbus/object.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdbus/object.c b/gdbus/object.c index d11f1bf6..44ef871a 100644 --- a/gdbus/object.c +++ b/gdbus/object.c @@ -580,6 +580,9 @@ gboolean g_dbus_send_message(DBusConnection *connection, DBusMessage *message) { dbus_bool_t result; + if (dbus_message_get_type(message) == DBUS_MESSAGE_TYPE_METHOD_CALL) + dbus_message_set_no_reply(message, TRUE); + result = dbus_connection_send(connection, message, NULL); dbus_message_unref(message); |