Mercurial > dillo_port1.3
changeset 783:469076c6b0e1
Remove unused functions.
author | Jorge Arellano Cid <jcid@dillo.org> |
---|---|
date | Sat, 17 Jan 2009 15:24:35 -0300 |
parents | 49735e578039 |
children | 2ab78f21b9f6 |
files | src/html.cc src/menu.cc src/menu.hh |
diffstat | 3 files changed, 0 insertions(+), 31 deletions(-) [+] |
line wrap: on
line diff
--- a/src/html.cc Sat Jan 17 10:59:15 2009 +0000 +++ b/src/html.cc Sat Jan 17 15:24:35 2009 -0300 @@ -1836,10 +1836,6 @@ DW2TB(html->dw)->addParbreak (9, html->styleEngine->wordStyle ()); - /* First finalize unclosed H tags (we test if already named anyway) */ - a_Menu_pagemarks_set_text(html->bw, html->Stash->str); - a_Menu_pagemarks_add(html->bw, DW2TB(html->dw), - html->styleEngine->style (), (tag[2] - '0')); a_Html_stash_init(html); S_TOP(html)->parse_mode = DILLO_HTML_PARSE_MODE_STASH_AND_BODY; @@ -1850,7 +1846,6 @@ */ static void Html_tag_close_h(DilloHtml *html, int TagIdx) { - a_Menu_pagemarks_set_text(html->bw, html->Stash->str); DW2TB(html->dw)->addParbreak (9, html->styleEngine->wordStyle ()); }
--- a/src/menu.cc Sat Jan 17 10:59:15 2009 +0000 +++ b/src/menu.cc Sat Jan 17 15:24:35 2009 -0300 @@ -654,16 +654,3 @@ pm->popup(); } - -void a_Menu_popup_set_url(BrowserWindow *bw, const DilloUrl *url) { } -void a_Menu_popup_set_url2(BrowserWindow *bw, const DilloUrl *url) { } -void a_Menu_popup_clear_url2(void *menu_popup) { } - -DilloUrl *a_Menu_popup_get_url(BrowserWindow *bw) { return NULL; } - -void a_Menu_pagemarks_new (BrowserWindow *bw) { } -void a_Menu_pagemarks_destroy (BrowserWindow *bw) { } -void a_Menu_pagemarks_add(BrowserWindow *bw, void *page, void *style, - int level) { } -void a_Menu_pagemarks_set_text(BrowserWindow *bw, const char *str) { } -
--- a/src/menu.hh Sat Jan 17 10:59:15 2009 +0000 +++ b/src/menu.hh Sat Jan 17 15:24:35 2009 -0300 @@ -18,19 +18,6 @@ void a_Menu_bugmeter_popup(BrowserWindow *bw, const DilloUrl *url); void a_Menu_history_popup(BrowserWindow *bw, int direction); -//--------------------- -void a_Menu_popup_set_url(BrowserWindow *bw, const DilloUrl *url); -void a_Menu_popup_set_url2(BrowserWindow *bw, const DilloUrl *url); -void a_Menu_popup_clear_url2(void *menu_popup); - -DilloUrl *a_Menu_popup_get_url(BrowserWindow *bw); - -void a_Menu_pagemarks_new (BrowserWindow *bw); -void a_Menu_pagemarks_destroy (BrowserWindow *bw); -void a_Menu_pagemarks_add(BrowserWindow *bw, void *page, void *style, - int level); -void a_Menu_pagemarks_set_text(BrowserWindow *bw, const char *str); - #ifdef __cplusplus }