forked from enlightenment/enlightenment
Fix e_widget hierarchy.
e_widget_resize_object_set() gets the SUB (child) object as the second parameter, it's named "sobj", but it's being used as the SMART (parent) object with evas_object_smart_member_add(), so hierarchy was all swapped. SVN revision: 36034
This commit is contained in:
parent
4b969ed2fc
commit
26b444f0d8
|
@ -170,7 +170,7 @@ e_widget_resize_object_set(Evas_Object *obj, Evas_Object *sobj)
|
|||
API_ENTRY return;
|
||||
if (sd->resize_obj) evas_object_smart_member_del(sd->resize_obj);
|
||||
sd->resize_obj = sobj;
|
||||
evas_object_smart_member_add(obj, sobj);
|
||||
evas_object_smart_member_add(sobj, obj);
|
||||
_e_smart_reconfigure(sd);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue