summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/script-api.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-11-27 17:05:59 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-11-27 17:05:59 +0100
commit3c51c0e7c484d2c3efa72e5373ce7fb81de8d4db (patch)
tree3adaea1fa3c98278e43d8025a233d245c95b6c1a /src/plugins/scripts/script-api.c
parentaa77b482adce234207d9954850df0f6da6d61711 (diff)
downloadweechat-3c51c0e7c484d2c3efa72e5373ce7fb81de8d4db.zip
Remove argument "switch_to_another" for function gui_buffer_close()
Diffstat (limited to 'src/plugins/scripts/script-api.c')
-rw-r--r--src/plugins/scripts/script-api.c5
1 files changed, 2 insertions, 3 deletions
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)