use right object to do frame unadjust when setting theme
This commit is contained in:
parent
43a8bbcc30
commit
4bebbf08d9
|
@ -2566,7 +2566,7 @@ e_comp_object_frame_theme_set(Evas_Object *obj, const char *name)
|
|||
int w, h;
|
||||
|
||||
w = cw->w, h = cw->h;
|
||||
e_comp_object_frame_wh_unadjust(cw->frame_object, w, h, &cw->w, &cw->h);
|
||||
e_comp_object_frame_wh_unadjust(obj, w, h, &cw->w, &cw->h);
|
||||
if (cw->ec && ((cw->w != w) || (cw->h != h)))
|
||||
{
|
||||
cw->ec->changes.size = 1;
|
||||
|
|
Loading…
Reference in New Issue