diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-11-27 17:05:59 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-11-27 17:05:59 +0100 |
commit | 3c51c0e7c484d2c3efa72e5373ce7fb81de8d4db (patch) | |
tree | 3adaea1fa3c98278e43d8025a233d245c95b6c1a /src/plugins/scripts/script-api.c | |
parent | aa77b482adce234207d9954850df0f6da6d61711 (diff) | |
download | weechat-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.c | 5 |
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) |