mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
Farewell glib-1.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4509 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
cb1287ab63
commit
afa4292466
13 changed files with 9 additions and 507 deletions
|
|
@ -571,11 +571,8 @@ int key_pressed(KEYBOARD_REC *keyboard, const char *key)
|
|||
g_strconcat(keyboard->key_state, "-", key, NULL);
|
||||
g_free_and_null(keyboard->key_state);
|
||||
|
||||
#if GLIB_MAJOR_VERSION == 2
|
||||
# define GSearchFunc GCompareFunc
|
||||
#endif
|
||||
rec = g_tree_search(key_states,
|
||||
(GSearchFunc) key_states_search,
|
||||
(GCompareFunc) key_states_search,
|
||||
combo);
|
||||
if (rec == NULL) {
|
||||
/* unknown key combo, eat the invalid key
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue