rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=26b6cd1d1e1b203b8f350b9e1220fc5c56f71d90

commit 26b6cd1d1e1b203b8f350b9e1220fc5c56f71d90
Author: Elizabeth Shevchenko <l.shevche...@samsung.com>
Date:   Tue Oct 27 15:43:43 2015 +0200

    main_window: fix history list
---
 src/bin/ui/main_window.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/bin/ui/main_window.c b/src/bin/ui/main_window.c
index 915e259..9fbdcec 100644
--- a/src/bin/ui/main_window.c
+++ b/src/bin/ui/main_window.c
@@ -78,12 +78,21 @@ ui_main_window_del(void)
    return true;
 }
 
+/*
+ * It's necessary to avoid warning: implicit declaration of function
+ * 'elm_widget_sub_object_add' on compilation stage, which occurrs because of
+ * Elementary.h file isn't contain directly elm_widget.h file (where
+ * 'elm_widget_sub_object_add' function declared)
+ */
+Eina_Bool elm_widget_sub_object_add(Evas_Object *obj, Evas_Object *sobj);
+
 static void
 _history_click(void *data __UNUSED__,
                Evas_Object *obj __UNUSED__,
                void *event_info __UNUSED__)
 {
    evas_object_hide(elm_layout_content_unset(ap.block.right_top, NULL));
+   elm_widget_sub_object_add(ap.block.right_top, ap.block.property);
    elm_layout_content_set(ap.block.right_top, NULL, ap.block.history);
 }
 static void
@@ -92,6 +101,7 @@ _property_click(void *data __UNUSED__,
                 void *event_info __UNUSED__)
 {
    evas_object_hide(elm_layout_content_unset(ap.block.right_top, NULL));
+   elm_widget_sub_object_add(ap.block.right_top, ap.block.history);
    elm_layout_content_set(ap.block.right_top, NULL, ap.block.property);
 }
 

-- 


Reply via email to