diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2011-03-01 14:31:54 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2011-03-01 14:31:54 +0000 |
commit | 9660442e927c472cce96e6497e72e35b920e475b (patch) | |
tree | ce25ea31ec0c60818687c7fc8b3947be30d5606b /amiga | |
parent | f1343377ffbb6098f665152e8f1b97287bc9c012 (diff) | |
download | netsurf-9660442e927c472cce96e6497e72e35b920e475b.tar.gz netsurf-9660442e927c472cce96e6497e72e35b920e475b.tar.bz2 |
remove obsolete, unused gui_window_redraw API
svn path=/trunk/netsurf/; revision=11870
Diffstat (limited to 'amiga')
-rwxr-xr-x | amiga/context_menu.c | 4 | ||||
-rwxr-xr-x | amiga/gui.c | 15 |
2 files changed, 5 insertions, 14 deletions
diff --git a/amiga/context_menu.c b/amiga/context_menu.c index 01044847e..30d9a557c 100755 --- a/amiga/context_menu.c +++ b/amiga/context_menu.c @@ -420,7 +420,9 @@ static uint32 ami_context_menu_hook(struct Hook *hook,Object *item,APTR reserved box->gadget->value = utf8_fn; box_coords(box, (int *)&x, (int *)&y); - gui_window_redraw(gwin->bw->window,x,y, + ami_do_redraw_limits(gwin->bw->window, + gwin->bw->window->shared->bw, + x,y, x + box->width, y + box->height); } diff --git a/amiga/gui.c b/amiga/gui.c index a50395a74..e4b21d47c 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -1747,7 +1747,8 @@ void ami_handle_appmsg(void) file_box->gadget->value = utf8_fn; box_coords(file_box, (int *)&x, (int *)&y); - gui_window_redraw(gwin->bw->window,x,y, + ami_do_redraw_limits(gwin->bw->window, + gwin->bw->window->shared->bw, x, y, x + file_box->width, y + file_box->height); } @@ -3152,18 +3153,6 @@ void ami_do_redraw_limits(struct gui_window *g, struct browser_window *bw, current_redraw_browser = NULL; } -void gui_window_redraw(struct gui_window *g, int x0, int y0, int x1, int y1) -{ - ULONG sx,sy; - struct browser_window *bw; - - if(!g) return; - - bw = g->shared->bw; - - ami_do_redraw_limits(g, bw, x0, y0, x1, y1); -} - void gui_window_redraw_window(struct gui_window *g) { ULONG cur_tab = 0; |