Method

GioDBusMessagecopy

since: 2.26

Declaration [src]

GDBusMessage*
g_dbus_message_copy (
  GDBusMessage* message
  GError** error
)

Description [src]

Copies message with a deep copy.

The returned D-Bus message is completely identical to message except that it is guaranteed to not be locked.

This operation can fail if (for example) message contains file descriptors and the per-process or system-wide open files limit is reached.

Available since: 2.26

Return value

Type: GDBusMessage

A new D-Bus message.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.