Method

PurpleProtocolContactsget_menu

unstable since: 3.0

Declaration [src]

GMenuModel*
purple_protocol_contacts_get_menu (
  PurpleProtocolContacts* protocol_contacts,
  PurpleContactInfo* info
)

Description [src]

Gets a GMenuModel for info.

Available since: 3.0

Parameters

info

Type: PurpleContactInfo

The PurpleContactInfo to get the menu for.

The data is owned by the caller of the method.

Return value

Type: GMenuModel

The menu model or NULL.

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