summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-11-19 15:44:34 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-11-19 15:44:34 -0500
commit818531a13e287138ddeb5274b805d108b0bd6ede (patch)
tree7fb1d1acf9a2247453a02ac8a66913e0ec7c51b0
parent90071799a89365e334f17edfdfe2613bd1e9b826 (diff)
Revert "e deskmirror - fix loss of mirror object from deskmirror"
This reverts commit bd0c590489a7ae1c3185578389f19bde4bacbcff. the m->mirror object can never be deleted except in the case of a client being removed from the owner desk. removing it at any point will break any users of the deskmirror api and create other issues ref T2846
-rw-r--r--src/bin/e_deskmirror.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bin/e_deskmirror.c b/src/bin/e_deskmirror.c
index 890e6d835..216f4515d 100644
--- a/src/bin/e_deskmirror.c
+++ b/src/bin/e_deskmirror.c
@@ -567,7 +567,6 @@ _comp_object_check(Mirror *m)
567 567
568 evas_object_geometry_get(m->comp_object, NULL, NULL, &w, &h); 568 evas_object_geometry_get(m->comp_object, NULL, NULL, &w, &h);
569 if ((w < 2) || (h < 2)) return EINA_FALSE; 569 if ((w < 2) || (h < 2)) return EINA_FALSE;
570 if (m->mirror) evas_object_del(m->mirror);
571 m->mirror = e_comp_object_util_mirror_add(m->comp_object); 570 m->mirror = e_comp_object_util_mirror_add(m->comp_object);
572 if (!m->mirror) return EINA_FALSE; 571 if (!m->mirror) return EINA_FALSE;
573 evas_object_smart_callback_del(m->comp_object, "dirty", _comp_object_dirty); 572 evas_object_smart_callback_del(m->comp_object, "dirty", _comp_object_dirty);