diff options
author | Simmo Saan <simmo.saan@gmail.com> | 2017-06-03 16:24:17 +0300 |
---|---|---|
committer | Simmo Saan <simmo.saan@gmail.com> | 2017-06-03 16:24:17 +0300 |
commit | 44925472044085c265c25527fb96f95a307ce4f1 (patch) | |
tree | 51d59c377127bc8954fcc9d796baab973496833f /src | |
parent | 2508f0acea7982ba4f1d61f96ca95a6d78dd93aa (diff) | |
download | weechat-44925472044085c265c25527fb96f95a307ce4f1.zip |
gui: remove callback unused after 0b2be21f1f42c2a1b0c200b339d7d2e59595da4c
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/gui-key.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/gui/gui-key.c b/src/gui/gui-key.c index 1fcfcb82c..f2e7c0ab9 100644 --- a/src/gui/gui-key.c +++ b/src/gui/gui-key.c @@ -1007,28 +1007,6 @@ gui_key_focus_matching (struct t_gui_key *key, } /* - * Callback for replacing values in string with a hashtable. - */ - -char * -gui_key_focus_command_replace_cb (void *data, const char *text) -{ - struct t_hashtable *ptr_hashtable; - const char *ptr_value; - - ptr_hashtable = (struct t_hashtable *)data; - - if (ptr_hashtable) - { - ptr_value = hashtable_get (ptr_hashtable, text); - if (ptr_value) - return strdup (ptr_value); - } - - return NULL; -} - -/* * Runs command according to focus. * * Returns: |