mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
gdbusmessage: Improve documentation for g_dbus_message_get_header()
The caller is responsible for checking the type of the returned GVariant. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
af712bbce1
commit
94a9ab3c03
@ -985,7 +985,10 @@ g_dbus_message_set_serial (GDBusMessage *message,
|
|||||||
*
|
*
|
||||||
* Gets a header field on @message.
|
* Gets a header field on @message.
|
||||||
*
|
*
|
||||||
* Returns: A #GVariant with the value if the header was found, %NULL
|
* The caller is responsible for checking the type of the returned #GVariant
|
||||||
|
* matches what is expected.
|
||||||
|
*
|
||||||
|
* Returns: (transfer none) (nullable): A #GVariant with the value if the header was found, %NULL
|
||||||
* otherwise. Do not free, it is owned by @message.
|
* otherwise. Do not free, it is owned by @message.
|
||||||
*
|
*
|
||||||
* Since: 2.26
|
* Since: 2.26
|
||||||
|
Loading…
Reference in New Issue
Block a user