Remove unnecessary code 73/35873/1 submit/tizen_tv/20150225.121340
authorKim Tae Soo <taesoo46.kim@samsung.com>
Wed, 25 Feb 2015 12:11:02 +0000 (21:11 +0900)
committerKim Tae Soo <taesoo46.kim@samsung.com>
Wed, 25 Feb 2015 12:11:02 +0000 (21:11 +0900)
Change-Id: I2f25204c462ca7e086cdd3a75dc7be6b5b912f93
Signed-off-by: Kim Tae Soo <taesoo46.kim@samsung.com>
src/views/category-layout.cpp

index 2aa8a20..5516167 100644 (file)
@@ -1424,7 +1424,6 @@ void CCategoryLayout::m_EmptyLayout(bool sort_flag)
        m->albumCover = NULL;
 
        evas_object_hide(Layout());
-       elm_object_part_content_unset(t.base, MUSIC_PART_CONTENT);
 }
 
 
@@ -1521,7 +1520,6 @@ void CCategoryLayout::t_UpdateLayoutWithFocus(void)
 {
        elm_object_tree_focus_allow_set(t.base, EINA_FALSE);
        t_UpdateLayout(false);
-       elm_object_part_content_set(t.base, MUSIC_PART_CONTENT, Layout());
        evas_object_show(Layout());
        m_RemoveFocusIdler();
        m->focus_idler = ecore_idler_add(sm_CbFocusIdler, this);
@@ -1659,7 +1657,6 @@ void CCategoryLayout::t_OnShow(void)
 
        t.depth = E_DEPTH_CATEGORY;
        t_UpdateLayout(false);
-       elm_object_part_content_set(t.base, MUSIC_PART_CONTENT, Layout());
        evas_object_show(Layout());
 }
 
@@ -1672,7 +1669,6 @@ void CCategoryLayout::Update(bool focusFlag)
                if (t.depth != E_DEPTH_CATEGORY)
                        return;
                t_UpdateLayout(true);
-               elm_object_part_content_set(t.base, MUSIC_PART_CONTENT, Layout());
                evas_object_show(Layout());
                return;
        }