[entry] remove double pos set in cursor_end_set
authorHyoyoung Chang <hyoyoung.chang@samsung.com>
Mon, 14 Nov 2011 08:18:35 +0000 (17:18 +0900)
committerHyoyoung Chang <hyoyoung.chang@samsung.com>
Wed, 16 Nov 2011 04:04:39 +0000 (13:04 +0900)
Change-Id: I72e142198884b97403b1601e2fc712dd5a297ddb

src/lib/elm_entry.c

index 3400dbb..74ba931 100644 (file)
@@ -3338,13 +3338,8 @@ elm_entry_cursor_end_set(Evas_Object *obj)
    ELM_CHECK_WIDTYPE(obj, widtype);
    Widget_Data *wd = elm_widget_data_get(obj);
    if (!wd) return;
-   int x, y, w, h;
    edje_object_part_text_cursor_end_set(wd->ent, "elm.text", EDJE_CURSOR_MAIN);
-   if (wd->scroll)
-     {
-        elm_widget_show_region_get(wd->ent, &x, &y, &w, &h);
-        elm_smart_scroller_child_region_show(wd->scroller, x, y, w, h);
-     }
+   edje_object_message_signal_process(wd->ent);
 }
 
 EAPI void