Method

PurpleProtocolActionsget_menu

since: 3.0

Declaration [src]

GMenu*
purple_protocol_actions_get_menu (
  PurpleProtocolActions* actions,
  PurpleConnection* connection
)

Description [src]

Gets the menu used to display the protocol actions for connection.

Available since: 3.0

Parameters

connection

Type: PurpleConnection

The PurpleConnection instance.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: GMenu

The menu to display or NULL.

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