[glib/wip/tintou/gdbussignalcallback: 14/14] gdbusconnection: GDBusSignalCallback can have a NULL sender_name
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/tintou/gdbussignalcallback: 14/14] gdbusconnection: GDBusSignalCallback can have a NULL sender_name
- Date: Fri, 3 Apr 2020 06:02:08 +0000 (UTC)
commit 565ba0dbd1909ae8fb24e1f48e0c69cccb027b85
Author: Corentin Noël <corentin elementary io>
Date: Sat Mar 28 19:30:37 2020 +0100
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]