[elm_popup_content_get] returns wrong value issue resolved.
authorshilpa singh <shilpa.singh@samsung.com>
Fri, 17 Dec 2010 10:09:32 +0000 (15:39 +0530)
committershilpa singh <shilpa.singh@samsung.com>
Fri, 17 Dec 2010 10:09:32 +0000 (15:39 +0530)
src/lib/elm_popup.c

index 99f0fa0..88e85aa 100644 (file)
@@ -639,9 +639,12 @@ elm_popup_content_get(Evas_Object *obj)
 {\r
    ELM_CHECK_WIDTYPE(obj, widtype) NULL;\r
    Widget_Data *wd = elm_widget_data_get(obj);\r
-\r
+   Evas_Object *content;\r
+             \r
    if (!wd) return NULL;\r
-   return wd->content_area;\r
+   content = edje_object_part_swallow_get(elm_layout_edje_get(wd->content_area), \r
+                                          "elm.swallow.content");\r
+   return content;\r
 }\r
 \r
 /**\r