summaryrefslogtreecommitdiff
path: root/src/parse/properties/list_style.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2011-01-26 12:49:58 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2011-01-26 12:49:58 +0000
commit9a026637586cc90ce3418e945210c90313434306 (patch)
tree5c06aff26935112320620fdd1fe45f6a447763c5 /src/parse/properties/list_style.c
parentff6f6cf29dbe18a2541ba73c2542253c5ffb0abc (diff)
downloadlibcss-9a026637586cc90ce3418e945210c90313434306.tar.gz
libcss-9a026637586cc90ce3418e945210c90313434306.tar.bz2
Rename all css_[^_] internal symbols to css__ so that they're nicely namespaced
svn path=/trunk/libcss/; revision=11492
Diffstat (limited to 'src/parse/properties/list_style.c')
-rw-r--r--src/parse/properties/list_style.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/parse/properties/list_style.c b/src/parse/properties/list_style.c
index 7ac0831..4ef4ce8 100644
--- a/src/parse/properties/list_style.c
+++ b/src/parse/properties/list_style.c
@@ -65,20 +65,20 @@ css_error css__parse_list_style(css_language *c,
}
/* allocate styles */
- error = css_stylesheet_style_create(c->sheet, &image_style);
+ error = css__stylesheet_style_create(c->sheet, &image_style);
if (error != CSS_OK)
return error;
- error = css_stylesheet_style_create(c->sheet, &position_style);
+ error = css__stylesheet_style_create(c->sheet, &position_style);
if (error != CSS_OK) {
- css_stylesheet_style_destroy(image_style);
+ css__stylesheet_style_destroy(image_style);
return error;
}
- error = css_stylesheet_style_create(c->sheet, &type_style);
+ error = css__stylesheet_style_create(c->sheet, &type_style);
if (error != CSS_OK) {
- css_stylesheet_style_destroy(image_style);
- css_stylesheet_style_destroy(position_style);
+ css__stylesheet_style_destroy(image_style);
+ css__stylesheet_style_destroy(position_style);
return error;
}
@@ -121,40 +121,40 @@ css_error css__parse_list_style(css_language *c,
/* defaults */
if (image) {
- error = css_stylesheet_style_appendOPV(image_style,
+ error = css__stylesheet_style_appendOPV(image_style,
CSS_PROP_LIST_STYLE_IMAGE,
0, LIST_STYLE_IMAGE_NONE);
}
if (position) {
- error = css_stylesheet_style_appendOPV(position_style,
+ error = css__stylesheet_style_appendOPV(position_style,
CSS_PROP_LIST_STYLE_POSITION,
0, LIST_STYLE_POSITION_OUTSIDE);
}
if (type) {
- error = css_stylesheet_style_appendOPV(type_style,
+ error = css__stylesheet_style_appendOPV(type_style,
CSS_PROP_LIST_STYLE_TYPE,
0, LIST_STYLE_TYPE_DISC);
}
- error = css_stylesheet_merge_style(result, image_style);
+ error = css__stylesheet_merge_style(result, image_style);
if (error != CSS_OK)
goto css__parse_list_style_cleanup;
- error = css_stylesheet_merge_style(result, position_style);
+ error = css__stylesheet_merge_style(result, position_style);
if (error != CSS_OK)
goto css__parse_list_style_cleanup;
- error = css_stylesheet_merge_style(result, type_style);
+ error = css__stylesheet_merge_style(result, type_style);
css__parse_list_style_cleanup:
- css_stylesheet_style_destroy(type_style);
- css_stylesheet_style_destroy(position_style);
- css_stylesheet_style_destroy(image_style);
+ css__stylesheet_style_destroy(type_style);
+ css__stylesheet_style_destroy(position_style);
+ css__stylesheet_style_destroy(image_style);
if (error != CSS_OK)
*ctx = orig_ctx;