* clutter/clutter-color.c (param_color_set_default): Set the no copy

flag when setting the default param spec value to prevent invalid
	frees.
This commit is contained in:
Thomas Wood 2008-10-28 11:45:04 +00:00
parent 82d43ffe64
commit 15af9b9b48
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2008-10-28 Thomas Wood <thomas@linux.intel.com>
* clutter/clutter-color.c (param_color_set_default): Set the no copy
flag when setting the default param spec value to prevent invalid
frees.
2008-10-27 Neil Roberts <neil@linux.intel.com>
Bug 1189 - Backface culling

View File

@ -826,6 +826,7 @@ param_color_set_default (GParamSpec *pspec,
GValue *value)
{
value->data[0].v_pointer = CLUTTER_PARAM_SPEC_COLOR (pspec)->default_value;
value->data[1].v_uint = G_VALUE_NOCOPY_CONTENTS;
}
static gint