forked from AuroraMiddleware/gtk
GtkStyleSet: Fix compiler warning.
This commit is contained in:
parent
355f0d69ab
commit
d9e3782391
@ -601,7 +601,7 @@ gtk_style_set_get_valist (GtkStyleSet *set,
|
||||
}
|
||||
else
|
||||
{
|
||||
GValue *val;
|
||||
GValue *val = NULL;
|
||||
|
||||
if (prop)
|
||||
{
|
||||
@ -610,7 +610,8 @@ gtk_style_set_get_valist (GtkStyleSet *set,
|
||||
else if (G_IS_VALUE (&prop->default_value))
|
||||
val = &prop->default_value;
|
||||
}
|
||||
else
|
||||
|
||||
if (!val)
|
||||
val = &node->default_value;
|
||||
|
||||
if (G_VALUE_TYPE (val) == GTK_TYPE_SYMBOLIC_COLOR)
|
||||
|
Loading…
Reference in New Issue
Block a user