Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/etox

Dir     : e17/libs/etox/src


Modified Files:
        etox.c 


Log Message:
- this seems to fix the ewl issues with etox

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/etox/src/etox.c,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -3 -r1.109 -r1.110
--- etox.c      30 Dec 2004 20:58:45 -0000      1.109
+++ etox.c      30 Dec 2004 23:42:43 -0000      1.110
@@ -380,8 +380,6 @@
                 */
                if (line->w > et->tw)
                        et->tw = line->w;
-
-               et->th += line->h;
        }
 
        etox_layout(et);
@@ -670,17 +668,7 @@
        /*
         * Layout lines if appropriate.
         */
-       if (et->lines)
-         {
-            char *text;
-            
-            text = etox_get_text(obj);
-            if (text)
-              {
-                 etox_set_text(obj, text);
-                 free(text);
-              }
-         }
+       etox_layout(et);
 
        /*
         * Adjust the clip box to display the contents correctly. We need to
@@ -1261,6 +1249,7 @@
                y += line->h;
        }
        et->th = y - et->y;
+printf("et->th %f\n", (float)et->th);
 }
 
 Etox_Line *




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to