fix build warning 78/152078/1 accepted/tizen/unified/20171124.064533 submit/tizen/20171123.063422
authorYoungjae Shin <yj99.shin@samsung.com>
Mon, 25 Sep 2017 04:45:07 +0000 (13:45 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Mon, 25 Sep 2017 04:45:07 +0000 (13:45 +0900)
Change-Id: If5d58bc40be55b236d53a2810e7165225793fab4

src/ui_manager.c

index d09b61515801cc99276b41b916d2c76f1d994a15..a5814630560a4f9d42d0123f0fca469512476f2c 100644 (file)
@@ -206,7 +206,7 @@ int _ui_manager_append_content_category(Evas_Object *ui_manager, innate_content_
                }
                _D("added index %d", content_info->index);
                if (_gesture_get_state() != ATTACH_PANEL_STATE_HIDDEN) {
-                       int page_no = NULL;
+                       int page_no = 0;
                        elm_scroller_current_page_get(attach_panel->scroller, &page_no, NULL);
                        if (page_no == content_info->index) {
                                _D("more tab was visible and new page inserted before it");