diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-01-11 22:34:12 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-01-11 22:34:12 +0000 |
commit | c8496df3df7d059528f2d5e735be5c55bfa75ef6 (patch) | |
tree | 7979e63f7e548c7a9d6bb024afde7b1bc785ff44 /windows/main.c | |
parent | d3c392c3d3b516f05fbf71020b2f6774ce20ce8c (diff) | |
download | netsurf-c8496df3df7d059528f2d5e735be5c55bfa75ef6.tar.gz netsurf-c8496df3df7d059528f2d5e735be5c55bfa75ef6.tar.bz2 |
move window creation and destruction into table
Diffstat (limited to 'windows/main.c')
-rw-r--r-- | windows/main.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/windows/main.c b/windows/main.c index 320c7e4fb..5f20a70d1 100644 --- a/windows/main.c +++ b/windows/main.c @@ -91,9 +91,6 @@ static nserror set_defaults(struct nsoption_s *defaults) return NSERROR_OK; } -static struct gui_table win32_gui_table = { - .poll = &gui_poll, -}; /** @@ -157,7 +154,7 @@ WinMain(HINSTANCE hInstance, HINSTANCE hLastInstance, LPSTR lpcli, int ncmd) /* common initialisation */ messages = filepath_find(respaths, "messages"); - ret = netsurf_init(messages, &win32_gui_table); + ret = netsurf_init(messages, win32_gui_table); free(messages); if (ret != NSERROR_OK) { free(options_file_location); |