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/weechat-plugin.h | |
parent | aa77b482adce234207d9954850df0f6da6d61711 (diff) | |
download | weechat-3c51c0e7c484d2c3efa72e5373ce7fb81de8d4db.zip |
Remove argument "switch_to_another" for function gui_buffer_close()
Diffstat (limited to 'src/plugins/weechat-plugin.h')
-rw-r--r-- | src/plugins/weechat-plugin.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/weechat-plugin.h b/src/plugins/weechat-plugin.h index 641310916..551d55321 100644 --- a/src/plugins/weechat-plugin.h +++ b/src/plugins/weechat-plugin.h @@ -433,7 +433,7 @@ struct t_weechat_plugin void *close_callback_data); struct t_gui_buffer *(*buffer_search) (const char *plugin, const char *name); void (*buffer_clear) (struct t_gui_buffer *buffer); - void (*buffer_close) (struct t_gui_buffer *buffer, int switch_to_another); + void (*buffer_close) (struct t_gui_buffer *buffer); int (*buffer_get_integer) (struct t_gui_buffer *buffer, const char *property); const char *(*buffer_get_string) (struct t_gui_buffer *buffer, @@ -934,8 +934,8 @@ extern int weechat_plugin_end (struct t_weechat_plugin *plugin); weechat_plugin->buffer_search(NULL, NULL) #define weechat_buffer_clear(__buffer) \ weechat_plugin->buffer_clear(__buffer) -#define weechat_buffer_close(__buffer, __switch_to_another) \ - weechat_plugin->buffer_close(__buffer, __switch_to_another) +#define weechat_buffer_close(__buffer) \ + weechat_plugin->buffer_close(__buffer) #define weechat_buffer_get_integer(__buffer, __property) \ weechat_plugin->buffer_get_integer(__buffer, __property) #define weechat_buffer_get_string(__buffer, __property) \ |