edje: check the number of parameter for edc.
SVN revision: 75876
This commit is contained in:
parent
0008f2362f
commit
3da32a51aa
|
@ -577,3 +577,7 @@
|
||||||
2012-08-30 Carsten Haitzler (The Rasterman)
|
2012-08-30 Carsten Haitzler (The Rasterman)
|
||||||
|
|
||||||
1.7.0 release
|
1.7.0 release
|
||||||
|
|
||||||
|
2012-08-30 Cedric Bail
|
||||||
|
|
||||||
|
* Check the number of parameter for image in edc.
|
||||||
|
|
|
@ -1,3 +1,16 @@
|
||||||
|
Edje 1.8.0
|
||||||
|
|
||||||
|
Changes since Edje 1.8.0:
|
||||||
|
-------------------------
|
||||||
|
|
||||||
|
Additions:
|
||||||
|
|
||||||
|
Improvements:
|
||||||
|
* Check the number of parameter for image in edc.
|
||||||
|
|
||||||
|
Fixes:
|
||||||
|
|
||||||
|
|
||||||
Edje 1.7.0
|
Edje 1.7.0
|
||||||
|
|
||||||
Changes since Edje 1.2.0:
|
Changes since Edje 1.2.0:
|
||||||
|
|
|
@ -1238,6 +1238,8 @@ st_images_image(void)
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
int v;
|
int v;
|
||||||
|
|
||||||
|
check_min_arg_count(2);
|
||||||
|
|
||||||
if (!edje_file->image_dir)
|
if (!edje_file->image_dir)
|
||||||
edje_file->image_dir = mem_alloc(SZ(Edje_Image_Directory));
|
edje_file->image_dir = mem_alloc(SZ(Edje_Image_Directory));
|
||||||
|
|
||||||
|
|
|
@ -225,7 +225,6 @@ check_image_part_desc(Edje_Part_Collection *pc, Edje_Part *ep,
|
||||||
{
|
{
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
||||||
/* FIXME: This check sounds like not a useful one */
|
|
||||||
if (epd->image.id == -1 && epd->common.visible)
|
if (epd->image.id == -1 && epd->common.visible)
|
||||||
WRN("Collection %s(%i): image attributes missing for "
|
WRN("Collection %s(%i): image attributes missing for "
|
||||||
"part \"%s\", description \"%s\" %f",
|
"part \"%s\", description \"%s\" %f",
|
||||||
|
|
Loading…
Reference in New Issue