[gtk+] cssimage: Use GtkCssColorValue
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] cssimage: Use GtkCssColorValue
- Date: Thu, 8 Nov 2012 22:45:10 +0000 (UTC)
commit 3cb6ae3df3980e3f5e5ce322e6cb70e5279d4c50
Author: Benjamin Otte <otte redhat com>
Date: Thu Nov 8 17:25:26 2012 +0100
cssimage: Use GtkCssColorValue
gtk/gtkcssimagelinear.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcssimagelinear.c b/gtk/gtkcssimagelinear.c
index 9f94e49..0bf89e7 100644
--- a/gtk/gtkcssimagelinear.c
+++ b/gtk/gtkcssimagelinear.c
@@ -23,10 +23,10 @@
#include <math.h>
+#include "gtkcsscolorvalueprivate.h"
#include "gtkcssnumbervalueprivate.h"
#include "gtkcssrgbavalueprivate.h"
#include "gtkcssprovider.h"
-#include "gtksymboliccolorprivate.h"
G_DEFINE_TYPE (GtkCssImageLinear, _gtk_css_image_linear, GTK_TYPE_CSS_IMAGE)
@@ -323,7 +323,7 @@ gtk_css_image_linear_parse (GtkCssImage *image,
do {
GtkCssImageLinearColorStop stop;
- stop.color = _gtk_css_symbolic_value_new (parser);
+ stop.color = _gtk_css_color_value_parse (parser);
if (stop.color == NULL)
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]