summaryrefslogtreecommitdiff
path: root/gdbus
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-11-26 14:31:59 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-11-26 14:31:59 +0100
commit20b89204d55771f3fa49d771e7a4b3c7c70bbc9a (patch)
tree6ac19dc89b9063e44e55fa7d1ecd855ef1ee5595 /gdbus
parenta1c56eba5f011bb441e3884dcaa141d35414773a (diff)
downloadconnman-20b89204d55771f3fa49d771e7a4b3c7c70bbc9a.tar.gz
connman-20b89204d55771f3fa49d771e7a4b3c7c70bbc9a.tar.bz2
connman-20b89204d55771f3fa49d771e7a4b3c7c70bbc9a.zip
Don't expect reply when sending D-Bus messages
Diffstat (limited to 'gdbus')
-rw-r--r--gdbus/object.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdbus/object.c b/gdbus/object.c
index a417ab98..50313a26 100644
--- a/gdbus/object.c
+++ b/gdbus/object.c
@@ -576,6 +576,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);