[elm] Init fix for frame.

SVN revision: 74024
This commit is contained in:
Gustavo Lima Chaves 2012-07-17 18:46:12 +00:00
parent 8855306850
commit b24829d701
1 changed files with 2 additions and 2 deletions

View File

@ -188,6 +188,8 @@ _elm_frame_smart_add(Evas_Object *obj)
elm_widget_can_focus_set(obj, EINA_FALSE);
elm_layout_theme_set(obj, "frame", "base", elm_widget_style_get(obj));
elm_layout_sizing_eval(obj);
}
static void
@ -219,8 +221,6 @@ elm_frame_add(Evas_Object *parent)
if (!elm_widget_sub_object_add(parent, obj))
ERR("could not add %p as sub object of %p", obj, parent);
elm_layout_sizing_eval(obj);
return obj;
}