summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-04-12 22:58:26 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-04-12 22:58:26 +0000
commit0d89364768af45ae25fc9d885bbdca7f67c165a9 (patch)
tree20f39de243a14550c806c1bb076f2ac07a3213ed /src/fe-common
parent5ff21626b254ec02ce50b6f9e3cfff77a24b7cb7 (diff)
downloadirssi-0d89364768af45ae25fc9d885bbdca7f67c165a9.zip
Wrong casting with glib2 fix - GSearchFunc, not GCompareFunc :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2670 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/core/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/keyboard.c b/src/fe-common/core/keyboard.c
index f6cffecb..c5870aee 100644
--- a/src/fe-common/core/keyboard.c
+++ b/src/fe-common/core/keyboard.c
@@ -567,7 +567,7 @@ int key_pressed(KEYBOARD_REC *keyboard, const char *key)
# define GSearchFunc GCompareFunc
#endif
rec = g_tree_search(key_states,
- (GCompareFunc) key_states_search,
+ (GSearchFunc) key_states_search,
combo);
if (rec == NULL) {
/* unknown key combo, eat the invalid key