From ba3accd8f1111c9a239b4d4077d928eb00a7113f Mon Sep 17 00:00:00 2001 From: cedric Date: Sun, 11 Mar 2012 10:49:02 +0000 Subject: [PATCH] edje: since year, we are using evas_object_size_hint_min_get to update swallow min. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@69190 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/edje_util.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/edje_util.c b/src/lib/edje_util.c index da1a158..53bb5bd 100644 --- a/src/lib/edje_util.c +++ b/src/lib/edje_util.c @@ -4409,9 +4409,11 @@ _edje_real_part_swallow_hints_update(Edje_Real_Part *rp) { Evas_Coord w, h; +#if 0 edje_object_size_min_get(rp->swallowed_object, &w, &h); rp->swallow_params.min.w = w; rp->swallow_params.min.h = h; +#endif edje_object_size_max_get(rp->swallowed_object, &w, &h); rp->swallow_params.max.w = w; rp->swallow_params.max.h = h; @@ -4422,8 +4424,10 @@ _edje_real_part_swallow_hints_update(Edje_Real_Part *rp) Evas_Coord w, h; evas_object_geometry_get(rp->swallowed_object, NULL, NULL, &w, &h); +#if 0 rp->swallow_params.min.w = w; rp->swallow_params.min.h = h; +#endif rp->swallow_params.max.w = w; rp->swallow_params.max.h = h; } -- 2.7.4