diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-01-11 14:29:44 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-01-11 14:29:44 +0000 |
commit | d2253eee8faafebc816b403395e875a290f826e1 (patch) | |
tree | 5d6b01657e435efb3216be3a7f34056398a82469 /render/html_interaction.c | |
parent | 04ece30fa930743d21af95d809acc2d25f82848a (diff) | |
download | netsurf-d2253eee8faafebc816b403395e875a290f826e1.tar.gz netsurf-d2253eee8faafebc816b403395e875a290f826e1.tar.bz2 |
Don't need root bw here any more.
svn path=/trunk/netsurf/; revision=13396
Diffstat (limited to 'render/html_interaction.c')
-rw-r--r-- | render/html_interaction.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/render/html_interaction.c b/render/html_interaction.c index 56d9e83b7..81dd71ca2 100644 --- a/render/html_interaction.c +++ b/render/html_interaction.c @@ -817,8 +817,6 @@ void html_overflow_scroll_callback(void *client_data, html_content *html = (html_content *)data->c; struct box *box = data->box; int x, y, box_x, box_y, diff_x, diff_y; - struct browser_window *root_bw; - switch(scrollbar_data->msg) { case SCROLLBAR_MSG_REDRAW: @@ -859,8 +857,6 @@ void html_overflow_scroll_callback(void *client_data, DRAGGING_CONTENT_SCROLLBAR, &rect); html->scrollbar = scrollbar_data->scrollbar; - - root_bw = browser_window_get_root(html->bw); } break; case SCROLLBAR_MSG_SCROLL_FINISHED: |