aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2018-09-04 17:40:06 +0900
committerShinwoo Kim <cinoo.kim@samsung.com>2018-09-04 17:40:06 +0900
commitfd87dbce3870bded4b99d8e3c2b118f57901bff4 (patch)
tree5d43cc0a224d271a00efabcae64dcd82b6d8bb24
parenttests: fix a build error on the 0.12.0 check (diff)
downloadefl-fd87dbce3870bded4b99d8e3c2b118f57901bff4.tar.gz
edje_calc: remove unused variable
Summary: those variables should be removed at 05e3e450e5ecb67f80c1be3df8ab7a08e8d33da2 Reviewers: eagleeye Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6968
-rw-r--r--src/lib/edje/edje_calc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index 0611e0b87d..86c7aafd19 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -1117,7 +1117,6 @@ _edje_part_dragable_calc(Edje *ed EINA_UNUSED, Edje_Real_Part *ep, FLOAT_T *x, F
void
_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 */
if (!ep->drag) 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
* 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)
{