summaryrefslogtreecommitdiff
path: root/gtk/gtksettings.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2010-10-22 12:41:19 +0200
committerCarlos Garnacho <carlosg@gnome.org>2010-12-04 15:38:25 +0100
commit4e02218f52080421cf40b29c82555ec95f708b40 (patch)
tree6d761178ba4cb661fabdb7183492a47bd836ef9a /gtk/gtksettings.c
parent3a455ed8f95324bdbf554935f7cff87518665c39 (diff)
downloadgtk+-4e02218f52080421cf40b29c82555ec95f708b40.tar.gz
Use GdkRGBA all around in GtkStyleContext.
Diffstat (limited to 'gtk/gtksettings.c')
-rw-r--r--gtk/gtksettings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 278890908c..d07ce4885b 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -1278,7 +1278,7 @@ gtk_settings_get_style (GtkStyleProvider *provider,
{
GtkSymbolicColor *color;
gchar *name, *pos;
- GdkColor col;
+ GdkRGBA col;
if (!*colors[i])
continue;
@@ -1297,7 +1297,7 @@ gtk_settings_get_style (GtkStyleProvider *provider,
while (*pos == ' ')
pos++;
- if (!*pos || !gdk_color_parse (pos, &col))
+ if (!*pos || !gdk_rgba_parse (&col, pos))
continue;
color = gtk_symbolic_color_new_literal (&col);