summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-10-03 06:59:20 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-10-03 06:59:20 +0000
commit8501f2111ad4533d0d0443954486ba0cd197706f (patch)
tree37b930bb9082dc20c25a91c73921d765b1647ba9
parent94978e30793cba4972266f7cd9a79578e71d07fd (diff)
probably the best commit I'll ever make: evas_object_del() now takes NULL parameter without bitching
SVN revision: 77344
Diffstat (limited to '')
-rw-r--r--legacy/evas/ChangeLog4
-rw-r--r--legacy/evas/NEWS3
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_main.c1
3 files changed, 7 insertions, 1 deletions
diff --git a/legacy/evas/ChangeLog b/legacy/evas/ChangeLog
index 377cec6622..7b488468ad 100644
--- a/legacy/evas/ChangeLog
+++ b/legacy/evas/ChangeLog
@@ -1067,3 +1067,7 @@
1067 1067
1068 * Add the object display mode hint. this can be used to check object 1068 * Add the object display mode hint. this can be used to check object
1069 mode like compress or expand or etc 1069 mode like compress or expand or etc
1070
10712012-10-03 Mike Blumenkrantz
1072
1073 * evas_object_del() now accepts NULL more peacefully
diff --git a/legacy/evas/NEWS b/legacy/evas/NEWS
index 5e25b5589a..0e0553b4dd 100644
--- a/legacy/evas/NEWS
+++ b/legacy/evas/NEWS
@@ -14,7 +14,8 @@ Improvements:
14 14
15 * Function to rotate an evas map with a quaternion: evas_map_util_quat_rotate(). 15 * Function to rotate an evas map with a quaternion: evas_map_util_quat_rotate().
16 * EVAS_GL_NO_BLACKLIST env var to turn off blacklisted drivers in gl 16 * EVAS_GL_NO_BLACKLIST env var to turn off blacklisted drivers in gl
17 * Evas gl enigne can do partial swaps now. 17 * Evas gl engine can do partial swaps now.
18 * evas_object_del() now takes NULL parameters
18 19
19Fixes: 20Fixes:
20 21
diff --git a/legacy/evas/src/lib/canvas/evas_object_main.c b/legacy/evas/src/lib/canvas/evas_object_main.c
index de28893de3..990ddc6df2 100644
--- a/legacy/evas/src/lib/canvas/evas_object_main.c
+++ b/legacy/evas/src/lib/canvas/evas_object_main.c
@@ -430,6 +430,7 @@ evas_object_ref_get(const Evas_Object *obj)
430EAPI void 430EAPI void
431evas_object_del(Evas_Object *obj) 431evas_object_del(Evas_Object *obj)
432{ 432{
433 if (!obj) return;
433 MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ); 434 MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
434 return; 435 return;
435 MAGIC_CHECK_END(); 436 MAGIC_CHECK_END();