cedric pushed a commit to branch master.
commit 74af5586f1aa70888d8fe2ebda7817de1fcf3fbb
Author: Cedric Bail <[email protected]>
Date: Mon Apr 22 14:04:01 2013 +0900
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);
--
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2