summaryrefslogtreecommitdiff
path: root/gtk/gui.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-01-11 22:34:12 +0000
committerVincent Sanders <vince@kyllikki.org>2014-01-11 22:34:12 +0000
commitc8496df3df7d059528f2d5e735be5c55bfa75ef6 (patch)
tree7979e63f7e548c7a9d6bb024afde7b1bc785ff44 /gtk/gui.c
parentd3c392c3d3b516f05fbf71020b2f6774ce20ce8c (diff)
downloadnetsurf-c8496df3df7d059528f2d5e735be5c55bfa75ef6.tar.gz
netsurf-c8496df3df7d059528f2d5e735be5c55bfa75ef6.tar.bz2
move window creation and destruction into table
Diffstat (limited to 'gtk/gui.c')
-rw-r--r--gtk/gui.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/gui.c b/gtk/gui.c
index da602e189..c94b9c836 100644
--- a/gtk/gui.c
+++ b/gtk/gui.c
@@ -1133,8 +1133,10 @@ bool path_add_part(char *path, int length, const char *newpart)
static struct gui_table nsgtk_gui_table = {
- .poll = &gui_poll,
- .quit = &gui_quit,
+ .poll = gui_poll,
+ .quit = gui_quit,
+ .window_create = gui_window_create,
+ .window_destroy = gui_window_destroy,
};
/**