mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 04:10:13 +00:00
parent
8243b16ad7
commit
9573ed467d
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user