naviframe - bottom_item_get returns NULL always. fixed it.
authorChunEon Park <chuneon.park@samsung.com>
Fri, 7 Oct 2011 10:15:55 +0000 (19:15 +0900)
committerChunEon Park <chuneon.park@samsung.com>
Fri, 7 Oct 2011 10:15:55 +0000 (19:15 +0900)
src/lib/elc_naviframe.c

index 5af6e32..b666622 100644 (file)
@@ -964,8 +964,8 @@ elm_naviframe_bottom_item_get(const Evas_Object *obj)
 {
    ELM_CHECK_WIDTYPE(obj, widtype) NULL;
    Widget_Data *wd = elm_widget_data_get(obj);
-   if (!wd) return NULL;
-   return NULL;
+   if ((!wd) || (!wd->stack)) return NULL;
+   return wd->stack->data;
 }
 
 EAPI void