summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_calc.c
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 /src/lib/edje/edje_calc.c
parentf84408e3253e2573d71bbf0939e6ecc1e44f6e3a (diff)
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
Diffstat (limited to 'src/lib/edje/edje_calc.c')
-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
1117void 1117void
1118_edje_dragable_pos_set(Edje *ed, Edje_Real_Part *ep, FLOAT_T x, FLOAT_T y) 1118_edje_dragable_pos_set(Edje *ed, Edje_Real_Part *ep, FLOAT_T x, FLOAT_T y)
1119{ 1119{
1120 Evas_Coord ex = 0, ey = 0;
1121 /* check whether this part is dragable at all */ 1120 /* check whether this part is dragable at all */
1122 if (!ep->drag) return; 1121 if (!ep->drag) return;
1123 if (ep->drag->down.count > 0) return; 1122 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)
1127 * value we would set foo to, because it would depend on the 1126 * value we would set foo to, because it would depend on the
1128 * size of the dragable... 1127 * size of the dragable...
1129 */ 1128 */
1130 if (ep->object)
1131 evas_object_geometry_get(ep->object, &ex, &ey, NULL, NULL);
1132 1129
1133 if (NEQ(ep->drag->x, x) || ep->drag->tmp.x) 1130 if (NEQ(ep->drag->x, x) || ep->drag->tmp.x)
1134 { 1131 {