summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_map.c
diff options
context:
space:
mode:
authorJean-Philippe ANDRE <jpeg@videolan.org>2014-06-22 18:08:56 +0900
committerJean-Philippe ANDRE <jpeg@videolan.org>2014-06-22 18:12:01 +0900
commitd589e760d31ed2cea371eef11bdb82b73181859c (patch)
treebda798a73ef27585c1202b3f6b00d9c1ed9ca664 /src/lib/evas/canvas/evas_map.c
parentcc3809d295707ede041f36f92e19042f9c644f55 (diff)
Evas map: Add missing EINA_MAGIC check
Diffstat (limited to 'src/lib/evas/canvas/evas_map.c')
-rw-r--r--src/lib/evas/canvas/evas_map.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_map.c b/src/lib/evas/canvas/evas_map.c
index 9d41cf31da..6ddc05a202 100644
--- a/src/lib/evas/canvas/evas_map.c
+++ b/src/lib/evas/canvas/evas_map.c
@@ -792,6 +792,10 @@ evas_map_point_color_get(const Evas_Map *m, int idx, int *r, int *g, int *b, int
792EAPI void 792EAPI void
793evas_map_util_points_populate_from_object_full(Evas_Map *m, const Evas_Object *eo_obj, Evas_Coord z) 793evas_map_util_points_populate_from_object_full(Evas_Map *m, const Evas_Object *eo_obj, Evas_Coord z)
794{ 794{
795 MAGIC_CHECK(m, Evas_Map, MAGIC_MAP);
796 return;
797 MAGIC_CHECK_END();
798
795 MAGIC_CHECK(eo_obj, Evas_Object, MAGIC_OBJ); 799 MAGIC_CHECK(eo_obj, Evas_Object, MAGIC_OBJ);
796 return; 800 return;
797 MAGIC_CHECK_END(); 801 MAGIC_CHECK_END();
@@ -818,7 +822,7 @@ evas_map_util_points_populate_from_object(Evas_Map *m, const Evas_Object *eo_obj
818 return; 822 return;
819 MAGIC_CHECK_END(); 823 MAGIC_CHECK_END();
820 Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS); 824 Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS);
821 825
822 if (!obj) return; 826 if (!obj) return;
823 if (m->count != 4) 827 if (m->count != 4)
824 { 828 {