summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_calc.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2018-01-16 15:12:49 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2018-01-16 18:37:05 +0900
commita92186be6ab7ba6b8ba0b2bedeaec51dcb4a3898 (patch)
treec22e99af65360feb242ead4bccd12acee605d424 /src/lib/edje/edje_calc.c
parentf2b5b00ca204e8a0b8c4ab671f60088da4edfca3 (diff)
ecore/edje/elm: Fix a few WRN from calls to NULL
This fixes some of the warnings generated by calling functions on NULL objects. One of the main remaining points is to avoid unwanted warnings on non-existing parts. Ref T6326
Diffstat (limited to '')
-rw-r--r--src/lib/edje/edje_calc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index 64b95ed72e..2e186213bd 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -1083,7 +1083,8 @@ _edje_dragable_pos_set(Edje *ed, Edje_Real_Part *ep, FLOAT_T x, FLOAT_T y)
1083 * value we would set foo to, because it would depend on the 1083 * value we would set foo to, because it would depend on the
1084 * size of the dragable... 1084 * size of the dragable...
1085 */ 1085 */
1086 evas_object_geometry_get(ep->object, &ex, &ey, NULL, NULL); 1086 if (ep->object)
1087 evas_object_geometry_get(ep->object, &ex, &ey, NULL, NULL);
1087 1088
1088 if (NEQ(ep->drag->x, x) || ep->drag->tmp.x) 1089 if (NEQ(ep->drag->x, x) || ep->drag->tmp.x)
1089 { 1090 {