forked from enlightenment/efl
evas: put back the test on dead object in the right way.
SVN revision: 75492
This commit is contained in:
parent
764c68a330
commit
3ec12202f9
|
@ -447,18 +447,18 @@ evas_object_image_source_set(Evas_Object *obj, Evas_Object *src)
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
MAGIC_CHECK_END();
|
MAGIC_CHECK_END();
|
||||||
|
|
||||||
// if (obj->delete_me)
|
if (obj->delete_me && src)
|
||||||
// {
|
{
|
||||||
// WRN("Setting deleted object %p as image source %p", src, obj);
|
WRN("Setting deleted object %p as image source %p", src, obj);
|
||||||
// return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
// }
|
}
|
||||||
if (src)
|
if (src)
|
||||||
{
|
{
|
||||||
// if (src->delete_me)
|
if (src->delete_me)
|
||||||
// {
|
{
|
||||||
// WRN("Setting object %p to deleted image source %p", src, obj);
|
WRN("Setting object %p to deleted image source %p", src, obj);
|
||||||
// return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
// }
|
}
|
||||||
if (!src->layer)
|
if (!src->layer)
|
||||||
{
|
{
|
||||||
CRIT("No evas surface associated with source object (%p)", obj);
|
CRIT("No evas surface associated with source object (%p)", obj);
|
||||||
|
|
Loading…
Reference in New Issue