From 3c51c0e7c484d2c3efa72e5373ce7fb81de8d4db Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 27 Nov 2008 17:05:59 +0100 Subject: Remove argument "switch_to_another" for function gui_buffer_close() --- src/plugins/scripts/script-api.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/plugins/scripts/script-api.c') diff --git a/src/plugins/scripts/script-api.c b/src/plugins/scripts/script-api.c index 40434ed62..25cdad711 100644 --- a/src/plugins/scripts/script-api.c +++ b/src/plugins/scripts/script-api.c @@ -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) -- cgit v1.2.3