gdbusconnection: GDBusSignalCallback can have a NULL sender_name

On a peer GDBusConnection, the returned sender_name can be NULL
This commit is contained in:
Corentin Noël 2020-03-28 19:30:37 +01:00
parent b4d6849c83
commit 565ba0dbd1

View File

@ -550,7 +550,8 @@ gboolean g_dbus_connection_unregister_subtree (GDBusConnection
/** /**
* GDBusSignalCallback: * GDBusSignalCallback:
* @connection: A #GDBusConnection. * @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. * @object_path: The object path that the signal was emitted on.
* @interface_name: The name of the interface. * @interface_name: The name of the interface.
* @signal_name: The name of the signal. * @signal_name: The name of the signal.