summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2019-08-14 17:48:32 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2019-08-14 17:48:32 +0900
commitc857955a4ece647b2039719bd750b080394b6eb5 (patch)
tree2b66a6ce5089c52d9237d2a6f5f115b097bebd4c
parent85cf0ce88369c3d0e4fffb66b5c0fdbb94688052 (diff)
downloadefl-c857955a4ece647b2039719bd750b080394b6eb5.tar.gz
efl_ui_layout: remove efl_gfx_hint_size_min_set in _sizing_eval
Summary: `evas_object_size_hint_min_set` is replaced with `efl_gfx_hint_size_min_set` in 4d79efce6. it is able to have backward compatibility issue because `evas_object_size_hint_min_set` call `efl_gfx_hint_size_restricted_min_set` internally. ``` evas_object_main.c:2501 EAPI void evas_object_size_hint_min_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h) { efl_gfx_hint_size_restricted_min_set(obj, EINA_SIZE2D(w, h)); } ``` This patch remove unnecessary min_set call. Test Plan: elementary_test Reviewers: zmike, Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9566
-rw-r--r--src/lib/elementary/efl_ui_layout.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/elementary/efl_ui_layout.c b/src/lib/elementary/efl_ui_layout.c
index d1659aa19b..8dd0879dbc 100644
--- a/src/lib/elementary/efl_ui_layout.c
+++ b/src/lib/elementary/efl_ui_layout.c
@@ -210,10 +210,7 @@ _sizing_eval(Evas_Object *obj, Efl_Ui_Layout_Data *sd, Elm_Layout_Data *ld)
efl_gfx_hint_size_restricted_min_set(obj, EINA_SIZE2D(minw, minh));
if (ld)
- {
- ld->restricted_calc_w = ld->restricted_calc_h = EINA_FALSE;
- efl_gfx_hint_size_min_set(obj, EINA_SIZE2D(minw, minh));
- }
+ ld->restricted_calc_w = ld->restricted_calc_h = EINA_FALSE;
}
void