summaryrefslogtreecommitdiff
path: root/legacy/evas
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2009-12-10 02:26:50 +0000
committerCarsten Haitzler <raster@rasterman.com>2009-12-10 02:26:50 +0000
commit2c7399ddfd37904a7f68d2cd311b66e6550c5316 (patch)
treef70dd70593e1bb19371b06886b3d76d0a5eb7f66 /legacy/evas
parentb32c9a3eae1dcbbb3da84bf760016275784ea9b9 (diff)
add check magic code!
SVN revision: 44326
Diffstat (limited to 'legacy/evas')
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_smart.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_object_smart.c b/legacy/evas/src/lib/canvas/evas_object_smart.c
index 185bb97f69..3308ae821a 100644
--- a/legacy/evas/src/lib/canvas/evas_object_smart.c
+++ b/legacy/evas/src/lib/canvas/evas_object_smart.c
@@ -303,7 +303,13 @@ evas_object_smart_members_get_direct(const Evas_Object *obj)
303{ 303{
304 Evas_Object_Smart *o; 304 Evas_Object_Smart *o;
305 305
306 MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
307 return NULL;
308 MAGIC_CHECK_END();
306 o = (Evas_Object_Smart *)(obj->object_data); 309 o = (Evas_Object_Smart *)(obj->object_data);
310 MAGIC_CHECK(o, Evas_Object_Smart, MAGIC_OBJ_SMART);
311 return NULL;
312 MAGIC_CHECK_END();
307 return o->contained; 313 return o->contained;
308} 314}
309 315