summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_textgrid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_object_textgrid.c')
-rw-r--r--src/lib/evas/canvas/evas_object_textgrid.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/evas/canvas/evas_object_textgrid.c b/src/lib/evas/canvas/evas_object_textgrid.c
index d817d94e..8c5cd63 100644
--- a/src/lib/evas/canvas/evas_object_textgrid.c
+++ b/src/lib/evas/canvas/evas_object_textgrid.c
@@ -899,9 +899,7 @@ _evas_textgrid_efl_gfx_entity_scale_set(Evas_Object *eo_obj, Evas_Textgrid_Data
899EAPI Evas_Object * 899EAPI Evas_Object *
900evas_object_textgrid_add(Evas *e) 900evas_object_textgrid_add(Evas *e)
901{ 901{
902 MAGIC_CHECK(e, Evas, MAGIC_EVAS); 902 EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(e, EVAS_CANVAS_CLASS), NULL);
903 return NULL;
904 MAGIC_CHECK_END();
905 return efl_add(EVAS_TEXTGRID_CLASS, evas_find(e), efl_canvas_object_legacy_ctor(efl_added)); 903 return efl_add(EVAS_TEXTGRID_CLASS, evas_find(e), efl_canvas_object_legacy_ctor(efl_added));
906} 904}
907 905