[gtk+] css: Fix type of GtkCssSelectorRuleSetInfo match
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] css: Fix type of GtkCssSelectorRuleSetInfo match
- Date: Fri, 30 Nov 2012 13:56:49 +0000 (UTC)
commit f67882791863143c605130f3e5e0d9f4bec12f8c
Author: Alexander Larsson <alexl redhat com>
Date: Thu Nov 29 15:01:47 2012 +0100
css: Fix type of GtkCssSelectorRuleSetInfo match
The old type was a leftover from a previous version.
gtk/gtkcssselector.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkcssselector.c b/gtk/gtkcssselector.c
index e3dbd51..626b28a 100644
--- a/gtk/gtkcssselector.c
+++ b/gtk/gtkcssselector.c
@@ -1689,7 +1689,7 @@ _gtk_css_selector_tree_free (GtkCssSelectorTree *tree)
typedef struct {
- GtkCssSelector **ruleset;
+ gpointer match;
GtkCssSelector *current_selector;
} GtkCssSelectorRuleSetInfo;
@@ -1754,7 +1754,7 @@ subdivide_infos (GList *infos, GtkCssSelectorTree *parent)
/* Matches current node */
if (exact_matches == NULL)
exact_matches = g_ptr_array_new ();
- g_ptr_array_add (exact_matches, info->ruleset);
+ g_ptr_array_add (exact_matches, info->match);
}
else
matched = g_list_prepend (matched, info);
@@ -1804,7 +1804,7 @@ _gtk_css_selector_tree_builder_add (GtkCssSelectorTreeBuilder *builder,
{
GtkCssSelectorRuleSetInfo *info = g_new0 (GtkCssSelectorRuleSetInfo, 1);
- info->ruleset = match;
+ info->match = match;
info->current_selector = selectors;
builder->infos = g_list_prepend (builder->infos, info);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]