Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/canvas Modified Files: evas_object_textblock.c Log Message: - evas_object_textblock_line_get was returning the geometry of the current cursor position instead of the passed in line. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_object_textblock.c,v retrieving revision 1.58 retrieving revision 1.59 diff -u -3 -r1.58 -r1.59 --- evas_object_textblock.c 14 Jul 2005 15:23:45 -0000 1.58 +++ evas_object_textblock.c 23 Jul 2005 02:10:24 -0000 1.59 @@ -1706,8 +1706,6 @@ return lnode; } -/* unused */ -#if 0 static Layout_Node * evas_object_textblock_layout_node_line_get(Evas_Object *obj, int line) { @@ -1731,7 +1729,6 @@ } return NULL; } -#endif /* private methods for textblock objects */ static void evas_object_textblock_init(Evas_Object *obj); @@ -2055,7 +2052,6 @@ { Evas_Object_Textblock *o; Layout_Node *lnode; - int ps; MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ); return 0; @@ -2066,7 +2062,7 @@ MAGIC_CHECK_END(); if (o->format.dirty) evas_object_textblock_format_calc(obj); - lnode = evas_object_textblock_layout_node_pos_get(obj, o->pos, &ps); + lnode = evas_object_textblock_layout_node_line_get(obj, line); if (lnode) { Evas_Object_List *l; ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs