From 6b8900d4fc694ac714ba0b04dacb7b5f4968496c Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Thu, 20 Jun 2019 14:51:55 +0200 Subject: [PATCH] efl_input_key: compose -> compose_string rename this property, as this name was considered better. ref T7964 Reviewed-by: Xavi Artigas Differential Revision: https://phab.enlightenment.org/D9141 --- src/bin/elementary/test_events.c | 2 +- src/lib/evas/canvas/efl_input_key.c | 4 ++-- src/lib/evas/canvas/efl_input_key.eo | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bin/elementary/test_events.c b/src/bin/elementary/test_events.c index 0e274e4456..614b9fa2ac 100644 --- a/src/bin/elementary/test_events.c +++ b/src/bin/elementary/test_events.c @@ -59,7 +59,7 @@ _key_down(void *data, const Efl_Event *ev) efl_input_key_get(ev->info), efl_input_key_name_get(ev->info), efl_input_key_string_get(ev->info), - efl_input_key_compose_get(ev->info)); + efl_input_key_compose_string_get(ev->info)); elm_object_text_set(td->text, str); if (!efl_input_fake_get(ev->info)) diff --git a/src/lib/evas/canvas/efl_input_key.c b/src/lib/evas/canvas/efl_input_key.c index 11af16b0a2..8a55da6b7d 100644 --- a/src/lib/evas/canvas/efl_input_key.c +++ b/src/lib/evas/canvas/efl_input_key.c @@ -119,13 +119,13 @@ _efl_input_key_string_get(const Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) } EOLIAN static void -_efl_input_key_compose_set(Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd, const char *val) +_efl_input_key_compose_string_set(Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd, const char *val) { eina_stringshare_replace(&pd->compose, val); } EOLIAN static const char * -_efl_input_key_compose_get(const Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) +_efl_input_key_compose_string_get(const Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) { return pd->compose; } diff --git a/src/lib/evas/canvas/efl_input_key.eo b/src/lib/evas/canvas/efl_input_key.eo index 2f549f79af..a14e81c64a 100644 --- a/src/lib/evas/canvas/efl_input_key.eo +++ b/src/lib/evas/canvas/efl_input_key.eo @@ -32,7 +32,7 @@ class @beta Efl.Input.Key extends Efl.Object implements Efl.Input.Event, Efl.Inp val: string; [[Visible string from key press in UTF8]] } } - @property compose { + @property compose_string { [[A UTF8 string if this keystroke has modified a string in the middle of being composed.