[elementary/elm_entry] Unnecessary codes are deleted.
authorWooHyun Jung <woohyun0705@gmail.com>
Thu, 2 Feb 2012 06:58:06 +0000 (06:58 +0000)
committerWooHyun Jung <woohyun0705@gmail.com>
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".

SVN revision: 67686

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