summaryrefslogtreecommitdiff
path: root/gtk/gtkcssnodestylecache.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-02-28 08:23:19 +0100
committerTimm Bäder <mail@baedert.org>2017-03-02 15:16:08 +0100
commit4c39204ddda68bcc18dd82d09db4b692c00fcb9f (patch)
tree75cd645719ea73d17896806112f4ebb43682a017 /gtk/gtkcssnodestylecache.c
parente1592c599e1d9c6a22b4edb1a808935d2450f5db (diff)
downloadgtk+-4c39204ddda68bcc18dd82d09db4b692c00fcb9f.tar.gz
cssnodestylecache: Use const pointer in lookup
Diffstat (limited to 'gtk/gtkcssnodestylecache.c')
-rw-r--r--gtk/gtkcssnodestylecache.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkcssnodestylecache.c b/gtk/gtkcssnodestylecache.c
index b07776d666..c5d7562119 100644
--- a/gtk/gtkcssnodestylecache.c
+++ b/gtk/gtkcssnodestylecache.c
@@ -163,10 +163,10 @@ gtk_css_node_style_cache_insert (GtkCssNodeStyleCache *parent,
}
GtkCssNodeStyleCache *
-gtk_css_node_style_cache_lookup (GtkCssNodeStyleCache *parent,
- GtkCssNodeDeclaration *decl,
- gboolean is_first,
- gboolean is_last)
+gtk_css_node_style_cache_lookup (GtkCssNodeStyleCache *parent,
+ const GtkCssNodeDeclaration *decl,
+ gboolean is_first,
+ gboolean is_last)
{
GtkCssNodeStyleCache *result;