summaryrefslogtreecommitdiff
path: root/riscos/theme.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-07-17 13:00:38 +0000
committerJames Bursa <james@netsurf-browser.org>2004-07-17 13:00:38 +0000
commite4a6e982e599020060d8e43262d53ade0667f439 (patch)
treea3f76f00f0d2154834036e25b4747b322260ce19 /riscos/theme.c
parentb6782d609583900d14d51272075408072f2e501c (diff)
downloadnetsurf-e4a6e982e599020060d8e43262d53ade0667f439.tar.gz
netsurf-e4a6e982e599020060d8e43262d53ade0667f439.tar.bz2
[project @ 2004-07-17 13:00:38 by bursa]
Simplify gui_window structure. Clean up various parts of the gui code. svn path=/import/netsurf/; revision=1092
Diffstat (limited to 'riscos/theme.c')
-rw-r--r--riscos/theme.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/riscos/theme.c b/riscos/theme.c
index a706ac87c..fca63da51 100644
--- a/riscos/theme.c
+++ b/riscos/theme.c
@@ -123,14 +123,14 @@ void ro_theme_load(char *pathname) {
* The buffers url_buffer and status_buffer must be at least 256 bytes each,
* throbber_buffer at least 12 bytes;
*/
-void ro_theme_create_browser_toolbar(gui_window *g) {
+void ro_theme_create_browser_toolbar(struct gui_window *g) {
struct toolbar *toolbar;
/* Destroy any previous toolbar (paranoia)
*/
- if (g->data.browser.toolbar) {
- ro_toolbar_destroy(g->data.browser.toolbar);
- g->data.browser.toolbar = NULL;
+ if (g->toolbar) {
+ ro_toolbar_destroy(g->toolbar);
+ g->toolbar = NULL;
}
/* Create a toolbar
*/
@@ -146,7 +146,7 @@ void ro_theme_create_browser_toolbar(gui_window *g) {
/* Store our toolbar
*/
- g->data.browser.toolbar = toolbar;
+ g->toolbar = toolbar;
/* Update the toolbar
*/
@@ -179,7 +179,7 @@ void ro_theme_create_hotlist_toolbar(void) {
/* Store our toolbar
*/
hotlist_toolbar = toolbar;
-
+
/* Update the toolbar
*/
ro_theme_update_toolbar(toolbar, hotlist_window);