edje/edje_entry : fixed small bugs and warnings
authorwoohyun <woohyun>
Mon, 3 Oct 2011 08:02:07 +0000 (08:02 +0000)
committerwoohyun <woohyun@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 3 Oct 2011 08:02:07 +0000 (08:02 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@63766 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_entry.c

index 0ddd22f..ffb44dc 100644 (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;