From 8525c857da966580c57aa595ec44ba1c4fc2326a Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 13 Mar 2015 14:32:06 +0000 Subject: Clean up more windows frontend issues and split out more functionality --- windows/main.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'windows/main.c') diff --git a/windows/main.c b/windows/main.c index c2feeffa6..c762c52db 100644 --- a/windows/main.c +++ b/windows/main.c @@ -31,6 +31,7 @@ #include "utils/nsoption.h" #include "desktop/browser.h" #include "desktop/gui_fetch.h" +#include "desktop/gui_misc.h" #include "desktop/netsurf.h" #include "windows/findfile.h" @@ -38,6 +39,10 @@ #include "windows/download.h" #include "windows/localhistory.h" #include "windows/window.h" +#include "windows/schedule.h" +#include "windows/font.h" +#include "windows/filetype.h" +#include "windows/pointers.h" #include "windows/gui.h" static char **respaths; /** resource search path vector. */ @@ -98,6 +103,10 @@ static nserror set_defaults(struct nsoption_s *defaults) } +static struct gui_browser_table win32_browser_table = { + .schedule = win32_schedule, +}; + /** * Entry point from operating system @@ -114,7 +123,7 @@ WinMain(HINSTANCE hInstance, HINSTANCE hLastInstance, LPSTR lpcli, int ncmd) const char *addr; nsurl *url; struct netsurf_table win32_table = { - .browser = win32_browser_table, + .browser = &win32_browser_table, .window = win32_window_table, .clipboard = win32_clipboard_table, .download = win32_download_table, -- cgit v1.2.3