[gtk+/gtk-style-context: 279/347] GtkCssProvider: Update end string when misparsing symbolic colors.



commit 7bcf09fc6ffcd1ebb1e3350c6472c422c31963a4
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Oct 23 22:24:57 2010 +0200

    GtkCssProvider: Update end string when misparsing symbolic colors.

 gtk/gtkcssprovider.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 19c44f9..49c5b95 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -1531,6 +1531,7 @@ symbolic_color_parse_str (const gchar  *string,
   gchar *str;
 
   str = (gchar *) string;
+  *end_ptr = str;
 
   if (str[0] == '#' || str[0] == 'r')
     {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]