mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 20:46:14 +01:00
gdbusconnection: Clarify nullability of SignalInstance.sender
Following on from !1425. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
b4d6849c83
commit
5a74c2f445
@ -3728,7 +3728,7 @@ typedef struct
|
|||||||
SignalSubscriber *subscriber; /* (owned) */
|
SignalSubscriber *subscriber; /* (owned) */
|
||||||
GDBusMessage *message;
|
GDBusMessage *message;
|
||||||
GDBusConnection *connection;
|
GDBusConnection *connection;
|
||||||
const gchar *sender;
|
const gchar *sender; /* (nullable) for peer-to-peer connections */
|
||||||
const gchar *path;
|
const gchar *path;
|
||||||
const gchar *interface;
|
const gchar *interface;
|
||||||
const gchar *member;
|
const gchar *member;
|
||||||
@ -3833,7 +3833,9 @@ path_rule_matches (const gchar *path_a,
|
|||||||
return memcmp (path_a, path_b, MIN (len_a, len_b)) == 0;
|
return memcmp (path_a, path_b, MIN (len_a, len_b)) == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* called in GDBusWorker thread WITH lock held */
|
/* called in GDBusWorker thread WITH lock held
|
||||||
|
*
|
||||||
|
* @sender is (nullable) for peer-to-peer connections */
|
||||||
static void
|
static void
|
||||||
schedule_callbacks (GDBusConnection *connection,
|
schedule_callbacks (GDBusConnection *connection,
|
||||||
GPtrArray *signal_data_array,
|
GPtrArray *signal_data_array,
|
||||||
|
Loading…
Reference in New Issue
Block a user