forked from enlightenment/efl
elementary: Declare variables at top of function
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 63951
This commit is contained in:
parent
cc44533fe3
commit
a59721b120
|
@ -188,12 +188,13 @@ static void
|
||||||
_conformant_part_sizing_eval(Evas_Object *obj, Conformant_Part_Type part_type)
|
_conformant_part_sizing_eval(Evas_Object *obj, Conformant_Part_Type part_type)
|
||||||
{
|
{
|
||||||
Ecore_X_Window zone = 0, xwin;
|
Ecore_X_Window zone = 0, xwin;
|
||||||
|
Evas_Object *top;
|
||||||
int sx = -1, sy = -1, sw = -1, sh = -1;
|
int sx = -1, sy = -1, sw = -1, sh = -1;
|
||||||
Widget_Data *wd = elm_widget_data_get(obj);
|
Widget_Data *wd = elm_widget_data_get(obj);
|
||||||
|
|
||||||
if (!wd) return;
|
if (!wd) return;
|
||||||
|
|
||||||
Evas_Object *top = elm_widget_top_get(obj);
|
top = elm_widget_top_get(obj);
|
||||||
#ifdef HAVE_ELEMENTARY_X
|
#ifdef HAVE_ELEMENTARY_X
|
||||||
xwin = elm_win_xwindow_get(top);
|
xwin = elm_win_xwindow_get(top);
|
||||||
if (xwin)
|
if (xwin)
|
||||||
|
|
Loading…
Reference in New Issue