summaryrefslogtreecommitdiffstats
path: root/gdbus/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdbus/object.c')
-rw-r--r--gdbus/object.c3
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);