Evas layer: Fix deletion of canvas with still-refed objects.
authorTom Hacohen <tom@stosb.com>
Tue, 26 Nov 2013 11:46:49 +0000 (11:46 +0000)
committerTom Hacohen <tom@stosb.com>
Tue, 26 Nov 2013 11:48:25 +0000 (11:48 +0000)
commitbb4a19b5ad6a8fc6720154700aabfa32f4b71244
tree4b68a26cb0b0435ba52ef8d61503f8770972ed3c
parentbff48f92a3de2f92b81f7cc45f1c32f57e34dca6
Evas layer: Fix deletion of canvas with still-refed objects.

This fixes the infinite loop while deleting canvases with still
referenced objects.
The canvas should not assume it can get rid of all of the objects. Some
objects might be referenced. I also added a printf to let the user know
about it.

This fixes T565.
src/lib/evas/canvas/evas_layer.c
src/lib/evas/canvas/evas_main.c