[gtk+/wip/css-tree] css: Add const to _gtk_css_selector_tree_match_all arg
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/css-tree] css: Add const to _gtk_css_selector_tree_match_all arg
- Date: Thu, 29 Nov 2012 21:25:00 +0000 (UTC)
commit 8e461c2ecd4623c2296776fc394506e942133ff6
Author: Alexander Larsson <alexl redhat com>
Date: Thu Nov 29 17:55:26 2012 +0100
css: Add const to _gtk_css_selector_tree_match_all arg
gtk/gtkcssselector.c | 2 +-
gtk/gtkcssselectorprivate.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcssselector.c b/gtk/gtkcssselector.c
index ee0b656..a0ef7ae 100644
--- a/gtk/gtkcssselector.c
+++ b/gtk/gtkcssselector.c
@@ -1699,7 +1699,7 @@ direct_ptr_compare (const void *_a, const void *_b)
}
GPtrArray *
-_gtk_css_selector_tree_match_all (GtkCssSelectorTree *tree,
+_gtk_css_selector_tree_match_all (const GtkCssSelectorTree *tree,
const GtkCssMatcher *matcher)
{
GHashTable *res;
diff --git a/gtk/gtkcssselectorprivate.h b/gtk/gtkcssselectorprivate.h
index be02aee..cc7ec4b 100644
--- a/gtk/gtkcssselectorprivate.h
+++ b/gtk/gtkcssselectorprivate.h
@@ -40,7 +40,7 @@ int _gtk_css_selector_compare (const GtkCssSelector *a,
const GtkCssSelector *b);
void _gtk_css_selector_tree_free (GtkCssSelectorTree *tree);
-GPtrArray * _gtk_css_selector_tree_match_all (GtkCssSelectorTree *tree,
+GPtrArray * _gtk_css_selector_tree_match_all (const GtkCssSelectorTree *tree,
const GtkCssMatcher *matcher);
void _gtk_css_selector_tree_match_print (const GtkCssSelectorTree *tree,
GString *str);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]