summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2014-01-16 15:21:12 +0000
committerVincent Sanders <vince@netsurf-browser.org>2014-01-16 15:23:11 +0000
commit2f478eb5d7690206f2feb92e2e215a5ec8f968c7 (patch)
tree99a11900067fb33193f85a6512b3dc5ec1b26aa4
parentb1bb708d4f20e899f5ff8df46b6b4297380b6748 (diff)
downloadnetsurf-2f478eb5d7690206f2feb92e2e215a5ec8f968c7.tar.gz
netsurf-2f478eb5d7690206f2feb92e2e215a5ec8f968c7.tar.bz2
fix missing forward declaration
-rw-r--r--atari/gui.c1
-rw-r--r--windows/main.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/atari/gui.c b/atari/gui.c
index 2180080cc..b2ac6f715 100644
--- a/atari/gui.c
+++ b/atari/gui.c
@@ -114,6 +114,7 @@ EVMULT_OUT aes_event_out;
short aes_msg_out[8];
bool gui_window_get_scroll(struct gui_window *w, int *sx, int *sy);
+static void gui_window_set_url(struct gui_window *w, const char *url);
/**
* Return the filename part of a full path
diff --git a/windows/main.c b/windows/main.c
index ac75ab568..8dc9d45cb 100644
--- a/windows/main.c
+++ b/windows/main.c
@@ -111,7 +111,7 @@ WinMain(HINSTANCE hInstance, HINSTANCE hLastInstance, LPSTR lpcli, int ncmd)
.clipboard = win32_clipboard_table,
.download = win32_download_table,
};
- win32_gui_table->browser->get_resource_url = gui_get_resource_url;
+ win32_browser_table->get_resource_url = gui_get_resource_url;
if (SLEN(lpcli) > 0) {
argvw = CommandLineToArgvW(GetCommandLineW(), &argc);