mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 00:52:30 +02:00
Wrong casting with glib2 fix - GSearchFunc, not GCompareFunc :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2670 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
5ff21626b2
commit
0d89364768
1 changed files with 1 additions and 1 deletions
|
|
@ -567,7 +567,7 @@ int key_pressed(KEYBOARD_REC *keyboard, const char *key)
|
||||||
# define GSearchFunc GCompareFunc
|
# define GSearchFunc GCompareFunc
|
||||||
#endif
|
#endif
|
||||||
rec = g_tree_search(key_states,
|
rec = g_tree_search(key_states,
|
||||||
(GCompareFunc) key_states_search,
|
(GSearchFunc) key_states_search,
|
||||||
combo);
|
combo);
|
||||||
if (rec == NULL) {
|
if (rec == NULL) {
|
||||||
/* unknown key combo, eat the invalid key
|
/* unknown key combo, eat the invalid key
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue