[gtk+/gtk-style-context: 75/260] GtkCssProvider: move to next selector element on match or child combinator.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 75/260] GtkCssProvider: move to next selector element on match or child combinator.
- Date: Wed, 20 Oct 2010 10:27:45 +0000 (UTC)
commit 66e45ff655211e91a858824e11057e2c5d9f5e79
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Apr 23 01:23:27 2010 +0200
GtkCssProvider: move to next selector element on match or child combinator.
gtk/gtkcssprovider.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index ed78aec..9fd00e9 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -410,7 +410,6 @@ compare_selector (GtkWidgetPath *path,
guint8 elem_score;
elem = elements->data;
- elements = elements->next;
match = compare_selector_element (path, i, elem, &elem_score);
i++;
@@ -422,6 +421,8 @@ compare_selector (GtkWidgetPath *path,
*/
match = TRUE;
}
+ else
+ elements = elements->next;
if (match)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]