summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/evas/canvas/evas_object_textblock.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c
index 61c0634406..2d9949045d 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -12442,11 +12442,12 @@ typedef struct
12442} Textblock_Paragraph_Debug_Data; 12442} Textblock_Paragraph_Debug_Data;
12443 12443
12444EAPI Eina_List * 12444EAPI Eina_List *
12445_evas_textblock_paragraphs_get(const Evas_Object *obj) 12445_evas_textblock_paragraphs_get(const Evas_Object *eo_obj)
12446{ 12446{
12447 Eina_List *rects = NULL; 12447 Eina_List *rects = NULL;
12448 Evas_Object_Textblock_Paragraph *par; 12448 Evas_Object_Textblock_Paragraph *par;
12449 Evas_Textblock_Data *o = eo_data_scope_get(obj, MY_CLASS); 12449 Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS);
12450 Evas_Textblock_Data *o = eo_data_scope_get(eo_obj, MY_CLASS);
12450 12451
12451 12452
12452 printf("Populating Items:\n"); 12453 printf("Populating Items:\n");
@@ -12464,7 +12465,7 @@ _evas_textblock_paragraphs_get(const Evas_Object *obj)
12464 d->y = par->y; 12465 d->y = par->y;
12465 d->lines = eina_inlist_count(EINA_INLIST_GET(par->lines)); 12466 d->lines = eina_inlist_count(EINA_INLIST_GET(par->lines));
12466 d->is_rtl = (par->direction == EVAS_BIDI_DIRECTION_RTL); 12467 d->is_rtl = (par->direction == EVAS_BIDI_DIRECTION_RTL);
12467 d->rect = eina_rectangle_new(0, par->y, par->w, par->h); 12468 d->rect = eina_rectangle_new(0, par->y, obj->cur->geometry.w, par->h);
12468 rects = eina_list_append(rects, d); 12469 rects = eina_list_append(rects, d);
12469 } 12470 }
12470 return rects; 12471 return rects;