forked from AuroraMiddleware/gtk
Make GtkBorder style properties have a non-NULL default
https://bugzilla.gnome.org/show_bug.cgi?id=639625
This commit is contained in:
parent
2f7245699b
commit
6869ff26f3
@ -869,6 +869,10 @@ lookup_default_value (PropertyNode *node,
|
||||
gdk_rgba_parse (&color, "pink");
|
||||
g_value_set_boxed (value, &color);
|
||||
}
|
||||
else if (node->pspec->value_type == GTK_TYPE_BORDER)
|
||||
{
|
||||
g_value_take_boxed (value, gtk_border_new ());
|
||||
}
|
||||
else
|
||||
g_param_value_set_default (node->pspec, value);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user