DBusMessage.copy

Copies message. The copy is a deep copy and the returned #GDBusMessage is completely identical except that it is guaranteed to not be locked.

This operation can fail if e.g. message contains file descriptors and the per-process or system-wide open files limit is reached.

class DBusMessage
copy
()

Return Value

Type: gio.dbus_message.DBusMessage

A new #GDBusMessage or null if error is set. Free with gobject.object.ObjectG.unref.