aboutsummaryrefslogtreecommitdiff
path: root/src/html_common.hh
diff options
context:
space:
mode:
authorJeremy Henty <onepoint@starurchin.org>2009-02-08 18:32:52 -0300
committerJeremy Henty <onepoint@starurchin.org>2009-02-08 18:32:52 -0300
commit24cc07871e0744853dfaed26c9a8eff0b62ff35d (patch)
tree67474d93c4c3d7b9100547675daec39853684e5e /src/html_common.hh
parent3c7fc8d4e2d5bee18291b05f71a409e5c136c0ed (diff)
API cleanup: a_Html_add_new_image() loses the boolean parameter.
This patch cleans things up by renaming a_Html_add_new_image() to a_Html_image_new(), removing the boolean parameter and making the caller add the image (or not) as appropriate.
Diffstat (limited to 'src/html_common.hh')
-rw-r--r--src/html_common.hh5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/html_common.hh b/src/html_common.hh
index fc0800f7..c69b0271 100644
--- a/src/html_common.hh
+++ b/src/html_common.hh
@@ -257,9 +257,8 @@ DilloUrl *a_Html_url_new(DilloHtml *html,
const char *url_str, const char *base_url,
int use_base_url);
-DilloImage *a_Html_add_new_image(DilloHtml *html, const char *tag,
- int tagsize, DilloUrl *url,
- bool add);
+DilloImage *a_Html_image_new(DilloHtml *html, const char *tag,
+ int tagsize, DilloUrl *url);
char *a_Html_parse_entities(DilloHtml *html, const char *token, int toksize);
void a_Html_pop_tag(DilloHtml *html, int TagIdx);