[gtk+] customproperty: Fix thinko
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] customproperty: Fix thinko
- Date: Mon, 9 Apr 2012 01:28:20 +0000 (UTC)
commit 9573ed467de6486f61f668ce79f6738f79e86467
Author: Benjamin Otte <otte redhat com>
Date: Mon Apr 9 03:27:18 2012 +0200
customproperty: Fix thinko
.. in 43c56d70ea247b3317c386e22407ad20769d2762
gtk/gtkcsscustomproperty.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcsscustomproperty.c b/gtk/gtkcsscustomproperty.c
index 6504826..1be60d2 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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]