elm elc_ctxpopup.c: Code refactoring.

SVN revision: 75885
This commit is contained in:
Daniel Juyung Seo 2012-08-30 15:18:47 +00:00
parent aac950d272
commit b4276d84d2
1 changed files with 3 additions and 12 deletions

View File

@ -1319,22 +1319,13 @@ elm_ctxpopup_horizontal_set(Evas_Object *obj, Eina_Bool horizontal)
wd->horizontal = !!horizontal;
if ((!wd->list))
return;
if (!wd->list) return;
if (!horizontal)
{
elm_list_horizontal_set(wd->list, wd->horizontal);
}
else
{
elm_list_horizontal_set(wd->list, wd->horizontal);
}
elm_list_horizontal_set(wd->list, wd->horizontal);
wd->dir = ELM_CTXPOPUP_DIRECTION_UNKNOWN;
if (wd->visible)
_sizing_eval(obj);
if (wd->visible) _sizing_eval(obj);
}
EAPI Eina_Bool