{
Elm_List_Mode set = _list_horizontal_mode_setting_get(p->horizontal_mode);
- if (set == ELM_LIST_LAST) return;
- elm_genlist_horizontal_mode_set(obj, set);
+ if (set != ELM_LIST_LAST)
+ elm_genlist_horizontal_mode_set(obj, set);
}
if (p->multi_exists)
elm_genlist_multi_select_set(obj, p->multi);
if (p->horizontal_mode)
{
- Elm_List_Mode set = _list_horizontal_mode_setting_get(p->horizontal_mode
- );
- if (set == ELM_LIST_LAST) return;
- elm_list_horizontal_mode_set(obj, set);
+ Elm_List_Mode set = _list_horizontal_mode_setting_get(
+ p->horizontal_mode);
+
+ if (set != ELM_LIST_LAST)
+ elm_list_horizontal_mode_set(obj, set);
}
if ((p->policy_h) && (p->policy_v))
if (p->animate)
{
Elm_Thumb_Animation_Setting set = _anim_setting_get(p->animate);
- if (set == ELM_THUMB_ANIMATION_LAST) return;
- elm_thumb_animate_set(obj, set);
+ if (set != ELM_THUMB_ANIMATION_LAST)
+ elm_thumb_animate_set(obj, set);
}
if (p->aspect_exists)
elm_thumb_keep_aspect_set(obj, p->keep_aspect);