kimcinoo pushed a commit to branch master.
commit d9493cae46ff4efe15bc50bf49b72c6fb4e9813b
Author: Shinwoo Kim <[email protected]>
Date: Tue Aug 6 14:00:50 2013 +0900
[access] call smart_access(); of the object which does not have parent
object
---
src/lib/elm_win.c | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index ad76c08..cf5344b 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -1919,10 +1919,33 @@ _elm_win_access(Eina_Bool is_access)
Evas *evas;
const Eina_List *l;
Evas_Object *obj;
+ Evas_Object *fobj;
EINA_LIST_FOREACH(_elm_win_list, l, obj)
{
elm_widget_access(obj, is_access);
+
+ /* floating orphan object. if there are A, B, C objects and user does
+ as below, then there would be floating orphan objects.
+
+ 1. elm_object_content_set(layout, A);
+ 2. elm_object_content_set(layout, B);
+ 3. elm_object_content_set(layout, C);
+
+ now, the object A and B are floating orphan objects */
+
+ fobj = obj;
+ for (;;)
+ {
+ fobj = evas_object_below_get(fobj);
+ if (!fobj) break;
+
+ if (elm_widget_is(fobj) && !elm_widget_parent_get(fobj))
+ {
+ elm_widget_access(fobj, is_access);
+ }
+ }
+
if (!is_access)
{
evas = evas_object_evas_get(obj);
--
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk