summaryrefslogtreecommitdiff
path: root/gtk/gtkcssstylefuncs.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-11-24 21:56:31 +0100
committerBenjamin Otte <otte@redhat.com>2012-11-24 21:56:47 +0100
commit94b80cc774f1a2b44fd21386f4c2640ee1970198 (patch)
tree642e707328b54988a9429aa076401668acf41802 /gtk/gtkcssstylefuncs.c
parent5ca35bd5dd8a5dc907ec95d1f4892655fa21b794 (diff)
downloadgtk+-94b80cc774f1a2b44fd21386f4c2640ee1970198.tar.gz
symboliccolor: Change prototype of function
Makes it easier to use the function in the places where it's still used.
Diffstat (limited to 'gtk/gtkcssstylefuncs.c')
-rw-r--r--gtk/gtkcssstylefuncs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkcssstylefuncs.c b/gtk/gtkcssstylefuncs.c
index 283420a2f7..50ad34a108 100644
--- a/gtk/gtkcssstylefuncs.c
+++ b/gtk/gtkcssstylefuncs.c
@@ -171,7 +171,7 @@ rgba_value_parse (GtkCssParser *parser,
GtkSymbolicColor *symbolic;
GdkRGBA rgba;
- symbolic = _gtk_symbolic_color_new_take_value (_gtk_css_symbolic_value_new (parser));
+ symbolic = _gtk_css_symbolic_value_new (parser);
if (symbolic == NULL)
return FALSE;
@@ -253,7 +253,7 @@ color_value_parse (GtkCssParser *parser,
GtkSymbolicColor *symbolic;
GdkRGBA rgba;
- symbolic = _gtk_symbolic_color_new_take_value (_gtk_css_symbolic_value_new (parser));
+ symbolic = _gtk_css_symbolic_value_new (parser);
if (symbolic == NULL)
return FALSE;
@@ -338,7 +338,7 @@ symbolic_color_value_parse (GtkCssParser *parser,
{
GtkSymbolicColor *symbolic;
- symbolic = _gtk_symbolic_color_new_take_value (_gtk_css_symbolic_value_new (parser));
+ symbolic = _gtk_css_symbolic_value_new (parser);
if (symbolic == NULL)
return FALSE;