aaah allow type to be set on group inherit or part inherit... you just
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 23 Nov 2011 10:38:43 +0000 (10:38 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 23 Nov 2011 10:38:43 +0000 (10:38 +0000)
really shouldnt set it to a different type as its not very sensible.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@65534 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/edje_cc_handlers.c

index 1de1fd1..474348b 100644 (file)
@@ -2965,13 +2965,6 @@ st_collections_group_parts_part_type(void)
                                    "EXTERNAL", EDJE_PART_TYPE_EXTERNAL,
                                    "PROXY", EDJE_PART_TYPE_PROXY,
                                    NULL);
-
-   if (current_part->default_desc || current_part->other.desc_count > 0)
-     {
-        ERR("%s: Error. parse error %s:%i. You can't change the part type in inherited group. (part: %s)",
-            progname, file_in, line - 1, current_part->name);
-        exit(-1);
-     }
 }
 
 /**