| 181 PurplePlugin *plugin; |
181 PurplePlugin *plugin; |
| 182 |
182 |
| 183 /** NULL for plugin actions menu, set to the PurpleConnection for |
183 /** NULL for plugin actions menu, set to the PurpleConnection for |
| 184 account actions menu */ |
184 account actions menu */ |
| 185 gpointer context; |
185 gpointer context; |
| 186 |
186 |
| 187 gpointer user_data; |
187 gpointer user_data; |
| 188 }; |
188 }; |
| 189 |
189 |
| 190 #define PURPLE_PLUGIN_HAS_ACTIONS(plugin) \ |
190 #define PURPLE_PLUGIN_HAS_ACTIONS(plugin) \ |
| 191 ((plugin)->info != NULL && (plugin)->info->actions != NULL) |
191 ((plugin)->info != NULL && (plugin)->info->actions != NULL) |