forked from enlightenment/efl
[example][evas] add error message, you cannot use this example without the image.
This commit is contained in:
parent
1307410bf4
commit
ed90b79dbb
|
@ -379,6 +379,7 @@ main(void)
|
||||||
err = evas_object_image_load_error_get(d.img);
|
err = evas_object_image_load_error_get(d.img);
|
||||||
if (err != EVAS_LOAD_ERROR_NONE)
|
if (err != EVAS_LOAD_ERROR_NONE)
|
||||||
{
|
{
|
||||||
|
fprintf(stderr, "ERROR: Image loading failed! Aborting.\n");
|
||||||
goto panic;
|
goto panic;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue