libpurple/protocols.h

branch
soc.2013.gobjectification.plugins
changeset 37132
f4740b6e7525
parent 37115
7004e53e3495
child 37133
832cd077145e
equal deleted inserted replaced
37131:fe9ff76f1c6c 37132:f4740b6e7525
313 GType purple_protocol_action_get_type(void); 313 GType purple_protocol_action_get_type(void);
314 314
315 /** 315 /**
316 * purple_protocol_action_new: 316 * purple_protocol_action_new:
317 * @label: The description of the action to show to the user. 317 * @label: The description of the action to show to the user.
318 * @callback: The callback to call when the user selects this action. 318 * @callback: (scope call): The callback to call when the user selects this
319 * action.
319 * 320 *
320 * Allocates and returns a new PurpleProtocolAction. Use this to add actions in 321 * Allocates and returns a new PurpleProtocolAction. Use this to add actions in
321 * a list in the get_actions function of the protocol. 322 * a list in the get_actions function of the protocol.
322 */ 323 */
323 PurpleProtocolAction *purple_protocol_action_new(const char* label, 324 PurpleProtocolAction *purple_protocol_action_new(const char* label,

mercurial