From: WooHyun Jung Date: Thu, 2 Feb 2012 06:58:06 +0000 (+0000) Subject: [elementary/elm_entry] Unnecessary codes are deleted. X-Git-Tag: v1.0.0~1064 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8420d7ab8a1a4fb205bc6604ecccc9b72595b200;p=platform%2Fupstream%2Felementary.git [elementary/elm_entry] Unnecessary codes are deleted. "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 --- diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index f00750c..fb76358 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -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