1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 12:26:40 +02:00

Remove argument "switch_to_another" for function gui_buffer_close()

This commit is contained in:
Sebastien Helleu
2008-11-27 17:05:59 +01:00
parent aa77b482ad
commit 3c51c0e7c4
19 changed files with 34 additions and 59 deletions
+2 -3
View File
@@ -1198,15 +1198,14 @@ script_api_buffer_new (struct t_weechat_plugin *weechat_plugin,
void
script_api_buffer_close (struct t_weechat_plugin *weechat_plugin,
struct t_plugin_script *script,
struct t_gui_buffer *buffer,
int switch_to_another)
struct t_gui_buffer *buffer)
{
struct t_script_callback *ptr_script_callback, *next_callback;
if (!weechat_plugin || !script || !buffer)
return;
weechat_buffer_close (buffer, switch_to_another);
weechat_buffer_close (buffer);
ptr_script_callback = script->callbacks;
while (ptr_script_callback)