use right object to do frame unadjust when setting theme
authorMike Blumenkrantz <zmike@samsung.com>
Fri, 17 Jan 2014 22:41:50 +0000 (17:41 -0500)
committerMike Blumenkrantz <zmike@samsung.com>
Fri, 17 Jan 2014 22:41:50 +0000 (17:41 -0500)
src/bin/e_comp_object.c

index c326a10..bed0884 100644 (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;