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



commit a85b4ae3496738aa80d11d0efd7dc4635e1513da
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 88fa6d7..32d699f 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]