discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=8a10f288ad43611966403f352acf44ff64ad71b9

commit 8a10f288ad43611966403f352acf44ff64ad71b9
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Sep 1 14:22:44 2014 -0400

    use a non-conflicting data item for comp mirror creation
---
 src/bin/e_comp_object.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 321f5a0..e5f3bcb 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -3350,7 +3350,8 @@ e_comp_object_util_mirror_add(Evas_Object *obj)
 
    SOFT_ENTRY(NULL);
 
-   cw = evas_object_data_get(obj, "comp_object");
+   if (!cw)
+     cw = evas_object_data_get(obj, "comp_mirror");
    if (!cw)
      {
         o = evas_object_image_filled_add(evas_object_evas_get(obj));
@@ -3368,7 +3369,7 @@ e_comp_object_util_mirror_add(Evas_Object *obj)
    cw->obj_mirror = eina_list_append(cw->obj_mirror, o);
    evas_object_event_callback_add(o, EVAS_CALLBACK_DEL, 
_e_comp_object_cb_mirror_del, cw);
    evas_object_data_set(o, "E_Client", cw->ec);
-   evas_object_data_set(o, "comp_object", cw);
+   evas_object_data_set(o, "comp_mirror", cw);
 
    evas_object_image_alpha_set(o, cw->ec->argb || (!!cw->ec->shape_rects));
    evas_object_image_size_set(o, w, h);

-- 


Reply via email to