[elementary/elm_entry] Unnecessary codes are deleted.
authorwoohyun <woohyun@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 2 Feb 2012 06:58:06 +0000 (06:58 +0000)
committerwoohyun <woohyun@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 2 Feb 2012 06:58:06 +0000 (06:58 +0000)
"elm_smart_scroller_child_region_show" will be called in
"_show_region_hook" after cursor is changed by
"edje_object_part_text_cursor_end_set".

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@67686 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_entry.c

index f00750c..fb76358 100644 (file)
@@ -2754,14 +2754,7 @@ 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;
-   x = y = w = h = 1;
    edje_object_part_text_cursor_end_set(wd->ent, "elm.text", EDJE_CURSOR_MAIN);
-   if (wd->scroll)
-     {
-        elm_widget_show_region_get(obj, &x, &y, &w, &h);
-        elm_smart_scroller_child_region_show(wd->scroller, x, y, w, h);
-     }
 }
 
 EAPI void