glib r5454 - in trunk: . gobject tests/gobject



Author: mitch
Date: 2007-04-24 14:36:58 +0100 (Tue, 24 Apr 2007)
New Revision: 5454
ViewCVS link: http://svn.gnome.org/viewcvs/glib?rev=5454&view=rev

Modified:
   trunk/ChangeLog
   trunk/gobject/gparamspecs.c
   trunk/tests/gobject/paramspec-test.c
Log:
2007-04-24  Michael Natterer  <mitch imendio com>

	* gobject/gparamspecs.c (param_string_validate): don't free or
	modify static strings, dup them when needed and clear the
	G_VALUE_NOCOPY_CONTENTS flag. Fixes bug #432895.

	* tests/gobject/paramspec-test.c: test all GParamSpecString
	validations with static and allocated strings.






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