From 91565c48e3be1c79a6a2e3d7295725bf4a1b58c4 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 17 Oct 2013 10:17:07 +0100 Subject: [PATCH] only unswallow deleted swallowed parts if they're in a swallow (wtf.) --- src/lib/edje/edje_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/edje/edje_util.c b/src/lib/edje/edje_util.c index d4f093ff55..08182f64ef 100644 --- a/src/lib/edje/edje_util.c +++ b/src/lib/edje/edje_util.c @@ -6278,7 +6278,7 @@ _edje_object_part_swallow_free_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED, E break; } rp = evas_object_data_get(obj, "\377 edje.swallowing_part"); - if (rp) + if (rp && (rp->part->type == EDJE_PART_TYPE_SWALLOW)) edje_object_part_unswallow(ed->obj, obj); return; -- 2.34.1