summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-04-09 03:27:18 +0200
committerBenjamin Otte <otte@redhat.com>2012-04-09 03:27:55 +0200
commit9573ed467de6486f61f668ce79f6738f79e86467 (patch)
treef95b02c7aecd69f81193e0cd1e4ce0c5f40f425e
parent8243b16ad79cb4965ab5314e53a20ef16b2af9c3 (diff)
downloadgtk+-9573ed467de6486f61f668ce79f6738f79e86467.tar.gz
customproperty: Fix thinko
.. in 43c56d70ea247b3317c386e22407ad20769d2762
-rw-r--r--gtk/gtkcsscustomproperty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcsscustomproperty.c b/gtk/gtkcsscustomproperty.c
index 6504826e82..1be60d25b6 100644
--- a/gtk/gtkcsscustomproperty.c
+++ b/gtk/gtkcsscustomproperty.c
@@ -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)
{