From 66e8d703bd12c3c5da29c091d14485e260f6ab31 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Wed, 18 Jun 2008 16:47:09 +0200 Subject: Add new options for completion, optional stop instead of cycling with words found --- src/plugins/scripts/python/weechat-python.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/plugins/scripts/python/weechat-python.c') 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; } -- cgit v1.2.3