use right object to do frame unadjust when setting theme

This commit is contained in:
Mike Blumenkrantz 2014-01-17 17:41:50 -05:00
parent 43a8bbcc30
commit 4bebbf08d9
1 changed files with 1 additions and 1 deletions

View File

@ -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;