From 787a1b739041f69c5c3c518581dc05b9deb546b8 Mon Sep 17 00:00:00 2001 From: hermet Date: Fri, 6 May 2011 10:55:24 +0000 Subject: [PATCH] evas/evas_object_smart - fixed parent cache invalidation logic error. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@59241 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/canvas/evas_object_smart.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/canvas/evas_object_smart.c b/src/lib/canvas/evas_object_smart.c index 8282845..87e8c7b 100644 --- a/src/lib/canvas/evas_object_smart.c +++ b/src/lib/canvas/evas_object_smart.c @@ -712,11 +712,14 @@ evas_object_smart_member_cache_invalidate(Evas_Object *obj) Evas_Object_Smart *o; Eina_Inlist *l; + MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ); + obj->parent_cache_valid = 0; + MAGIC_CHECK_END(); + o = (Evas_Object_Smart *)(obj->object_data); if (o->magic != MAGIC_OBJ_SMART) return; - obj->parent_cache_valid = 0; for (l = o->contained; l; l = l->next) { Evas_Object *obj2; -- 2.7.4