diff options
author | Jan Arne Petersen <jpetersen@openismus.com> | 2013-04-18 16:47:15 +0200 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-05-02 16:21:18 -0400 |
commit | ece6b5af51460c21f5bdd1fae4e7c2ea9f707e2f (patch) | |
tree | d388a5dc9db1f50c5dab8457b43d8988af8d3ba2 /tests/text-test.c | |
parent | f91871980e095caa827f4f39e6c178fc0a2bd396 (diff) | |
download | weston-ece6b5af51460c21f5bdd1fae4e7c2ea9f707e2f.tar.gz |
text: Add language and text-direction to protocol
Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
Diffstat (limited to 'tests/text-test.c')
-rw-r--r-- | tests/text-test.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/tests/text-test.c b/tests/text-test.c index f5c02ff8..41bf7506 100644 --- a/tests/text-test.c +++ b/tests/text-test.c @@ -131,6 +131,22 @@ text_model_input_panel_state(void *data, { } +static void +text_model_language(void *data, + struct text_model *text_model, + uint32_t serial, + const char *language) +{ +} + +static void +text_model_text_direction(void *data, + struct text_model *text_model, + uint32_t serial, + uint32_t direction) +{ +} + static const struct text_model_listener text_model_listener = { text_model_commit_string, text_model_preedit_string, @@ -142,7 +158,9 @@ static const struct text_model_listener text_model_listener = { text_model_keysym, text_model_enter, text_model_leave, - text_model_input_panel_state + text_model_input_panel_state, + text_model_language, + text_model_text_direction }; TEST(text_test) |