1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-10 19:53:13 +02:00

core: add missing access to hdata "buffer_visited"

This commit is contained in:
Sebastien Helleu
2013-12-01 08:46:07 +01:00
parent 9a160509d7
commit c8a479453d
20 changed files with 108 additions and 13 deletions
+2
View File
@@ -311,6 +311,8 @@ extern struct t_hdata *gui_buffer_hdata_buffer_cb (void *data,
const char *hdata_name);
extern struct t_hdata *gui_buffer_hdata_input_undo_cb (void *data,
const char *hdata_name);
extern struct t_hdata *gui_buffer_hdata_buffer_visited_cb (void *data,
const char *hdata_name);
extern int gui_buffer_add_to_infolist (struct t_infolist *infolist,
struct t_gui_buffer *buffer);
extern void gui_buffer_dump_hexa (struct t_gui_buffer *buffer);
+2
View File
@@ -1225,6 +1225,8 @@ plugin_api_init ()
&gui_bar_window_hdata_bar_window_cb, NULL);
hook_hdata (NULL, "buffer", N_("buffer"),
&gui_buffer_hdata_buffer_cb, NULL);
hook_hdata (NULL, "buffer_visited", N_("visited buffer"),
&gui_buffer_hdata_buffer_visited_cb, NULL);
hook_hdata (NULL, "completion", N_("structure with completion"),
&gui_completion_hdata_completion_cb, NULL);
hook_hdata (NULL, "completion_partial", N_("structure with partial completion"),