summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
Diffstat (limited to 'riscos')
-rw-r--r--riscos/gui.c6
-rw-r--r--riscos/window.c2
-rw-r--r--riscos/window.h4
3 files changed, 9 insertions, 3 deletions
diff --git a/riscos/gui.c b/riscos/gui.c
index 5a6668bfd..460036573 100644
--- a/riscos/gui.c
+++ b/riscos/gui.c
@@ -838,8 +838,10 @@ static bool nslog_stream_configure(FILE *fptr)
}
static struct gui_table riscos_gui_table = {
- .poll = &gui_poll,
- .quit = &gui_quit,
+ .poll = gui_poll,
+ .quit = gui_quit,
+ .window_create = gui_window_create,
+ .window_destroy = gui_window_destroy,
};
diff --git a/riscos/window.c b/riscos/window.c
index c314c748b..892c24e1d 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -379,7 +379,7 @@ void ro_gui_window_initialise(void)
* \return gui_window, or 0 on error and error reported
*/
-struct gui_window *gui_create_browser_window(struct browser_window *bw,
+struct gui_window *gui_window_create(struct browser_window *bw,
struct browser_window *clone, bool new_tab)
{
int screen_width, screen_height, win_width, win_height, scroll_width;
diff --git a/riscos/window.h b/riscos/window.h
index adbd999f9..a59a9423c 100644
--- a/riscos/window.h
+++ b/riscos/window.h
@@ -29,5 +29,9 @@ void ro_gui_window_initialise(void);
bool ro_gui_window_check_menu(wimp_menu *menu);
+struct gui_window *gui_window_create(struct browser_window *bw, struct browser_window *clone, bool new_tab);
+void gui_window_destroy(struct gui_window *g);
+
+
#endif