From 565ba0dbd1909ae8fb24e1f48e0c69cccb027b85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20No=C3=ABl?= Date: Sat, 28 Mar 2020 19:30:37 +0100 Subject: [PATCH] gdbusconnection: GDBusSignalCallback can have a NULL sender_name On a peer GDBusConnection, the returned sender_name can be NULL --- gio/gdbusconnection.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gio/gdbusconnection.h b/gio/gdbusconnection.h index f7f08a3cc..05ef384e4 100644 --- a/gio/gdbusconnection.h +++ b/gio/gdbusconnection.h @@ -550,7 +550,8 @@ gboolean g_dbus_connection_unregister_subtree (GDBusConnection /** * GDBusSignalCallback: * @connection: A #GDBusConnection. - * @sender_name: The unique bus name of the sender of the signal. + * @sender_name: (nullable): The unique bus name of the sender of the signal, + or %NULL on a peer-to-peer D-Bus connection. * @object_path: The object path that the signal was emitted on. * @interface_name: The name of the interface. * @signal_name: The name of the signal.