diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-03-11 23:44:44 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-03-17 18:52:30 +0100 |
commit | 3b8f9d4547df77e4c85b3b870ba21a67d97b31dc (patch) | |
tree | 32ba646d3d7fa05559bc81e2a0d31288912b74da /tests | |
parent | 042968b016721886125944040a0b6432c22a01e6 (diff) | |
download | weechat-3b8f9d4547df77e4c85b3b870ba21a67d97b31dc.zip |
core: check new keys manually added with /set
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/gui/test-gui-key.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/gui/test-gui-key.cpp b/tests/unit/gui/test-gui-key.cpp index 134276867..f81cfd47d 100644 --- a/tests/unit/gui/test-gui-key.cpp +++ b/tests/unit/gui/test-gui-key.cpp @@ -34,6 +34,7 @@ extern "C" extern int gui_key_get_current_context (); extern char *gui_key_legacy_internal_code (const char *key); extern char *gui_key_fix (const char *key); +extern int gui_key_is_safe (int context, const char *key); extern struct t_config_option *gui_key_new_option (int context, const char *name, const char *value); |