Clean up for proxies.
authorBrett Nash <nash@nash.id.au>
Mon, 7 Feb 2011 04:27:48 +0000 (04:27 +0000)
committerBrett Nash <nash@nash.id.au>
Mon, 7 Feb 2011 04:27:48 +0000 (04:27 +0000)
SVN revision: 56781

legacy/evas/src/lib/canvas/evas_object_main.c

index 9332e66..bc9489a 100644 (file)
@@ -402,6 +402,8 @@ evas_object_del(Evas_Object *obj)
    evas_object_hide(obj);
    evas_object_grabs_cleanup(obj);
    while (obj->clip.clipees) evas_object_clip_unset(obj->clip.clipees->data);
+   while (obj->proxy.proxies)
+          evas_object_image_source_unset(obj->proxy.proxies->data);
    if (obj->cur.clipper) evas_object_clip_unset(obj);
    if (obj->smart.smart) evas_object_smart_del(obj);
    evas_object_map_set(obj, NULL);