mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 03:20:46 -05:00
* 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:
parent
82d43ffe64
commit
15af9b9b48
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user