aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-04-23 00:05:59 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-04-23 00:08:19 +0900
commit116013320a941357a925441928ea7e10ed6c0ebd (patch)
tree82a6f02bd715e9f770c761c5017f7245615d8bbc
parentfix 64bit ecore-x selection overrun bug. (diff)
downloadefl-116013320a941357a925441928ea7e10ed6c0ebd.tar.gz
ummm dont set max based on max hint... this got added at some point
but it actually breaks older code that used these hints to store sizing info but didnt expect it to be enforced.
-rw-r--r--src/lib/edje/edje_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/edje/edje_util.c b/src/lib/edje/edje_util.c
index 27539da3d0..a61010b253 100644
--- a/src/lib/edje/edje_util.c
+++ b/src/lib/edje/edje_util.c
@@ -6287,10 +6287,10 @@ _edje_real_part_swallow_hints_update(Edje_Real_Part *rp)
edje_object_size_min_get(rp->typedata.swallow->swallowed_object, &w, &h);
rp->typedata.swallow->swallow_params.min.w = w;
rp->typedata.swallow->swallow_params.min.h = h;
-#endif
edje_object_size_max_get(rp->typedata.swallow->swallowed_object, &w, &h);
rp->typedata.swallow->swallow_params.max.w = w;
rp->typedata.swallow->swallow_params.max.h = h;
+#endif
}
else if (eo_isa(rp->typedata.swallow->swallowed_object, EVAS_OBJ_TEXT_CLASS) ||
eo_isa(rp->typedata.swallow->swallowed_object, EVAS_OBJ_POLYGON_CLASS) ||