forked from enlightenment/efl
edje_calc: remove unused variable
Summary: those variables should be removed at 05e3e450e5
Reviewers: eagleeye
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6968
This commit is contained in:
parent
f84408e325
commit
fd87dbce38
|
@ -1117,7 +1117,6 @@ _edje_part_dragable_calc(Edje *ed EINA_UNUSED, Edje_Real_Part *ep, FLOAT_T *x, F
|
||||||
void
|
void
|
||||||
_edje_dragable_pos_set(Edje *ed, Edje_Real_Part *ep, FLOAT_T x, FLOAT_T y)
|
_edje_dragable_pos_set(Edje *ed, Edje_Real_Part *ep, FLOAT_T x, FLOAT_T y)
|
||||||
{
|
{
|
||||||
Evas_Coord ex = 0, ey = 0;
|
|
||||||
/* check whether this part is dragable at all */
|
/* check whether this part is dragable at all */
|
||||||
if (!ep->drag) return;
|
if (!ep->drag) return;
|
||||||
if (ep->drag->down.count > 0) return;
|
if (ep->drag->down.count > 0) return;
|
||||||
|
@ -1127,8 +1126,6 @@ _edje_dragable_pos_set(Edje *ed, Edje_Real_Part *ep, FLOAT_T x, FLOAT_T y)
|
||||||
* value we would set foo to, because it would depend on the
|
* value we would set foo to, because it would depend on the
|
||||||
* size of the dragable...
|
* size of the dragable...
|
||||||
*/
|
*/
|
||||||
if (ep->object)
|
|
||||||
evas_object_geometry_get(ep->object, &ex, &ey, NULL, NULL);
|
|
||||||
|
|
||||||
if (NEQ(ep->drag->x, x) || ep->drag->tmp.x)
|
if (NEQ(ep->drag->x, x) || ep->drag->tmp.x)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue