Function

Birbmenu_copy

since: 0.6

Declaration [src]

GMenu*
birb_menu_copy (
  GMenuModel* model
)

Description [src]

Creates a full copy of model as a new GMenu. If model was not a GMenu instance, any additional functionality will be lost.

Available since: 0.6

Parameters

model

Type: GMenuModel

The GMenuModel instance to copy.

The data is owned by the caller of the function.

Return value

Type: GMenu

The new menu.

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