Pass plugin name to all autocompleter functions

This commit is contained in:
James Booth
2016-07-04 23:14:08 +01:00
parent 03c7ac73fd
commit fd218ac3e4
7 changed files with 39 additions and 16 deletions

View File

@@ -141,6 +141,7 @@ callbacks_init(void)
void
callbacks_remove(const char *const plugin_name)
{
// TODO remove from cmd_ac and cmd_ac_help
g_hash_table_remove(p_commands, plugin_name);
g_hash_table_remove(p_timed_functions, plugin_name);
g_hash_table_remove(p_window_callbacks, plugin_name);