summaryrefslogtreecommitdiff
path: root/cocoa
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-04-15 22:50:28 +0100
committerVincent Sanders <vince@kyllikki.org>2016-04-16 23:50:21 +0100
commit33c7df0c40023cb1b0c17084680a21ee8e0229ea (patch)
tree2d3f4165be1dfb4c072ab8230dc7a5ea517bbdef /cocoa
parent7b78985983216e940415a8bb8711e3e8b55f54b0 (diff)
downloadnetsurf-33c7df0c40023cb1b0c17084680a21ee8e0229ea.tar.gz
netsurf-33c7df0c40023cb1b0c17084680a21ee8e0229ea.tar.bz2
complete the rename of the gui browser table
When the operations tables were created the browser table was renamed to miscellaneous except the actual rename patch was never applied, this fixes that situation.
Diffstat (limited to 'cocoa')
-rw-r--r--cocoa/NetsurfApp.m2
-rw-r--r--cocoa/gui.h2
-rw-r--r--cocoa/gui.m10
3 files changed, 7 insertions, 7 deletions
diff --git a/cocoa/NetsurfApp.m b/cocoa/NetsurfApp.m
index 034ffda53..3d5ff0691 100644
--- a/cocoa/NetsurfApp.m
+++ b/cocoa/NetsurfApp.m
@@ -228,7 +228,7 @@ int main( int argc, char **argv )
nsurl *url;
nserror error;
struct netsurf_table cocoa_table = {
- .browser = cocoa_browser_table,
+ .misc = cocoa_misc_table,
.window = cocoa_window_table,
.clipboard = cocoa_clipboard_table,
.download = cocoa_download_table,
diff --git a/cocoa/gui.h b/cocoa/gui.h
index 757140030..b0ff648f6 100644
--- a/cocoa/gui.h
+++ b/cocoa/gui.h
@@ -20,7 +20,7 @@
extern struct gui_window_table *cocoa_window_table;
extern struct gui_clipboard_table *cocoa_clipboard_table;
-extern struct gui_browser_table *cocoa_browser_table;
+extern struct gui_misc_table *cocoa_misc_table;
extern NSString * const kCookiesFileOption;
extern NSString * const kURLsFileOption;
diff --git a/cocoa/gui.m b/cocoa/gui.m
index 0cd3d8071..351b6e5fa 100644
--- a/cocoa/gui.m
+++ b/cocoa/gui.m
@@ -279,7 +279,7 @@ static struct gui_window_table window_table = {
.set_scroll = gui_window_set_scroll,
.get_dimensions = gui_window_get_dimensions,
.update_extent = gui_window_update_extent,
- .reformat = cocoa_window_reformat,
+ .reformat = cocoa_window_reformat,
.set_title = gui_window_set_title,
.set_url = gui_window_set_url,
@@ -288,7 +288,7 @@ static struct gui_window_table window_table = {
.set_pointer = gui_window_set_pointer,
.place_caret = gui_window_place_caret,
.remove_caret = gui_window_remove_caret,
- .new_content = gui_window_new_content,
+ .new_content = gui_window_new_content,
.start_throbber = gui_window_start_throbber,
.stop_throbber = gui_window_stop_throbber,
.create_form_select_menu = gui_create_form_select_menu,
@@ -297,11 +297,11 @@ static struct gui_window_table window_table = {
struct gui_window_table *cocoa_window_table = &window_table;
-static struct gui_browser_table browser_table = {
- .schedule = cocoa_schedule,
+static struct gui_misc_table browser_table = {
+ .schedule = cocoa_schedule,
.launch_url = gui_launch_url,
.cert_verify = gui_cert_verify,
};
-struct gui_browser_table *cocoa_browser_table = &browser_table;
+struct gui_misc_table *cocoa_misc_table = &browser_table;