{
Evas_Object *ao, *po;
Eina_Strbuf *buf;
- const char *part, *text;
+ const char *part;
part = "elm.btn.text";
po = (Evas_Object *)edje_object_part_object_get(btn, part);
"multi button entry item %s is selected",
edje_object_part_text_get(btn, part));
- text = (const char*)eina_strbuf_string_steal(buf);
- _elm_access_say(text);
+ _elm_access_say(eina_strbuf_string_get(buf));
eina_strbuf_free(buf);
}
}
// ACCESS
if (_elm_config->access_mode == ELM_ACCESS_MODE_ON)
{
- const char *text;
Eina_Strbuf *buf;
buf = eina_strbuf_new();
"multi button entry item %s is added",
edje_object_part_text_get(item->button, "elm.btn.text"));
- text = (const char*)eina_strbuf_string_steal(buf);
- _elm_access_say(text);
+ _elm_access_say(eina_strbuf_string_get(buf));
eina_strbuf_free(buf);
_access_multibuttonentry_item_register(obj, eo_item, EINA_TRUE);
eina_strbuf_append_printf(buf, "%s, %s", text,
elm_layout_text_get(data, "elm.text"));
- text = eina_strbuf_string_steal(buf);
+ _elm_access_say(eina_strbuf_string_get(buf));
eina_strbuf_free(buf);
-
- _elm_access_say(text);
}
static char *
_access_increment_decrement_info_say(Evas_Object *obj,
Eina_Bool is_incremented)
{
- char *text;
Eina_Strbuf *buf;
ELM_SPINNER_DATA_GET(obj, sd);
eina_strbuf_append_printf
(buf, "%s", elm_object_text_get(sd->text_button));
- text = eina_strbuf_string_steal(buf);
+ _elm_access_say(eina_strbuf_string_get(buf));
eina_strbuf_free(buf);
- _elm_access_say(text);
}
static void