summaryrefslogtreecommitdiff
path: root/src/cr-stylesheet.h
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@gnome.org>2004-03-03 22:14:00 +0000
committerDodji Seketeli <dodji@src.gnome.org>2004-03-03 22:14:00 +0000
commiteaf5bef62adc36e423af51c223dbaa330f1964d4 (patch)
tree0ee1eb68974fac025541dc9f2784f0dd4c722911 /src/cr-stylesheet.h
parentc99f0e82f5e6c915be74d8b0b7e9d2f137519e3c (diff)
downloadlibcroco-eaf5bef62adc36e423af51c223dbaa330f1964d4.tar.gz
added the support of selectors evaluation in csslint. Now, one can do
2004-03-03 Dodji Seketeli <dodji@gnome.org> * csslint/csslint.c: added the support of selectors evaluation in csslint. Now, one can do csslint --evaluate --xml <an xml file> --author-sheet <a-css-sheet> --xpath <an xpath expression> . This will show the css properties associated to the xml node(s) refered to by the xpath expression. * src/cr-declaration.[ch]: (cr_declaration_dump_one) added this new api entry to dump the first declaration of the declaration list. * src/cr-prop-list.c: (cr_prop_list_unlink): fixed a stupid bug in there. * src/cr-stylesheet.[ch]: (cr_stylesheets_nr_rules): there is a typo in this function name. Stylesheet's' should not take a leading 's'. Changed that into cr_stylesheet_nr_rules().
Diffstat (limited to 'src/cr-stylesheet.h')
-rw-r--r--src/cr-stylesheet.h21
1 files changed, 7 insertions, 14 deletions
diff --git a/src/cr-stylesheet.h b/src/cr-stylesheet.h
index 6ea3ab0..0209311 100644
--- a/src/cr-stylesheet.h
+++ b/src/cr-stylesheet.h
@@ -85,26 +85,19 @@ struct _CRStyleSheet
gulong ref_count ;
} ;
-CRStyleSheet *
-cr_stylesheet_new (CRStatement *a_stmts) ;
+CRStyleSheet * cr_stylesheet_new (CRStatement *a_stmts) ;
-void
-cr_stylesheet_dump (CRStyleSheet *a_this, FILE *a_fp) ;
+void cr_stylesheet_dump (CRStyleSheet *a_this, FILE *a_fp) ;
-int
-cr_stylesheet_nr_rules (CRStyleSheet *a_this) ;
+gint cr_stylesheet_nr_rules (CRStyleSheet *a_this) ;
-CRStatement *
-cr_stylesheet_statement_get_from_list (CRStyleSheet *a_this, int itemnr) ;
+CRStatement * cr_stylesheet_statement_get_from_list (CRStyleSheet *a_this, int itemnr) ;
-void
-cr_stylesheet_ref (CRStyleSheet *a_this) ;
+void cr_stylesheet_ref (CRStyleSheet *a_this) ;
-gboolean
-cr_stylesheet_unref (CRStyleSheet *a_this) ;
+gboolean cr_stylesheet_unref (CRStyleSheet *a_this) ;
-void
-cr_stylesheet_destroy (CRStyleSheet *a_this) ;
+void cr_stylesheet_destroy (CRStyleSheet *a_this) ;
G_END_DECLS