summaryrefslogtreecommitdiff
path: root/src/bin/edje/edje_cc_out.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/edje/edje_cc_out.c')
-rw-r--r--src/bin/edje/edje_cc_out.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c
index 096631d5ec..8a3bcfb3e5 100644
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -581,16 +581,6 @@ check_nameless_state(Edje_Part_Collection *pc, Edje_Part *ep, Edje_Part_Descript
581static void 581static void
582check_state(Edje_Part_Collection *pc, Edje_Part *ep, Edje_Part_Description_Common *ed, Eet_File *ef) 582check_state(Edje_Part_Collection *pc, Edje_Part *ep, Edje_Part_Description_Common *ed, Eet_File *ef)
583{ 583{
584 /* FIXME: When smart masks are supported, remove this check */
585 if (ed->clip_to_id != -1 &&
586 (pc->parts[ed->clip_to_id]->type != EDJE_PART_TYPE_RECTANGLE) &&
587 (pc->parts[ed->clip_to_id]->type != EDJE_PART_TYPE_IMAGE) &&
588 (pc->parts[ed->clip_to_id]->type != EDJE_PART_TYPE_PROXY))
589 error_and_abort(ef, "Collection %i: part: '%s' state: '%s' %g clip_to points to "
590 "a non RECT/IMAGE part '%s'!",
591 pc->id, ep->name, ed->state.name, ed->state.value,
592 pc->parts[ed->clip_to_id]->name);
593
594 check_nameless_state(pc, ep, ed, ef); 584 check_nameless_state(pc, ep, ed, ef);
595} 585}
596 586
@@ -675,14 +665,6 @@ check_part(Edje_Part_Collection *pc, Edje_Part *ep, Eet_File *ef)
675 default: break; 665 default: break;
676 } 666 }
677 } 667 }
678
679 /* FIXME: When smart masks are supported, remove this check */
680 if (ep->clip_to_id != -1 &&
681 (pc->parts[ep->clip_to_id]->type != EDJE_PART_TYPE_RECTANGLE) &&
682 (pc->parts[ep->clip_to_id]->type != EDJE_PART_TYPE_IMAGE) &&
683 (pc->parts[ep->clip_to_id]->type != EDJE_PART_TYPE_PROXY))
684 error_and_abort(ef, "Collection %i: clip_to point to a non RECT/IMAGE part '%s' !",
685 pc->id, pc->parts[ep->clip_to_id]->name);
686} 668}
687 669
688static void 670static void