mirror of
https://github.com/weechat/weechat.git
synced 2026-07-04 08:43:13 +02:00
gui: remove callback unused after 0b2be21f1f
This commit is contained in:
@@ -1006,28 +1006,6 @@ gui_key_focus_matching (struct t_gui_key *key,
|
||||
return match[0] && match[1];
|
||||
}
|
||||
|
||||
/*
|
||||
* 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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user