summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-02-01 17:31:20 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-02-02 13:41:30 -0500
commitc6d96feea284a4ea149a448d075a80a799f04051 (patch)
tree176663b69dddab3648de5baf98ef7556d938399b
parent5864d4b9e65c18c4dc70ab5793eafdc7beb9ec1c (diff)
disable map when unsetting zoomap child
if the existing map is left enabled when the child is removed from the zoomap, the child object will be permanently misrendered with the previously applied map
-rw-r--r--src/bin/e_zoomap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/e_zoomap.c b/src/bin/e_zoomap.c
index f27b665b7..682412fc6 100644
--- a/src/bin/e_zoomap.c
+++ b/src/bin/e_zoomap.c
@@ -50,6 +50,8 @@ e_zoomap_child_set(Evas_Object *obj, Evas_Object *child)
50 if (child == sd->child_obj) return; 50 if (child == sd->child_obj) return;
51 if (sd->child_obj) 51 if (sd->child_obj)
52 { 52 {
53 evas_object_map_set(sd->child_obj, NULL);
54 evas_object_map_enable_set(sd->child_obj, EINA_FALSE);
53 evas_object_clip_unset(sd->child_obj); 55 evas_object_clip_unset(sd->child_obj);
54 evas_object_smart_member_del(sd->child_obj); 56 evas_object_smart_member_del(sd->child_obj);
55 evas_object_event_callback_del(sd->child_obj, EVAS_CALLBACK_DEL, 57 evas_object_event_callback_del(sd->child_obj, EVAS_CALLBACK_DEL,