diff options
-rw-r--r-- | src/html.cc | 5 | ||||
-rw-r--r-- | src/menu.cc | 13 | ||||
-rw-r--r-- | src/menu.hh | 13 |
3 files changed, 0 insertions, 31 deletions
diff --git a/src/html.cc b/src/html.cc index c9bcac22..ff687c05 100644 --- a/src/html.cc +++ b/src/html.cc @@ -1836,10 +1836,6 @@ static void Html_tag_open_h(DilloHtml *html, const char *tag, int tagsize) 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_open_h(DilloHtml *html, const char *tag, int tagsize) */ 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 ()); } diff --git a/src/menu.cc b/src/menu.cc index 002d970f..31ef8c73 100644 --- a/src/menu.cc +++ b/src/menu.cc @@ -654,16 +654,3 @@ void a_Menu_history_popup(BrowserWindow *bw, int direction) 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) { } - diff --git a/src/menu.hh b/src/menu.hh index be20bc49..3cbddfac 100644 --- a/src/menu.hh +++ b/src/menu.hh @@ -18,19 +18,6 @@ void a_Menu_file_popup(BrowserWindow *bw, void *v_wid); 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 } |