[glib/wip/tintou/gdbussignalcallback] 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] gdbusconnection: GDBusSignalCallback can have a NULL sender_name
- Date: Sat, 28 Mar 2020 18:33:45 +0000 (UTC)
commit f86681124e40d8752a3b56872f59eab023b8edb7
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/gdbusconnection.h b/gio/gdbusconnection.h
index f7f08a3cc..cd508d0fe 100644
--- a/gio/gdbusconnection.h
+++ b/gio/gdbusconnection.h
@@ -550,7 +550,7 @@ 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.
* @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]