diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2003-12-28 16:17:31 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2003-12-28 16:17:31 +0000 |
commit | 3a8b8485adc6a0e5e1d8182b64951d077b842093 (patch) | |
tree | 885717e731d48046b5a54583a81fda17fdf7b94e /desktop/gui.h | |
parent | b0b2ec850f74d3dd8bd2fffa76fbd2af20b42705 (diff) | |
download | netsurf-3a8b8485adc6a0e5e1d8182b64951d077b842093.tar.gz netsurf-3a8b8485adc6a0e5e1d8182b64951d077b842093.tar.bz2 |
[project @ 2003-12-28 16:17:31 by jmb]
Fix bug in HTTP auth where trying to fetch a page into a non-existent
browser window caused NetSurf to fall over.
We now check that the window still exists. If not, we ignore the request.
svn path=/import/netsurf/; revision=464
Diffstat (limited to 'desktop/gui.h')
-rw-r--r-- | desktop/gui.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/gui.h b/desktop/gui.h index 72ead54b4..61b3088b5 100644 --- a/desktop/gui.h +++ b/desktop/gui.h @@ -18,6 +18,7 @@ typedef struct gui_window gui_window; #include <stdbool.h> #include "netsurf/desktop/browser.h" +bool gui_window_in_list(gui_window *g); gui_window *gui_create_browser_window(struct browser_window *bw); gui_window *gui_create_download_window(struct content *content); void gui_window_destroy(gui_window* g); |