probably the best commit I'll ever make: evas_object_del() now takes NULL parameter without bitching

SVN revision: 77344
This commit is contained in:
Mike Blumenkrantz 2012-10-03 06:59:20 +00:00
parent 94978e3079
commit 8501f2111a
3 changed files with 7 additions and 1 deletions

View File

@ -1067,3 +1067,7 @@
* Add the object display mode hint. this can be used to check object
mode like compress or expand or etc
2012-10-03 Mike Blumenkrantz
* evas_object_del() now accepts NULL more peacefully

View File

@ -14,7 +14,8 @@ Improvements:
* Function to rotate an evas map with a quaternion: evas_map_util_quat_rotate().
* EVAS_GL_NO_BLACKLIST env var to turn off blacklisted drivers in gl
* Evas gl enigne can do partial swaps now.
* Evas gl engine can do partial swaps now.
* evas_object_del() now takes NULL parameters
Fixes:

View File

@ -430,6 +430,7 @@ evas_object_ref_get(const Evas_Object *obj)
EAPI void
evas_object_del(Evas_Object *obj)
{
if (!obj) return;
MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
return;
MAGIC_CHECK_END();