summaryrefslogtreecommitdiff
path: root/src/gui/gui-completion.c
diff options
context:
space:
mode:
authorSimmo Saan <simmo.saan@gmail.com>2017-06-03 15:45:43 +0300
committerSimmo Saan <simmo.saan@gmail.com>2017-06-03 15:59:12 +0300
commit55e7090cde228a9dae7a1fac8e05ac29bac4e563 (patch)
tree0a6e19c57db91a4a6ad561c3209ad840037ba189 /src/gui/gui-completion.c
parent7ab6731efebe3083c7606617b5a680b9c7b89da3 (diff)
downloadweechat-55e7090cde228a9dae7a1fac8e05ac29bac4e563.zip
gui: remove completion hdata made unusable by arraylist usage
Diffstat (limited to 'src/gui/gui-completion.c')
-rw-r--r--src/gui/gui-completion.c25
1 files changed, 0 insertions, 25 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).
*/