forked from enlightenment/efl
Evas image: reset error after setting a proxy.
evas_object_image_file_set tries to load the file even if the file is NULL, this in turn makes proxies always report about an error, although there isn't really one. I'm not sure whether evas_object_image_file_set should behave the way it does, but I'm sure the proxy needs to reset the error anyway (because of potential previous errors). SVN revision: 74073
This commit is contained in:
parent
fc73ddb332
commit
b22564a2e5
|
@ -2229,6 +2229,7 @@ _proxy_set(Evas_Object *proxy, Evas_Object *src)
|
|||
evas_object_image_file_set(proxy, NULL, NULL);
|
||||
|
||||
o->cur.source = src;
|
||||
o->load_error = EVAS_LOAD_ERROR_NONE;
|
||||
|
||||
src->proxy.proxies = eina_list_append(src->proxy.proxies, proxy);
|
||||
src->proxy.redraw = EINA_TRUE;
|
||||
|
|
Loading…
Reference in New Issue