Method

GioDBusMessageget_body

Declaration

GVariant*
g_dbus_message_get_body (
  GDBusMessage* message
)

Description

Gets the body of a message.

Available since:2.26

Return value

Returns: GVariant
 

A GVariant or NULL if the body is empty. Do not free, it is owned by message.

 The data is owned by the instance.
 The return value can be NULL.