Set proper elementary parent to elm_layout 77/191277/1 tizen tizen_5.0 tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_wearable_hotfix tizen_6.0 tizen_6.0_hotfix tizen_6.5 tizen_7.0 tizen_7.0_hotfix tizen_8.0 submit/tizen/20181015.161846 submit/tizen/20200205.123246 submit/tizen_5.0/20181101.000009 submit/tizen_5.5/20191031.000001 submit/tizen_5.5_mobile_hotfix/20201026.185109 submit/tizen_5.5_mobile_hotfix/20201125.191001 submit/tizen_5.5_mobile_hotfix/20201126.134001 submit/tizen_5.5_mobile_hotfix/20201126.142801 submit/tizen_5.5_wearable_hotfix/20201026.184309 submit/tizen_6.0/20201029.205505 submit/tizen_6.0_hotfix/20201102.192905 submit/tizen_6.0_hotfix/20201103.115105 submit/tizen_6.5/20211028.164201 submit/tizen_6.5/20211029.123901 tizen_5.5_src.m2_release tizen_6.0_src.m2_release tizen_6.5_src.m2_release tizen_7.0_src.m2_release tizen_8.0_m2_release
authorWooHyun Jung <wh0705.jung@samsung.com>
Mon, 15 Oct 2018 07:38:36 +0000 (16:38 +0900)
committerWooHyun Jung <wh0705.jung@samsung.com>
Mon, 15 Oct 2018 07:43:08 +0000 (16:43 +0900)
Summary:
In the past, elm_layout's parent was elm_box. But this idea
was wrong because the box widget was contained to the layout
widget. That made recursive parent referencing between two
widgets.
So, I've chagned the parent of elm_layout to the naviframe widget.

Change-Id: I484cecddd3000f5a1757b3e689a88126c04e0e83

src/widget/mf-ug-navi-bar.c

index cdeeda3..3e4ed99 100644 (file)
@@ -771,7 +771,7 @@ void mf_ug_navi_bar_create_default_view(void *data)
        ugd->ug_Status.ug_iCheckedCount = 0;
        box = mf_ug_navi_bar_create_box(ugd->ug_MainWindow.ug_pNaviBar);
        pNaviLayout =
-               mf_ug_navi_bar_create_layout(box, UG_EDJ_NAVIGATIONBAR,
+               mf_ug_navi_bar_create_layout(ugd->ug_MainWindow.ug_pNaviBar, UG_EDJ_NAVIGATIONBAR,
                                                                         UG_GRP_NAVI_VIEW);
        ugd->ug_MainWindow.ug_pNaviLayout = pNaviLayout;