[elm_conformant.c] default contetnt part is removed.
[framework/uifw/elementary.git] / src / lib / elm_conform.c
index 6394c37..63bf716 100644 (file)
@@ -617,7 +617,7 @@ _prop_change(void *data, int type __UNUSED__, void *event)
 EAPI Evas_Object *
 elm_conformant_add(Evas_Object *parent)
 {
-   Evas_Object *obj, *content;
+   Evas_Object *obj;
    Evas *e;
    Widget_Data *wd;
 
@@ -639,10 +639,6 @@ elm_conformant_add(Evas_Object *parent)
    _elm_theme_object_set(obj, wd->base, "conformant", "base", "default");
    elm_widget_resize_object_set(obj, wd->base);
 
-   content = elm_layout_add(obj);
-   elm_layout_theme_set(content, "conformant", "layout", "content");
-   elm_object_content_set(obj, content);
-
    _swallow_conformant_parts(obj);
 
 #ifdef HAVE_ELEMENTARY_X