diff options
Diffstat (limited to 'src/plugins/scripts/python/weechat-python.c')
-rw-r--r-- | src/plugins/scripts/python/weechat-python.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/scripts/python/weechat-python.c b/src/plugins/scripts/python/weechat-python.c index 784df538e..9755e9532 100644 --- a/src/plugins/scripts/python/weechat-python.c +++ b/src/plugins/scripts/python/weechat-python.c @@ -605,16 +605,16 @@ weechat_python_command_cb (void *data, struct t_gui_buffer *buffer, */ int -weechat_python_completion_cb (void *data, const char *completion, +weechat_python_completion_cb (void *data, const char *completion_item, struct t_gui_buffer *buffer, - struct t_weelist *list) + struct t_gui_completion *completion) { /* make C compiler happy */ (void) data; - (void) completion; + (void) completion_item; (void) buffer; - script_completion (weechat_python_plugin, list, python_scripts); + script_completion (weechat_python_plugin, completion, python_scripts); return WEECHAT_RC_OK; } |