From 74af5586f1aa70888d8fe2ebda7817de1fcf3fbb Mon Sep 17 00:00:00 2001 From: Cedric Bail Date: Mon, 22 Apr 2013 14:04:01 +0900 Subject: [PATCH] mapbuf: correctly get the viewport size. --- src/lib/elm_mapbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elm_mapbuf.c b/src/lib/elm_mapbuf.c index 9c55d83..413ebef 100644 --- a/src/lib/elm_mapbuf.c +++ b/src/lib/elm_mapbuf.c @@ -144,7 +144,7 @@ _mapbuf_auto_eval(Evas_Object *obj) vis = evas_object_visible_get(obj); evas_object_geometry_get(obj, &x, &y, &w, &h); - evas_output_viewport_get(obj, &vx, &vy, &vw, &vh); + evas_output_viewport_get(evas_object_evas_get(obj), &vx, &vy, &vw, &vh); if ((vis) && (ELM_RECTS_INTERSECT(x, y, w, h, vx, vy, vw, vh))) on = EINA_TRUE; elm_mapbuf_enabled_set(obj, on); -- 2.7.4