Edje: Fix eo error with call to invalid image method

Only Efl.Canvas.Proxy implements efl_canvas_proxy_source_clip_set.
Legacy image objects should use legacy APIs.

Thanks @zmike for the report and sorry I never saw the ERR myself :(

Fixes T3342
This commit is contained in:
Jean-Philippe Andre 2016-03-24 10:34:52 +09:00
parent 46d066d074
commit b564c1f0ae
1 changed files with 1 additions and 1 deletions

View File

@ -3187,7 +3187,7 @@ _edje_proxy_recalc_apply(Edje *ed, Edje_Real_Part *ep, Edje_Calc_Params *p3, Edj
efl_gfx_fill_set(ep->object, p3->type.common.fill.x, p3->type.common.fill.y, p3->type.common.fill.w, p3->type.common.fill.h);
efl_image_smooth_scale_set(ep->object, p3->smooth);
evas_object_image_source_visible_set(ep->object, chosen_desc->proxy.source_visible);
efl_canvas_proxy_source_clip_set(ep->object, chosen_desc->proxy.source_clip);
evas_object_image_source_clip_set(ep->object, chosen_desc->proxy.source_clip);
}
static void