summaryrefslogtreecommitdiff
path: root/cocoa/gui.m
diff options
context:
space:
mode:
Diffstat (limited to 'cocoa/gui.m')
-rw-r--r--cocoa/gui.m13
1 files changed, 7 insertions, 6 deletions
diff --git a/cocoa/gui.m b/cocoa/gui.m
index 72f64bf04..425bd9cb7 100644
--- a/cocoa/gui.m
+++ b/cocoa/gui.m
@@ -55,7 +55,7 @@ nsurl *gui_get_resource_url(const char *path)
return url;
}
-void gui_poll(bool active)
+static void gui_poll(bool active)
{
cocoa_autorelease();
@@ -68,11 +68,6 @@ void gui_poll(bool active)
}
}
-void gui_quit(void)
-{
- // nothing to do
-}
-
struct browser_window;
struct gui_window *gui_create_browser_window(struct browser_window *bw,
@@ -332,3 +327,9 @@ void gui_file_gadget_open(struct gui_window *g, hlcache_handle *hl,
/* browser_window_set_gadget_filename(bw, gadget, "filename"); */
}
+static struct gui_table gui_table = {
+ .poll = &gui_poll,
+};
+
+struct gui_table *cocoa_gui_table = &gui_table;
+