Method

GioDBusMessageget_arg0

since: 2.26

Declaration

const gchar*
g_dbus_message_get_arg0 (
  GDBusMessage* message
)

Description

Convenience to get the first item in the body of message.

See g_dbus_message_get_arg0_path() for returning object-path-typed arg0 values.

Available since: 2.26

Return value

Type: const gchar*

The string item or NULL if the first item in the body of message is not a string.

The data is owned by the instance.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.