From 86c5d8978d75f88aaa14ab8ed6186212abcb8f19 Mon Sep 17 00:00:00 2001 From: Allison Ryan Lortie Date: Wed, 13 Jan 2016 10:50:46 -0500 Subject: [PATCH] GDBusMethodInvocation: document behaviour change We changed the behaviour of this API to adapt to a change in the D-Bus specification. Document the new behaviour, along with the time of the change. https://bugzilla.gnome.org/show_bug.cgi?id=755421 --- gio/gdbusmethodinvocation.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gio/gdbusmethodinvocation.c b/gio/gdbusmethodinvocation.c index 85e88113c..fc8bee20c 100644 --- a/gio/gdbusmethodinvocation.c +++ b/gio/gdbusmethodinvocation.c @@ -538,6 +538,11 @@ g_dbus_method_invocation_return_value_internal (GDBusMethodInvocation *invocatio * * This method will free @invocation, you cannot use it afterwards. * + * Since 2.48, if the method call requested for a reply not to be sent + * then this call will sink @parameters and free @invocation, but + * otherwise do nothing (as per the recommendations of the D-Bus + * specification). + * * Since: 2.26 */ void @@ -596,6 +601,10 @@ g_dbus_method_invocation_return_value_with_unix_fd_list (GDBusMethodInvocation * * * This method will free @invocation, you cannot use it afterwards. * + * Since 2.48, if the method call requested for a reply not to be sent + * then this call will free @invocation but otherwise do nothing (as per + * the recommendations of the D-Bus specification). + * * Since: 2.26 */ void