summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2019-04-24 20:33:20 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2019-04-24 20:33:21 +0900
commit8c0ab0db425588d6e42a21ee28d8e9d96c32a272 (patch)
treea62f4c34ebe43f9eaa617d191390583dc3f9046a /src/bin
parent9b87eaee0884f55899a05d271b098b8b3e11c221 (diff)
ui.relative_layout: enhance relation_xxx_set,get apis
Summary: I forgot `efl_pack_layout_request` after relation_xxx is changed. Unnecessary register function in `relation_xxx_get` will return unexpected result. if a object is not child of relative_layout, `relation_xxx_get` should return `target = NULL` and `relative = 0.0` with error message. Test Plan: make check Reviewers: Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8627
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/elementary/test_ui_relative_layout.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bin/elementary/test_ui_relative_layout.c b/src/bin/elementary/test_ui_relative_layout.c
index f1d58af0cd..0e8bcbccd0 100644
--- a/src/bin/elementary/test_ui_relative_layout.c
+++ b/src/bin/elementary/test_ui_relative_layout.c
@@ -74,7 +74,6 @@ _btn_clicked_to_cb(void *data, const Efl_Event *event)
74 break; 74 break;
75 } 75 }
76 efl_text_set(obj, ((to == layout) ? "parent" : (char *)efl_text_get(to))); 76 efl_text_set(obj, ((to == layout) ? "parent" : (char *)efl_text_get(to)));
77 efl_pack_layout_request(layout);
78} 77}
79 78
80static void 79static void
@@ -102,7 +101,6 @@ _slider_changed_relative_cb(void *data, const Efl_Event *event)
102 efl_ui_relative_layout_relation_bottom_set(layout, btn, NULL, val); 101 efl_ui_relative_layout_relation_bottom_set(layout, btn, NULL, val);
103 break; 102 break;
104 } 103 }
105 efl_pack_layout_request(layout);
106} 104}
107 105
108static void 106static void