diff options
author | Gary Kramlich <grim@reaperworld.com> | 2022-09-12 22:18:06 -0500 |
---|---|---|
committer | Gary Kramlich <grim@reaperworld.com> | 2022-09-12 22:18:06 -0500 |
commit | 0ab9a4ee7af611de38f3eba5eb9fde70d801ae0f (patch) | |
tree | c1489ad7c320d0f25deeebbebedd443c0bfbf6fb /finch | |
parent | 5b0add4daa9c3635ae0495bdc6a9fc8b400dacd1 (diff) | |
download | pidgin-0ab9a4ee7af611de38f3eba5eb9fde70d801ae0f.tar.gz |
Remove PurplePluginAction as everything except finch as been ported to GAction/GMenu.
The finch buddy list code has just been #if 0'd for the time being.
Testing Done:
Compiled and greped for `"actions-cb"` to make sure no plugins were still using the property.
Reviewed at https://reviews.imfreedom.org/r/1755/
Diffstat (limited to 'finch')
-rw-r--r-- | finch/gntblist.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/finch/gntblist.c b/finch/gntblist.c index ec2076dc25..bb5a3f8e59 100644 --- a/finch/gntblist.c +++ b/finch/gntblist.c @@ -2227,14 +2227,19 @@ blist_node_compare_status(PurpleBlistNode *n1, PurpleBlistNode *n2) static void plugin_action(GntMenuItem *item, gpointer data) { + /* TODO: Convert to GAction/GMenu. */ +#if 0 PurplePluginAction *action = data; if (action && action->callback) action->callback(action); +#endif } static void build_plugin_actions(GntMenuItem *item, PurplePlugin *plugin) { + /* TODO: port to GAction/GMenu. */ +#if 0 GntWidget *sub = gnt_menu_new(GNT_MENU_POPUP); PurplePluginActionsCb actions_cb; GList *actions; @@ -2257,6 +2262,7 @@ build_plugin_actions(GntMenuItem *item, PurplePlugin *plugin) action, (GDestroyNotify)purple_plugin_action_free); } } +#endif } static void @@ -2359,6 +2365,8 @@ reconstruct_plugins_menu(void) sub = gnt_menu_new(GNT_MENU_POPUP); gnt_menuitem_set_submenu(plg, GNT_MENU(sub)); + /* TODO: port to GAction/GMenu. */ +#if 0 for (iter = purple_plugins_get_loaded(); iter; iter = iter->next) { PurplePlugin *plugin = iter->data; PurplePluginInfo *info = purple_plugin_get_info(plugin); @@ -2372,6 +2380,7 @@ reconstruct_plugins_menu(void) gnt_menu_add_item(GNT_MENU(sub), item); build_plugin_actions(item, plugin); } +#endif } static void |