warning--
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 25 Oct 2011 12:25:15 +0000 (12:25 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 25 Oct 2011 12:25:15 +0000 (12:25 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64390 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_layer.c
src/lib/canvas/evas_object_smart.c

index c4da799..54e9907 100644 (file)
@@ -151,8 +151,6 @@ evas_object_layer_set(Evas_Object *obj, short l)
         evas_object_raise(obj);
         return;
      }
-   if (l < EVAS_LAYER_MIN) l = EVAS_LAYER_MIN;
-   else if (l > EVAS_LAYER_MAX) l = EVAS_LAYER_MAX;
    e = obj->layer->evas;
    evas_object_release(obj, 1);
    obj->cur.layer = l;
index 32e4023..900c81f 100644 (file)
@@ -561,7 +561,7 @@ evas_object_smart_need_recalculate_set(Evas_Object *obj, Eina_Bool value)
 
    if (o->need_recalculate == value) return;
 
-   if (obj->recalculate_cycle > 256)
+   if (obj->recalculate_cycle > 254)
      {
         ERR("Object %p is not stable during recalc loop", obj);
         return;