css: Avoid an uninitialized GValue
One of the confusing aspects of GOBject. When we say 'an uninitialized GValue', we mean one that is declared via GValue v = G_VALUE_INIT; Fixes: #6655
This commit is contained in:
parent
0759e84951
commit
5c3d176c00
@ -966,7 +966,7 @@ pack_border (GtkCssShorthandProperty *shorthand,
|
||||
{
|
||||
GtkCssStyleProperty *prop;
|
||||
GtkBorder border;
|
||||
GValue v;
|
||||
GValue v = G_VALUE_INIT;
|
||||
|
||||
prop = _gtk_css_shorthand_property_get_subproperty (shorthand, 0);
|
||||
_gtk_style_property_query (GTK_STYLE_PROPERTY (prop), &v, query_func, query_data);
|
||||
|
Loading…
Reference in New Issue
Block a user