| 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, |