Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src


Modified Files:
        ewl_widget.c 


Log Message:
Updated theme files should work on little endian machines too. Start support
for the edje min sizes.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_widget.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -3 -r1.60 -r1.61
--- ewl_widget.c        13 Jul 2003 05:52:49 -0000      1.60
+++ ewl_widget.c        15 Jul 2003 16:46:42 -0000      1.61
@@ -720,6 +720,7 @@
        int             p_l = 0, p_r = 0, p_t = 0, p_b = 0;
        char           *i = NULL;
        char           *key = NULL;
+       double          width, height;
        Ewl_Embed      *emb = NULL;
 
        DENTER_FUNCTION(DLEVEL_STABLE);
@@ -810,16 +811,15 @@
                /*
                 * Propagate minimum sizes from the bit theme to the widget.
                 */
-               /*
-                * FIXME: More edje growing pains
-               ebits_get_min_size(w->theme_object, &i_l, &i_t);
-               */
+               edje_object_size_min_get(w->theme_object, &width, &height);
 
                if (i_l && MINIMUM_W(w) == EWL_OBJECT_MIN_SIZE)
-                       ewl_object_set_minimum_w(EWL_OBJECT(w), i_l);
+                       ewl_object_set_minimum_w(EWL_OBJECT(w),
+                                       (unsigned int)(width));
 
                if (i_t && MINIMUM_H(w) == EWL_OBJECT_MIN_SIZE)
-                       ewl_object_set_minimum_h(EWL_OBJECT(w), i_t);
+                       ewl_object_set_minimum_h(EWL_OBJECT(w),
+                                       (unsigned int)(height));
 
                /*
                 * Propagate maximum sizes from the bit theme to the widget.




-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to