diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-06-18 16:47:09 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-06-18 16:47:09 +0200 |
commit | 66e8d703bd12c3c5da29c091d14485e260f6ab31 (patch) | |
tree | 0b2fa44b1da0c0d5c105c3426c0900ef3d2a4363 /src/plugins/scripts/python/weechat-python.c | |
parent | 47c9c68b40dfaaf0f61f0d3ee1d37db1934f241a (diff) | |
download | weechat-66e8d703bd12c3c5da29c091d14485e260f6ab31.zip |
Add new options for completion, optional stop instead of cycling with words found
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; } |