raster pushed a commit to branch master.
commit 116013320a941357a925441928ea7e10ed6c0ebd
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date: Tue Apr 23 00:05:59 2013 +0900
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.
---
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 27539da..a61010b 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) ||
--
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter