Enlightenment CVS committal
Author : moom16
Project : e17
Module : proto
Dir : e17/proto/etk/src/lib
Modified Files:
etk_hbox.c etk_vbox.c
Log Message:
* Force the calling of etk_*box_size_request to fix a segv.
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/etk/src/lib/etk_hbox.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- etk_hbox.c 11 Feb 2006 00:28:33 -0000 1.5
+++ etk_hbox.c 5 Mar 2006 10:38:07 -0000 1.6
@@ -145,7 +145,7 @@
widget = ETK_WIDGET(hbox);
container = ETK_CONTAINER(hbox);
- etk_widget_size_request(widget, &requested_inner_size);
+ _etk_hbox_size_request(widget, &requested_inner_size);
requested_inner_size.w -= 2 * container->border_width;
requested_inner_size.h -= 2 * container->border_width;
allocated_inner_size.w = geometry.w - 2 * container->border_width;
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/etk/src/lib/etk_vbox.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- etk_vbox.c 4 Mar 2006 19:48:20 -0000 1.8
+++ etk_vbox.c 5 Mar 2006 10:38:07 -0000 1.9
@@ -138,7 +138,6 @@
int num_children_to_expand = 0, i;
float start_offset = 0, end_offset = 0;
- /* Fixme: correctly and fix hbox too */
if ((!(vbox = ETK_VBOX(widget))))
return;
@@ -146,7 +145,7 @@
widget = ETK_WIDGET(vbox);
container = ETK_CONTAINER(vbox);
- etk_widget_size_request(widget, &requested_inner_size);
+ _etk_vbox_size_request(widget, &requested_inner_size);
requested_inner_size.w -= 2 * container->border_width;
requested_inner_size.h -= 2 * container->border_width;
allocated_inner_size.w = geometry.w - 2 * container->border_width;
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs