raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=ceb63bb202c46889e53ea030493656698271016f

commit ceb63bb202c46889e53ea030493656698271016f
Author: Youngbok Shin <[email protected]>
Date:   Wed Sep 28 15:49:23 2016 +0900

    edje_cc: don't warn when image attributes are missing in inherit_only group
    
    Summary:
    The inherit_only groups could be used for template of other groups.
    So, even if it has image part, it dose not need to have image attributes.
    @fix
    
    Test Plan: N/A
    
    Reviewers: cedric, conr2d, jpeg, raster
    
    Reviewed By: raster
    
    Differential Revision: https://phab.enlightenment.org/D4322
---
 src/bin/edje/edje_cc_out.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c
index 90a8e41..ab04fed 100644
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -378,6 +378,9 @@ check_image_part_desc(Edje_Part_Collection *pc, Edje_Part 
*ep,
                       Edje_Part_Description_Image *epd, Eet_File *ef)
 {
    unsigned int i;
+   Edje_Part_Collection_Parser *pcp = (Edje_Part_Collection_Parser *)pc;
+
+   if (pcp->inherit_only) return;
 
    if (epd->image.id == -1 && epd->common.visible)
      WRN("Collection %s(%i): image attributes missing for "

-- 


Reply via email to