{
o = v->o_list;
evas_object_geometry_get(o, NULL, NULL, NULL, &h);
+ if (!h) h = 1;
e_box_align_get(o, NULL, &align);
- align = align - (double)10/(double)h;
+ align = align - 10.0/(double)h;
if (align < 0.0) align = 0.0;
e_box_align_set(v->o_list, 0.5, align);
{
o = v->o_list;
evas_object_geometry_get(o, NULL, NULL, NULL, &h);
+ if (!h) h = 1;
e_box_align_get(o, NULL, &align);
- align = align + (double)10/(double)h;
+ align = align + 10.0/(double)h;
if (align > 1.0) align = 1.0;
e_box_align_set(v->o_list, 0.5, align);
return 1;
}
-
- evry_view_toggle(state, NULL);
+
+ evry_view_toggle((Evry_State *)state, NULL);
return 1;
}
v->active = 1;
state = s;
-
+
return v;
}