summaryrefslogtreecommitdiff
path: root/src/cr-stylesheet.h
diff options
context:
space:
mode:
authorPeter J. R. Moulder <pjmoulder@src.gnome.org>2008-03-30 05:43:43 +0000
committerPeter J. R. Moulder <pjmoulder@src.gnome.org>2008-03-30 05:43:43 +0000
commit8b60be7f9ac274c014294c51f88da884a3b0c99f (patch)
tree654b4d6a08a93e2bc0e957a010f87e8e597b5841 /src/cr-stylesheet.h
parent71b9dffeed9300e3c1c6168a6023a6ee9a086889 (diff)
downloadlibcroco-8b60be7f9ac274c014294c51f88da884a3b0c99f.tar.gz
Add ‘const’ to various function prototypes, as discussed at http://www.mail-archive.com/libcroco-list@gnome.org/msg00049.html . This change is a noop in the sense that it has no effect on libcroco's object files, but does affect source-level compatibility, both forwards and backwards — though in practice I'd guess that no existing code will break from this.
svn path=/trunk/; revision=315
Diffstat (limited to 'src/cr-stylesheet.h')
-rw-r--r--src/cr-stylesheet.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cr-stylesheet.h b/src/cr-stylesheet.h
index 3766a28..f35c94e 100644
--- a/src/cr-stylesheet.h
+++ b/src/cr-stylesheet.h
@@ -84,10 +84,10 @@ struct _CRStyleSheet
CRStyleSheet * cr_stylesheet_new (CRStatement *a_stmts) ;
-gchar * cr_stylesheet_to_string (CRStyleSheet *a_this) ;
-void cr_stylesheet_dump (CRStyleSheet *a_this, FILE *a_fp) ;
+gchar * cr_stylesheet_to_string (CRStyleSheet const *a_this) ;
+void cr_stylesheet_dump (CRStyleSheet const *a_this, FILE *a_fp) ;
-gint cr_stylesheet_nr_rules (CRStyleSheet *a_this) ;
+gint cr_stylesheet_nr_rules (CRStyleSheet const *a_this) ;
CRStatement * cr_stylesheet_statement_get_from_list (CRStyleSheet *a_this, int itemnr) ;