Method

PurpleProtocolContactsget_menu

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 function.

Return value

Type: GMenuModel

The menu model or NULL.

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