glima pushed a commit to branch master.

commit b2e044a3c249eac461446cafe4a18f29cc75e835
Author: Gustavo Lima Chaves <[email protected]>
Date:   Thu Jun 13 18:09:04 2013 -0300

    Fix elm_scroller_child_size_get() to work all scrollables.
    
    My bad on this one, it was never made to act like so since my
    new widget schema.
---
 src/lib/elm_interface_scrollable.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/lib/elm_interface_scrollable.c 
b/src/lib/elm_interface_scrollable.c
index 71a862b..6d63416 100644
--- a/src/lib/elm_interface_scrollable.c
+++ b/src/lib/elm_interface_scrollable.c
@@ -1200,9 +1200,7 @@ _elm_scroll_content_size_get(Eo *obj EINA_UNUSED, void 
*_pd, va_list *list)
    Evas_Coord *w = va_arg(*list, Evas_Coord *);
    Evas_Coord *h = va_arg(*list, Evas_Coord *);
 
-   if (!sid->content) return;
-
-   evas_object_geometry_get(sid->content, NULL, NULL, w, h);
+   eo_do(sid->pan_obj, elm_obj_pan_content_size_get(w, h));
 }
 
 static void

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to