summaryrefslogtreecommitdiff
path: root/src/stylesheet.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-01-25 18:42:23 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-01-25 18:42:23 +0000
commitb4d0d63be81dce36b1ddc4365235036c8e9d1a3d (patch)
treea62ec6f46d1989a1268b44d95fa21c571cc45ac8 /src/stylesheet.h
parentddb3c1e8d9e62591f17a463aae05374effae66dc (diff)
downloadlibcss-b4d0d63be81dce36b1ddc4365235036c8e9d1a3d.tar.gz
libcss-b4d0d63be81dce36b1ddc4365235036c8e9d1a3d.tar.bz2
Simplify API of css_stylesheet_selector_create -- it's always used to create element selectors. Everything else is handled via detail.
svn path=/trunk/libcss/; revision=6266
Diffstat (limited to 'src/stylesheet.h')
-rw-r--r--src/stylesheet.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stylesheet.h b/src/stylesheet.h
index 57bca56..532afc0 100644
--- a/src/stylesheet.h
+++ b/src/stylesheet.h
@@ -180,8 +180,7 @@ css_error css_stylesheet_style_create(css_stylesheet *sheet, uint32_t len,
css_error css_stylesheet_style_destroy(css_stylesheet *sheet, css_style *style);
css_error css_stylesheet_selector_create(css_stylesheet *sheet,
- css_selector_type type, const parserutils_hash_entry *name,
- const parserutils_hash_entry *value, css_selector **selector);
+ const parserutils_hash_entry *name, css_selector **selector);
css_error css_stylesheet_selector_destroy(css_stylesheet *sheet,
css_selector *selector);