key: fix keysym prop

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-08-21 20:11:55 +02:00
parent f848fb7844
commit 6a4d04d4f2

2
key.c
View file

@ -1205,7 +1205,7 @@ key_class_setup(lua_State *L)
(lua_class_propfunc_t) luaA_key_set_key,
(lua_class_propfunc_t) luaA_key_get_key,
(lua_class_propfunc_t) luaA_key_set_key);
luaA_class_add_property(&key_class, A_TK_KEY,
luaA_class_add_property(&key_class, A_TK_KEYSYM,
NULL,
(lua_class_propfunc_t) luaA_key_get_keysym,
NULL);