what is the interest of the returns if you abort ? On Fri, Aug 17, 2012 at 11:49 AM, Enlightenment SVN <[email protected]> wrote: > Log: > put aborts back, they were added for a reason. > > > Author: discomfitor > Date: 2012-08-17 02:49:52 -0700 (Fri, 17 Aug 2012) > New Revision: 75379 > Trac: http://trac.enlightenment.org/e/changeset/75379 > > Modified: > trunk/evas/src/lib/canvas/evas_object_image.c > > Modified: trunk/evas/src/lib/canvas/evas_object_image.c > =================================================================== > --- trunk/evas/src/lib/canvas/evas_object_image.c 2012-08-17 09:47:49 > UTC (rev 75378) > +++ trunk/evas/src/lib/canvas/evas_object_image.c 2012-08-17 09:49:52 > UTC (rev 75379) > @@ -450,6 +450,7 @@ > if (obj->delete_me) > { > CRIT("Setting deleted object %p as image source %p", src, obj); > + abort(); > return EINA_FALSE; > } > if (src) > @@ -457,22 +458,26 @@ > if (src->delete_me) > { > CRIT("Setting object %p to deleted image source %p", src, obj); > + abort(); > return EINA_FALSE; > } > if (!src->layer) > { > CRIT("No evas surface associated with source object (%p)", obj); > + abort(); > return EINA_FALSE; > } > if ((obj->layer && src->layer) && > (obj->layer->evas != src->layer->evas)) > { > CRIT("Setting object %p from Evas (%p) from another Evas (%p)", > src, src->layer->evas, obj->layer->evas); > + abort(); > return EINA_FALSE; > } > if (src == obj) > { > CRIT("Setting object %p as a source for itself", obj); > + abort(); > return EINA_FALSE; > } > } > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > enlightenment-svn mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
