Method
GioDBusMessageset_header
since: 2.26
Declaration [src]
void
g_dbus_message_set_header (
GDBusMessage* message,
GDBusMessageHeaderField header_field,
GVariant* value
)
Description [src]
Sets a header field on message
.
If value
is floating, message
assumes ownership of value
.
Available since: 2.26
Parameters
header_field
-
Type:
GDBusMessageHeaderField
A 8-bit unsigned integer (typically a value from the
GDBusMessageHeaderField
enumeration). value
-
Type:
GVariant
A
GVariant
to set the header field orNULL
to clear the header field.The argument can be NULL
.The data is owned by the caller of the method.