forked from enlightenment/efl
edje: let's properly report that file doesn't exist.
This commit is contained in:
parent
9654db3b16
commit
61287fce38
|
@ -1,3 +1,7 @@
|
|||
2013-02-20 Cedric Bail
|
||||
|
||||
* Properly report file not found in Edje.
|
||||
|
||||
2013-02-19 Daniel Zaoui
|
||||
|
||||
* Fix Evas_Object_Text when LTR and RTL are used in the same paragraph.
|
||||
|
|
1
NEWS
1
NEWS
|
@ -174,3 +174,4 @@ Fixes:
|
|||
* fix anchor clicked mouse signals for selection-enabled entries
|
||||
* Fix edje_color_class_list() and edje_text_class_list() to look at right hashes.
|
||||
* Evas: Fix Evas_Object_Text when LTR and RTL are used in the same paragraph.
|
||||
* Properly report file not found in Edje.
|
||||
|
|
|
@ -403,7 +403,10 @@ _edje_cache_file_coll_open(const char *file, const char *coll, int *error_ret, E
|
|||
struct stat st;
|
||||
|
||||
if (stat(file, &st) != 0)
|
||||
{
|
||||
*error_ret = EDJE_LOAD_ERROR_DOES_NOT_EXIST;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!_edje_file_hash)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue