| 891 GType purple_plugin_action_get_type(void); |
891 GType purple_plugin_action_get_type(void); |
| 892 |
892 |
| 893 /** |
893 /** |
| 894 * purple_plugin_action_new: |
894 * purple_plugin_action_new: |
| 895 * @label: The description of the action to show to the user. |
895 * @label: The description of the action to show to the user. |
| 896 * @callback: The callback to call when the user selects this action. |
896 * @callback: (scope call): The callback to call when the user selects this |
| |
897 * action. |
| 897 * |
898 * |
| 898 * Allocates and returns a new PurplePluginAction. Use this to add actions in a |
899 * Allocates and returns a new PurplePluginAction. Use this to add actions in a |
| 899 * list in the "actions-cb" callback for your plugin. |
900 * list in the "actions-cb" callback for your plugin. |
| 900 */ |
901 */ |
| 901 PurplePluginAction *purple_plugin_action_new(const char* label, |
902 PurplePluginAction *purple_plugin_action_new(const char* label, |