evas: make evas_object_smart_type_check more resilient.
Issue reported by JPeg. SVN revision: 74295
This commit is contained in:
parent
78886b5542
commit
733338509e
|
@ -899,5 +899,8 @@
|
|||
|
||||
2012-07-19 Jiyoun Park(jypark)
|
||||
|
||||
* Fix jpeg save bug related with error handler
|
||||
* Fix jpeg save bug related with error handler
|
||||
|
||||
2012-07-22 Cedric Bail
|
||||
|
||||
* Don't crash when calling evas_object_smart_type_check without type.
|
||||
|
|
|
@ -23,6 +23,7 @@ Fixes:
|
|||
* Don't accept broken map.
|
||||
* Fix garbage left by mapped smart object when they fly away from the canvas.
|
||||
* Fix map life cycle.
|
||||
* Don't crash when calling evas_object_smart_type_check without type.
|
||||
|
||||
Removal:
|
||||
* Remove EVAS_FRAME_QUEUING, EVAS_SLI, METRIC_CACHE and WORD_CACHE.
|
||||
|
|
|
@ -273,6 +273,8 @@ evas_object_smart_type_check(const Evas_Object *obj, const char *type)
|
|||
return EINA_FALSE;
|
||||
MAGIC_CHECK_END();
|
||||
|
||||
EINA_SAFETY_ON_FALSE_RETURN_VAL(type, EINA_FALSE);
|
||||
|
||||
if (!obj->smart.smart)
|
||||
return EINA_FALSE;
|
||||
sc = obj->smart.smart->smart_class;
|
||||
|
@ -295,6 +297,8 @@ evas_object_smart_type_check_ptr(const Evas_Object *obj, const char *type)
|
|||
return EINA_FALSE;
|
||||
MAGIC_CHECK_END();
|
||||
|
||||
EINA_SAFETY_ON_FALSE_RETURN_VAL(type, EINA_FALSE);
|
||||
|
||||
if (!obj->smart.smart)
|
||||
return EINA_FALSE;
|
||||
sc = obj->smart.smart->smart_class;
|
||||
|
|
Loading…
Reference in New Issue