diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2007-11-26 14:27:53 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2007-11-26 14:27:53 +0000 |
commit | f5d026a775cc940c16d23ee9559140f4606d8aff (patch) | |
tree | 7809ee4bd647a8985692ad781e638c431806f144 /src/plugins/plugin-api.c | |
parent | 7cc78f4172631fc67d10045518dc6c5ac63ac66a (diff) | |
download | weechat-f5d026a775cc940c16d23ee9559140f4606d8aff.zip |
Added input_data callback argument to gui_buffer_new() function
Diffstat (limited to 'src/plugins/plugin-api.c')
-rw-r--r-- | src/plugins/plugin-api.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/plugin-api.c b/src/plugins/plugin-api.c index 610855f7e..97202d154 100644 --- a/src/plugins/plugin-api.c +++ b/src/plugins/plugin-api.c @@ -554,10 +554,11 @@ plugin_api_unhook_all (struct t_weechat_plugin *plugin) struct t_gui_buffer * plugin_api_buffer_new (struct t_weechat_plugin *plugin, char *category, - char *name) + char *name, + void (*input_data_cb)(struct t_gui_buffer *, char *)) { if (plugin && name && name[0]) - return gui_buffer_new (plugin, category, name); + return gui_buffer_new (plugin, category, name, input_data_cb); return NULL; } |