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



commit 4226902424ea6b4502aa603cca04c4b0bcb9fe52
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]