glib r5432 - in branches/glib-2-12: . glib tests



Author: cpwilson
Date: 2007-03-22 09:11:27 +0000 (Thu, 22 Mar 2007)
New Revision: 5432
ViewCVS link: http://svn.gnome.org/viewcvs/glib?rev=5432&view=rev

Modified:
   branches/glib-2-12/ChangeLog
   branches/glib-2-12/glib/gkeyfile.c
   branches/glib-2-12/tests/keyfile-test.c
Log:
2007-03-22  Chris Wilson  <chris chris-wilson co uk>

	Merge from trunk:

	* glib/gkeyfile.c: Track whether the last key=value pair in a group
	is a blank line and during to_data() only insert a new blank line
	betweens group in its absence. This allows the beautification of the
	GKeyFile and prevents newlines being inserted indefinitely. (#420686)

	* tests/keyfile-test.c (test_reload_idempotency): Test that after a 
	single beautification pass, g_key_file_to_data() does not alter its
	input data.






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