diff options
author | Daniel Juyung Seo <seojuyung2@gmail.com> | 2013-10-17 14:18:22 +0900 |
---|---|---|
committer | Daniel Juyung Seo <seojuyung2@gmail.com> | 2013-10-17 14:27:01 +0900 |
commit | 885ee1a9e6d5c18b08936f755fe53936ea99ce59 (patch) | |
tree | 1ec25bf0f51ce546aa1d097dfe2c8e39e965e5e1 /src/lib/elm_separator.c | |
parent | 1b07838b2c6e4c90664906077ff9f62bf0a63e57 (diff) | |
download | elementary-885ee1a9e6d5c18b08936f755fe53936ea99ce59.tar.gz |
elm: Removed unnecessary local variable in sizing_eval.
Diffstat (limited to 'src/lib/elm_separator.c')
-rw-r--r-- | src/lib/elm_separator.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elm_separator.c b/src/lib/elm_separator.c index e4d1e4996..ab9fd588d 100644 --- a/src/lib/elm_separator.c +++ b/src/lib/elm_separator.c @@ -37,13 +37,13 @@ _elm_separator_smart_theme(Eo *obj, void *_pd, va_list *list) static void _elm_separator_smart_sizing_eval(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED) { - Evas_Coord minw = -1, minh = -1, maxw = -1, maxh = -1; + Evas_Coord minw = -1, minh = -1; ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); edje_object_size_min_calc(wd->resize_obj, &minw, &minh); evas_object_size_hint_min_set(obj, minw, minh); - evas_object_size_hint_max_set(obj, maxw, maxh); - evas_object_size_hint_align_set(obj, maxw, maxh); + evas_object_size_hint_max_set(obj, -1, -1); + evas_object_size_hint_align_set(obj, EVAS_HINT_FILL, EVAS_HINT_FILL); } static void |