hermet pushed a commit to branch master.
commit 328ffb0df707e79103d894628828dee9621f4973
Author: ChunEon Park <[email protected]>
Date: Sun Aug 18 20:16:28 2013 +0900
elementary/mapbuf - revert 1f3fd49b4511ba4308a433cee9e7488cb61adaae.
This causes side effects in calculating objects.
---
src/lib/elm_mapbuf.c | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/src/lib/elm_mapbuf.c b/src/lib/elm_mapbuf.c
index 88ca35c..ba9f75b 100644
--- a/src/lib/elm_mapbuf.c
+++ b/src/lib/elm_mapbuf.c
@@ -47,11 +47,10 @@ _elm_mapbuf_smart_theme(Eo *obj, void *_pd EINA_UNUSED,
va_list *list)
static void
_changed_size_hints_cb(void *data,
- Evas *e,
+ Evas *e __UNUSED__,
Evas_Object *obj __UNUSED__,
void *event_info __UNUSED__)
{
- evas_smart_objects_calculate(e);
_sizing_eval(data);
}
@@ -75,10 +74,6 @@ _elm_mapbuf_smart_sub_object_del(Eo *obj, void *_pd, va_list
*list)
evas_object_event_callback_del_full
(sobj, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _changed_size_hints_cb,
obj);
- evas_object_event_callback_del_full(sobj, EVAS_CALLBACK_MOVE,
- _changed_size_hints_cb, obj);
- evas_object_event_callback_del_full(sobj, EVAS_CALLBACK_RESIZE,
- _changed_size_hints_cb, obj);
sd->content = NULL;
_sizing_eval(obj);
}
@@ -286,10 +281,6 @@ _elm_mapbuf_smart_content_set(Eo *obj, void *_pd, va_list
*list)
evas_object_event_callback_add
(content, EVAS_CALLBACK_CHANGED_SIZE_HINTS,
_changed_size_hints_cb, obj);
- evas_object_event_callback_add(content, EVAS_CALLBACK_MOVE,
- _changed_size_hints_cb, obj);
- evas_object_event_callback_add(content, EVAS_CALLBACK_RESIZE,
- _changed_size_hints_cb, obj);
}
else
evas_object_color_set(wd->resize_obj, 0, 0, 0, 0);
--
------------------------------------------------------------------------------
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://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk