summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-08-17 09:49:52 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-08-17 09:49:52 +0000
commit490fe3771aeec66dc53a468179e6434f8bf66a35 (patch)
tree968e51977c80628ed411cd4b737678e3fd20707f /legacy
parent89fe05d03a60e24fb72914ccdb214ba890a251a8 (diff)
put aborts back, they were added for a reason.
SVN revision: 75379
Diffstat (limited to 'legacy')
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_image.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_object_image.c b/legacy/evas/src/lib/canvas/evas_object_image.c
index 7506e5d3d6..743c9a232f 100644
--- a/legacy/evas/src/lib/canvas/evas_object_image.c
+++ b/legacy/evas/src/lib/canvas/evas_object_image.c
@@ -450,6 +450,7 @@ evas_object_image_source_set(Evas_Object *obj, Evas_Object *src)
450 if (obj->delete_me) 450 if (obj->delete_me)
451 { 451 {
452 CRIT("Setting deleted object %p as image source %p", src, obj); 452 CRIT("Setting deleted object %p as image source %p", src, obj);
453 abort();
453 return EINA_FALSE; 454 return EINA_FALSE;
454 } 455 }
455 if (src) 456 if (src)
@@ -457,22 +458,26 @@ evas_object_image_source_set(Evas_Object *obj, Evas_Object *src)
457 if (src->delete_me) 458 if (src->delete_me)
458 { 459 {
459 CRIT("Setting object %p to deleted image source %p", src, obj); 460 CRIT("Setting object %p to deleted image source %p", src, obj);
461 abort();
460 return EINA_FALSE; 462 return EINA_FALSE;
461 } 463 }
462 if (!src->layer) 464 if (!src->layer)
463 { 465 {
464 CRIT("No evas surface associated with source object (%p)", obj); 466 CRIT("No evas surface associated with source object (%p)", obj);
467 abort();
465 return EINA_FALSE; 468 return EINA_FALSE;
466 } 469 }
467 if ((obj->layer && src->layer) && 470 if ((obj->layer && src->layer) &&
468 (obj->layer->evas != src->layer->evas)) 471 (obj->layer->evas != src->layer->evas))
469 { 472 {
470 CRIT("Setting object %p from Evas (%p) from another Evas (%p)", src, src->layer->evas, obj->layer->evas); 473 CRIT("Setting object %p from Evas (%p) from another Evas (%p)", src, src->layer->evas, obj->layer->evas);
474 abort();
471 return EINA_FALSE; 475 return EINA_FALSE;
472 } 476 }
473 if (src == obj) 477 if (src == obj)
474 { 478 {
475 CRIT("Setting object %p as a source for itself", obj); 479 CRIT("Setting object %p as a source for itself", obj);
480 abort();
476 return EINA_FALSE; 481 return EINA_FALSE;
477 } 482 }
478 } 483 }