edje/edje_entry : fixed small bugs and warnings

SVN revision: 63766
This commit is contained in:
WooHyun Jung 2011-10-03 08:02:07 +00:00
parent 69fc731318
commit 75646ae276
1 changed files with 3 additions and 3 deletions

View File

@ -1447,7 +1447,7 @@ _edje_key_up_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, voi
}
static void
_edje_part_move_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
_edje_part_move_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
Edje_Real_Part *rp = data;
Entry *en;
@ -2062,7 +2062,7 @@ _edje_entry_real_part_configure(Edje_Real_Part *rp)
evas_object_geometry_get(rp->object, &x, &y, &w, &h);
evas_textblock_cursor_geometry_get(en->cursor, &xx, &yy, &ww, &hh, NULL, cur_type);
if (ww < 1) ww = 1;
if (hh < 1) ww = 1;
if (hh < 1) hh = 1;
if (en->cursor_bg)
{
evas_object_move(en->cursor_bg, x + xx, y + yy);
@ -2335,7 +2335,7 @@ _edje_entry_cursor_geometry_get(Edje_Real_Part *rp, Evas_Coord *cx, Evas_Coord *
evas_object_geometry_get(rp->object, &x, &y, &w, &h);
evas_textblock_cursor_geometry_get(en->cursor, &xx, &yy, &ww, &hh, NULL, cur_type);
if (ww < 1) ww = 1;
if (hh < 1) ww = 1;
if (hh < 1) hh = 1;
if (cx) *cx = x + xx;
if (cy) *cy = y + yy;
if (cw) *cw = ww;