Method

MateDesktopDesktopItemcopy

Declaration [src]

MateDesktopItem*
mate_desktop_item_copy (
  const MateDesktopItem* item
)

Description [src]

Creates a copy of a MateDesktopItem. The new copy has a refcount of 1. Note: Section stack is NOT copied.

Return value

Type: MateDesktopItem

The new copy.

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