Commit 9573ed46 authored by Benjamin Otte's avatar Benjamin Otte

customproperty: Fix thinko

.. in 43c56d70
parent 8243b16a
......@@ -96,13 +96,13 @@ gtk_css_custom_property_create_initial_value (GParamSpec *pspec)
{
GdkRGBA color;
gdk_rgba_parse (&color, "pink");
g_value_take_boxed (&value, &color);
g_value_set_boxed (&value, &color);
}
else if (pspec->value_type == GDK_TYPE_COLOR)
{
GdkColor color;
gdk_color_parse ("pink", &color);
g_value_take_boxed (&value, &color);
g_value_set_boxed (&value, &color);
}
else if (pspec->value_type == GTK_TYPE_BORDER)
{
......
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