Commit 6869ff26 authored by Matthias Clasen's avatar Matthias Clasen

Make GtkBorder style properties have a non-NULL default
parent 2f724569
......@@ -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 ());
g_param_value_set_default (node->pspec, value);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment