diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2011-01-26 12:49:58 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2011-01-26 12:49:58 +0000 |
commit | 9a026637586cc90ce3418e945210c90313434306 (patch) | |
tree | 5c06aff26935112320620fdd1fe45f6a447763c5 /src/parse/properties/outline.c | |
parent | ff6f6cf29dbe18a2541ba73c2542253c5ffb0abc (diff) | |
download | libcss-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/outline.c')
-rw-r--r-- | src/parse/properties/outline.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/parse/properties/outline.c b/src/parse/properties/outline.c index 7cd74cd..eb4f525 100644 --- a/src/parse/properties/outline.c +++ b/src/parse/properties/outline.c @@ -65,20 +65,20 @@ css_error css__parse_outline(css_language *c, } /* allocate styles */ - error = css_stylesheet_style_create(c->sheet, &color_style); + error = css__stylesheet_style_create(c->sheet, &color_style); if (error != CSS_OK) return error; - error = css_stylesheet_style_create(c->sheet, &style_style); + error = css__stylesheet_style_create(c->sheet, &style_style); if (error != CSS_OK) { - css_stylesheet_style_destroy(color_style); + css__stylesheet_style_destroy(color_style); return error; } - error = css_stylesheet_style_create(c->sheet, &width_style); + error = css__stylesheet_style_create(c->sheet, &width_style); if (error != CSS_OK) { - css_stylesheet_style_destroy(color_style); - css_stylesheet_style_destroy(style_style); + css__stylesheet_style_destroy(color_style); + css__stylesheet_style_destroy(style_style); return error; } @@ -121,40 +121,40 @@ css_error css__parse_outline(css_language *c, /* defaults */ if (color) { - error = css_stylesheet_style_appendOPV(color_style, + error = css__stylesheet_style_appendOPV(color_style, CSS_PROP_OUTLINE_COLOR, 0, OUTLINE_COLOR_INVERT); } if (style) { - error = css_stylesheet_style_appendOPV(style_style, + error = css__stylesheet_style_appendOPV(style_style, CSS_PROP_OUTLINE_STYLE, 0, OUTLINE_STYLE_NONE); } if (width) { - error = css_stylesheet_style_appendOPV(width_style, + error = css__stylesheet_style_appendOPV(width_style, CSS_PROP_OUTLINE_WIDTH, 0, OUTLINE_WIDTH_MEDIUM); } - error = css_stylesheet_merge_style(result, color_style); + error = css__stylesheet_merge_style(result, color_style); if (error != CSS_OK) goto css__parse_outline_cleanup; - error = css_stylesheet_merge_style(result, style_style); + error = css__stylesheet_merge_style(result, style_style); if (error != CSS_OK) goto css__parse_outline_cleanup; - error = css_stylesheet_merge_style(result, width_style); + error = css__stylesheet_merge_style(result, width_style); css__parse_outline_cleanup: - css_stylesheet_style_destroy(width_style); - css_stylesheet_style_destroy(style_style); - css_stylesheet_style_destroy(color_style); + css__stylesheet_style_destroy(width_style); + css__stylesheet_style_destroy(style_style); + css__stylesheet_style_destroy(color_style); if (error != CSS_OK) *ctx = orig_ctx; |