aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-01-17 15:24:35 -0300
committerJorge Arellano Cid <jcid@dillo.org>2009-01-17 15:24:35 -0300
commitd8e4d7cec9ff93292e320415ea346889340bbadc (patch)
tree741945d56143925a0e2a11b465582837643dcceb
parent9408a6f6bcc4d65c96d4dbfbafa49325778e1fb9 (diff)
Remove unused functions.
-rw-r--r--src/html.cc5
-rw-r--r--src/menu.cc13
-rw-r--r--src/menu.hh13
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
}