diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2020-05-08 10:49:20 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2020-05-08 10:51:30 +0200 |
commit | 88bef0b1b127f67149060fe36757940379d7f4a3 (patch) | |
tree | 0f71e6a7c1b6c322013d78eb0f48aa753cd246af /src/plugins/exec | |
parent | b7765ed9606f17e83ccd9e6aa96a1ca88294952e (diff) | |
download | weechat-88bef0b1b127f67149060fe36757940379d7f4a3.zip |
core: rename functions hook_completion_{get_string|list_add} to completion_{get_string|list_add}
Old functions are kept for compatibility reasons.
Diffstat (limited to 'src/plugins/exec')
-rw-r--r-- | src/plugins/exec/exec-completion.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/exec/exec-completion.c b/src/plugins/exec/exec-completion.c index 72f703520..63b070cf5 100644 --- a/src/plugins/exec/exec-completion.c +++ b/src/plugins/exec/exec-completion.c @@ -51,12 +51,12 @@ exec_completion_commands_ids_cb (const void *pointer, void *data, { snprintf (str_number, sizeof (str_number), "%ld", ptr_exec_cmd->number); - weechat_hook_completion_list_add (completion, str_number, - 0, WEECHAT_LIST_POS_SORT); + weechat_completion_list_add (completion, str_number, + 0, WEECHAT_LIST_POS_SORT); if (ptr_exec_cmd->name) { - weechat_hook_completion_list_add (completion, ptr_exec_cmd->name, - 0, WEECHAT_LIST_POS_SORT); + weechat_completion_list_add (completion, ptr_exec_cmd->name, + 0, WEECHAT_LIST_POS_SORT); } } |