Diff between 1f2e03bc5262e412e822dec7c17a783c487c18cb and 80cb86b2a5d8cb0cffa70591cbd0e576d20fbbf1

Changed Files

File Additions Deletions Status
gdbus/object.c +2 -1 modified

Full Patch

diff --git a/gdbus/object.c b/gdbus/object.c
index 4cf2e2f..a220101 100644
--- a/gdbus/object.c
+++ b/gdbus/object.c
@@ -258,7 +258,8 @@ static DBusHandlerResult process_message(DBusConnection *connection,
 
 	reply = method->function(connection, message, iface_user_data);
 
-	if (method->flags & G_DBUS_METHOD_FLAG_NOREPLY) {
+	if (method->flags & G_DBUS_METHOD_FLAG_NOREPLY ||
+					dbus_message_get_no_reply(message)) {
 		if (reply != NULL)
 			dbus_message_unref(reply);
 		return DBUS_HANDLER_RESULT_HANDLED;