gtk+ r18278 - in branches/extended-layout: . gtk tests



Author: hasselmm
Date: 2007-06-28 10:54:50 +0100 (Thu, 28 Jun 2007)
New Revision: 18278
ViewCVS link: http://svn.gnome.org/viewcvs/gtk+?rev=18278&view=rev

Modified:
   branches/extended-layout/ChangeLog.gtk-extended-layout
   branches/extended-layout/gtk/gtkhbox.c
   branches/extended-layout/tests/testextendedlayout.c
Log:
2007-06-28  Mathias Hasselmann  <mathias hasselmann gmx de>

	* gtk/gtkhbox.c: Merge separate, but nearly identical child allocation
	code for start and end packing into one single loop. This should avoid
	programming errors caused by extensive code duplication, as they happend
	to me with the previous commit. Maybe some advanced compiler is able
	to do the trivial loop unrolling.
	* tests/testextendedlayout.c: Use exteriour guides instead of
	separators to identify GtkHBox allocation and extend the baseline
	alignment tests for GtkHBox.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]