discomfitor pushed a commit to branch master.

commit 3f001ea7788a6040fef75e40a0262d165c40c880
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue Aug 13 11:27:42 2013 +0100

    changing aspect on a non-layouted gadcon client sets evas aspect hint 
instead
---
 src/bin/e_gadcon.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_gadcon.c b/src/bin/e_gadcon.c
index 3f0c2ba..919ec72 100644
--- a/src/bin/e_gadcon.c
+++ b/src/bin/e_gadcon.c
@@ -3705,7 +3705,11 @@ e_gadcon_layout_pack_aspect_set(Evas_Object *obj, int w, 
int h)
 
    if (!obj) return;
    bi = evas_object_data_get(obj, "e_gadcon_layout_data");
-   if (!bi) return;
+   if (!bi)
+     {
+        evas_object_size_hint_aspect_set(obj, EVAS_ASPECT_CONTROL_BOTH, w, h);
+        return;
+     }
    if (bi->sd->horizontal)
      {
         bi->aspect.w = w;

-- 

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

Reply via email to