From 33c7df0c40023cb1b0c17084680a21ee8e0229ea Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 15 Apr 2016 22:50:28 +0100 Subject: 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. --- cocoa/NetsurfApp.m | 2 +- cocoa/gui.h | 2 +- cocoa/gui.m | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'cocoa') 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; -- cgit v1.2.3