Don't call evas_object_image_scale_hint_set on Evas_Rectangle objects. This caused...
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 2 Jun 2009 15:09:09 +0000 (15:09 +0000)
committerLars-Peter Clausen <lars@metafoo.de>
Tue, 2 Jun 2009 15:09:09 +0000 (15:09 +0000)
SVN-Revision: 16299

efl/edje/patches/005-dont-call-evas_object_image_scale_hint_set-on-rectangle-objects.patch [new file with mode: 0644]
efl/evas/Makefile

diff --git a/efl/edje/patches/005-dont-call-evas_object_image_scale_hint_set-on-rectangle-objects.patch b/efl/edje/patches/005-dont-call-evas_object_image_scale_hint_set-on-rectangle-objects.patch
new file mode 100644 (file)
index 0000000..7516c0f
--- /dev/null
@@ -0,0 +1,16 @@
+diff --git a/src/lib/edje_calc.c b/src/lib/edje_calc.c
+index dda6eba..342d51a 100644
+--- a/src/lib/edje_calc.c
++++ b/src/lib/edje_calc.c
+@@ -1548,10 +1548,10 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags)
+       /* Common move, resize and color_set for all part. */
+       switch (ep->part->type)
+         {
+-         case EDJE_PART_TYPE_RECTANGLE:
+          case EDJE_PART_TYPE_IMAGE:
+              evas_object_image_scale_hint_set(ep->object, 
+                                               chosen_desc->image.scale_hint);
++         case EDJE_PART_TYPE_RECTANGLE:
+          case EDJE_PART_TYPE_TEXTBLOCK:
+          case EDJE_PART_TYPE_GRADIENT:
+          case EDJE_PART_TYPE_BOX:
index 2b424ff8f5cae1480047cb22b8151327d75b4fc2..ff347621a0da80346170445a3587ffcc471690f4 100644 (file)
@@ -86,7 +86,7 @@ define Build/Configure
                --disable-cpu-altivec \
                --disable-cpu-neon \
                --enable-cpu-c \
-               --enable-evas-magic-debug \
+               --disable-evas-magic-debug \
                --disable-scale-sample \
                --enable-scale-smooth \
                --disable-convert-yuv \