From 8a10f288ad43611966403f352acf44ff64ad71b9 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 1 Sep 2014 14:22:44 -0400 Subject: [PATCH] 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 321f5a0c4..e5f3bcbc1 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);