edje: fix warning for returning wrong type.

Reviewers: zmike

Reviewed By: zmike

Subscribers: segfaultxavi, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9530
This commit is contained in:
Cedric BAIL 2019-08-09 08:43:18 -04:00 committed by Mike Blumenkrantz
parent 1ff8932537
commit 99d3aa8bda
1 changed files with 2 additions and 2 deletions

View File

@ -3573,7 +3573,7 @@ _efl_canvas_layout_efl_layout_calc_calc_force(Eo *obj EINA_UNUSED, Edje *ed)
_edje_util_freeze_val = pf2;
}
EOLIAN Eina_Rectangle
EOLIAN Eina_Rect
_efl_canvas_layout_efl_layout_calc_calc_parts_extends(Eo *obj EINA_UNUSED, Edje *ed)
{
Evas_Coord xx1 = INT_MAX, yy1 = INT_MAX;
@ -3610,7 +3610,7 @@ _efl_canvas_layout_efl_layout_calc_calc_parts_extends(Eo *obj EINA_UNUSED, Edje
if ((xx2 - xx1) > 0) w = xx2 - xx1;
if ((yy2 - yy1) > 0) h = yy2 - yy1;
return (Eina_Rectangle) { xx1, yy1, w, h };
return (Eina_Rect) { (Eina_Rectangle) { xx1, yy1, w, h } };
}
EOLIAN Eina_Size2D