summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/gui-completion.c25
-rw-r--r--src/gui/gui-completion.h3
2 files changed, 0 insertions, 28 deletions
diff --git a/src/gui/gui-completion.c b/src/gui/gui-completion.c
index 9f8a20508..10d099866 100644
--- a/src/gui/gui-completion.c
+++ b/src/gui/gui-completion.c
@@ -1399,31 +1399,6 @@ gui_completion_hdata_completion_cb (const void *pointer, void *data,
}
/*
- * 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).
*/
diff --git a/src/gui/gui-completion.h b/src/gui/gui-completion.h
index ade51fd8e..43b49be75 100644
--- a/src/gui/gui-completion.h
+++ b/src/gui/gui-completion.h
@@ -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 */