yoz pushed a commit to branch edje-1.7.
commit f4c6411c4f866b0d1d3fb381dd6821cc184dc798
Author: Michaƫl Bouchaud (yoz) <[email protected]>
Date: Wed Sep 4 11:57:47 2013 +0200
edje: be recursive on edje_object_scale_set
---
ChangeLog | 4 ++++
src/lib/edje_util.c | 4 +---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 733e2f7..f8658bd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -718,3 +718,7 @@
2013-08-02 Eduardo Lima (Etrunko)
* 1.7.8 release
+
+2013-09-04 Michael Bouchaud (yoz)
+
+ * fix edje_object_scale_set to be recursive
diff --git a/src/lib/edje_util.c b/src/lib/edje_util.c
index cc7a43c..551be5d 100644
--- a/src/lib/edje_util.c
+++ b/src/lib/edje_util.c
@@ -355,10 +355,8 @@ edje_object_scale_set(Evas_Object *obj, double scale)
if (!ed) return EINA_FALSE;
if (ed->scale == scale) return EINA_TRUE;
ed->scale = FROM_DOUBLE(scale);
- EINA_LIST_FOREACH(ed->groups, l, ged)
- ged->scale = ed->scale;
EINA_LIST_FOREACH(ed->subobjs, l, o)
- edje_object_calc_force(o);
+ edje_object_scale_set(o, scale);
for (i = 0; i < ed->table_parts_size; ++i)
{
Edje_Real_Part *ep;
--
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk