summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-10-07 20:13:38 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-10-07 20:13:38 +0900
commit1ab66d2bef1286a7dd5ab8836f7f8cfa24c966fa (patch)
tree06b7a4c61296c61be7f9957f636ff115f7696169
parentf931c1722a8cba30929787c237a040823a1c3eec (diff)
Convert markup to utf8 from entry box
-rw-r--r--examples/3deffect_iamarock.cfgbin1391 -> 195 bytes
-rw-r--r--examples/3dvision.cfgbin740 -> 195 bytes
-rw-r--r--main.c5
3 files changed, 4 insertions, 1 deletions
diff --git a/examples/3deffect_iamarock.cfg b/examples/3deffect_iamarock.cfg
index 64380a8..8659344 100644
--- a/examples/3deffect_iamarock.cfg
+++ b/examples/3deffect_iamarock.cfg
Binary files differ
diff --git a/examples/3dvision.cfg b/examples/3dvision.cfg
index 31ac521..8659344 100644
--- a/examples/3dvision.cfg
+++ b/examples/3dvision.cfg
Binary files differ
diff --git a/main.c b/main.c
index d26a04c..bc1df91 100644
--- a/main.c
+++ b/main.c
@@ -504,10 +504,13 @@ static void
504_entry_update(void) 504_entry_update(void)
505{ 505{
506 const char *str; 506 const char *str;
507 char *utf8;
507 508
508 str = elm_object_text_get(textentry); 509 str = elm_object_text_get(textentry);
509 evas_object_text_text_set(textview, str); 510 utf8 = elm_entry_markup_to_utf8(str);
511 evas_object_text_text_set(textview, utf8);
510 _padding_update(); 512 _padding_update();
513 free(utf8);
511} 514}
512 515
513static void 516static void