gui: remove completion hdata made unusable by arraylist usage
This commit is contained in:
parent
7ab6731efe
commit
55e7090cde
@ -1398,31 +1398,6 @@ gui_completion_hdata_completion_cb (const void *pointer, void *data,
|
||||
return hdata;
|
||||
}
|
||||
|
||||
/*
|
||||
* Returns hdata for completion word.
|
||||
*/
|
||||
|
||||
struct t_hdata *
|
||||
gui_completion_hdata_completion_word_cb (const void *pointer, void *data,
|
||||
const char *hdata_name)
|
||||
{
|
||||
struct t_hdata *hdata;
|
||||
|
||||
/* make C compiler happy */
|
||||
(void) pointer;
|
||||
(void) data;
|
||||
|
||||
hdata = hdata_new (NULL, hdata_name, "prev_item", "next_item",
|
||||
0, 0, NULL, NULL);
|
||||
if (hdata)
|
||||
{
|
||||
HDATA_VAR(struct t_gui_completion_word, word, STRING, 0, NULL, NULL);
|
||||
HDATA_VAR(struct t_gui_completion_word, nick_completion, CHAR, 0, NULL, NULL);
|
||||
HDATA_VAR(struct t_gui_completion_word, count, INTEGER, 0, NULL, NULL);
|
||||
}
|
||||
return hdata;
|
||||
}
|
||||
|
||||
/*
|
||||
* Prints list of completion words in WeeChat log file (usually for crash dump).
|
||||
*/
|
||||
|
@ -83,9 +83,6 @@ extern const char *gui_completion_get_string (struct t_gui_completion *completio
|
||||
extern struct t_hdata *gui_completion_hdata_completion_cb (const void *pointer,
|
||||
void *data,
|
||||
const char *hdata_name);
|
||||
extern struct t_hdata *gui_completion_hdata_completion_partial_cb (const void *pointer,
|
||||
void *data,
|
||||
const char *hdata_name);
|
||||
extern void gui_completion_print_log (struct t_gui_completion *completion);
|
||||
|
||||
#endif /* WEECHAT_GUI_COMPLETION_H */
|
||||
|
Loading…
x
Reference in New Issue
Block a user