1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

Add current_window function in plugin API, add window functions in english developer guide

This commit is contained in:
Sebastien Helleu
2008-11-29 16:08:55 +01:00
parent 364aa00ab7
commit bc00946a0d
12 changed files with 428 additions and 17 deletions
+3 -3
View File
@@ -52,7 +52,7 @@ irc_bar_item_buffer_title (void *data, struct t_gui_bar_item *item,
(void) max_height;
if (!window)
window = weechat_current_window;
window = weechat_current_window ();
buffer = weechat_window_get_pointer (window, "buffer");
@@ -93,7 +93,7 @@ irc_bar_item_buffer_name (void *data, struct t_gui_bar_item *item,
(void) max_height;
if (!window)
window = weechat_current_window;
window = weechat_current_window ();
buf_name[0] = '\0';
modes[0] = '\0';
@@ -251,7 +251,7 @@ irc_bar_item_input_prompt (void *data, struct t_gui_bar_item *item,
(void) max_height;
if (!window)
window = weechat_current_window;
window = weechat_current_window ();
buffer = weechat_window_get_pointer (window, "buffer");