cssimage: Use GtkCssColorValue

This commit is contained in:
Benjamin Otte 2012-11-08 17:25:26 +01:00
parent bd31bd6d63
commit 3cb6ae3df3

View File

@ -23,10 +23,10 @@
#include <math.h> #include <math.h>
#include "gtkcsscolorvalueprivate.h"
#include "gtkcssnumbervalueprivate.h" #include "gtkcssnumbervalueprivate.h"
#include "gtkcssrgbavalueprivate.h" #include "gtkcssrgbavalueprivate.h"
#include "gtkcssprovider.h" #include "gtkcssprovider.h"
#include "gtksymboliccolorprivate.h"
G_DEFINE_TYPE (GtkCssImageLinear, _gtk_css_image_linear, GTK_TYPE_CSS_IMAGE) G_DEFINE_TYPE (GtkCssImageLinear, _gtk_css_image_linear, GTK_TYPE_CSS_IMAGE)
@ -323,7 +323,7 @@ gtk_css_image_linear_parse (GtkCssImage *image,
do { do {
GtkCssImageLinearColorStop stop; GtkCssImageLinearColorStop stop;
stop.color = _gtk_css_symbolic_value_new (parser); stop.color = _gtk_css_color_value_parse (parser);
if (stop.color == NULL) if (stop.color == NULL)
return FALSE; return FALSE;