diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2016-03-24 09:17:54 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2016-03-24 09:17:54 +0100 |
commit | 5244a707cb8bdfc7b19a1505938d5d79b44aef66 (patch) | |
tree | 40bd27088fc3e9cb0cd54b0d9298e8b4a9125fac /src/plugins/weechat-plugin.h | |
parent | 293f758a3aaac724eb5008d67fabf8ac124edb48 (diff) | |
download | weechat-5244a707cb8bdfc7b19a1505938d5d79b44aef66.zip |
api: rename function unhook_all_plugin to unhook_all
Diffstat (limited to 'src/plugins/weechat-plugin.h')
-rw-r--r-- | src/plugins/weechat-plugin.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/weechat-plugin.h b/src/plugins/weechat-plugin.h index 438c2c4c2..53171b920 100644 --- a/src/plugins/weechat-plugin.h +++ b/src/plugins/weechat-plugin.h @@ -57,7 +57,7 @@ struct timeval; * please change the date with current one; for a second change at same * date, increment the 01, otherwise please keep 01. */ -#define WEECHAT_PLUGIN_API_VERSION "20160321-01" +#define WEECHAT_PLUGIN_API_VERSION "20160324-01" /* macros for defining plugin infos */ #define WEECHAT_PLUGIN_NAME(__name) \ @@ -785,8 +785,8 @@ struct t_weechat_plugin void (*hook_set) (struct t_hook *hook, const char *property, const char *value); void (*unhook) (struct t_hook *hook); - void (*unhook_all_plugin) (struct t_weechat_plugin *plugin, - const char *subplugin); + void (*unhook_all) (struct t_weechat_plugin *plugin, + const char *subplugin); /* buffers */ struct t_gui_buffer *(*buffer_new) (struct t_weechat_plugin *plugin, @@ -1632,8 +1632,8 @@ extern int weechat_plugin_end (struct t_weechat_plugin *plugin); (weechat_plugin->hook_set)(__hook, __property, __value) #define weechat_unhook(__hook) \ (weechat_plugin->unhook)( __hook) -#define weechat_unhook_all_plugin(__subplugin) \ - (weechat_plugin->unhook_all_plugin)(weechat_plugin, __subplugin) +#define weechat_unhook_all(__subplugin) \ + (weechat_plugin->unhook_all)(weechat_plugin, __subplugin) /* buffers */ #define weechat_buffer_new(__name, __input_callback, \ |