summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJan Arne Petersen <jpetersen@openismus.com>2013-04-18 16:47:23 +0200
committerKristian Høgsberg <krh@bitplanet.net>2013-05-02 16:23:14 -0400
commit7ef8effca5278bb7fddf5cee5d4830ca9d8a80b8 (patch)
tree8ac7636efa082e78c3e55e40f196ea2b2e527596 /tests
parentfa3573852d4d61aad136a7a076d286e4e2da9ac0 (diff)
text: Order requests and events in a nice way
Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/text-test.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/text-test.c b/tests/text-test.c
index 41bf7506..8983ac46 100644
--- a/tests/text-test.c
+++ b/tests/text-test.c
@@ -148,17 +148,17 @@ text_model_text_direction(void *data,
}
static const struct text_model_listener text_model_listener = {
- text_model_commit_string,
+ text_model_enter,
+ text_model_leave,
+ text_model_modifiers_map,
+ text_model_input_panel_state,
text_model_preedit_string,
- text_model_delete_surrounding_text,
- text_model_cursor_position,
text_model_preedit_styling,
text_model_preedit_cursor,
- text_model_modifiers_map,
+ text_model_commit_string,
+ text_model_cursor_position,
+ text_model_delete_surrounding_text,
text_model_keysym,
- text_model_enter,
- text_model_leave,
- text_model_input_panel_state,
text_model_language,
text_model_text_direction
};