summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ecore_evas/ecore_evas.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index 109b5ef79a..14c3792036 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -2793,6 +2793,10 @@ EAPI void
2793ecore_evas_shadow_geometry_set(Ecore_Evas *ee, int l, int r, int t, int b) 2793ecore_evas_shadow_geometry_set(Ecore_Evas *ee, int l, int r, int t, int b)
2794{ 2794{
2795 ECORE_EVAS_CHECK(ee); 2795 ECORE_EVAS_CHECK(ee);
2796 EINA_SAFETY_ON_TRUE_RETURN(l < 0);
2797 EINA_SAFETY_ON_TRUE_RETURN(r < 0);
2798 EINA_SAFETY_ON_TRUE_RETURN(t < 0);
2799 EINA_SAFETY_ON_TRUE_RETURN(b < 0);
2796 if ((ee->shadow.l == l) && (ee->shadow.r == r) && 2800 if ((ee->shadow.l == l) && (ee->shadow.r == r) &&
2797 (ee->shadow.t == t) && (ee->shadow.b == b)) return; 2801 (ee->shadow.t == t) && (ee->shadow.b == b)) return;
2798 ee->shadow.l = l; 2802 ee->shadow.l = l;