diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-08-19 21:22:10 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-08-19 21:22:10 +0200 |
commit | eac1ca929bb23544fa98c7f11f7118e1925b27a3 (patch) | |
tree | 5f1b75a82af98a02a7de29808ace55f3b5d23347 /src/plugins/plugin-script-api.h | |
parent | 9990917cc7380a92f59fbac2fec8d6a5fc91760c (diff) | |
download | weechat-eac1ca929bb23544fa98c7f11f7118e1925b27a3.zip |
core: add syntax "@buffer:item" in bar items to force the buffer used when displaying the bar item (task #12717)
Diffstat (limited to 'src/plugins/plugin-script-api.h')
-rw-r--r-- | src/plugins/plugin-script-api.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/plugin-script-api.h b/src/plugins/plugin-script-api.h index e32e45431..ccd6574fa 100644 --- a/src/plugins/plugin-script-api.h +++ b/src/plugins/plugin-script-api.h @@ -322,7 +322,9 @@ extern struct t_gui_bar_item *plugin_script_api_bar_item_new (struct t_weechat_p const char *name, char *(*build_callback)(void *data, struct t_gui_bar_item *item, - struct t_gui_window *window), + struct t_gui_window *window, + struct t_gui_buffer *buffer, + struct t_hashtable *extra_info), const char *function, const char *data); extern void plugin_script_api_bar_item_remove (struct t_weechat_plugin *weechat_plugin, |