summaryrefslogtreecommitdiff
path: root/riscos/toolbar.c
diff options
context:
space:
mode:
authorSteve Fryatt <stevef@netsurf-browser.org>2013-12-30 15:41:38 +0000
committerSteve Fryatt <stevef@netsurf-browser.org>2013-12-30 15:41:38 +0000
commit6300c7ed90b472dc9a5f21d8054fd2e2689c8c9a (patch)
tree29969a49d4c25af43ca9c1ad3e5ce58409850e3c /riscos/toolbar.c
parent1019692b882860bcae923fedb23269cbd2f0121b (diff)
downloadnetsurf-6300c7ed90b472dc9a5f21d8054fd2e2689c8c9a.tar.gz
netsurf-6300c7ed90b472dc9a5f21d8054fd2e2689c8c9a.tar.bz2
Tidy up hotlist icon interfaces and make consistant with rest of toolbar.
Diffstat (limited to 'riscos/toolbar.c')
-rw-r--r--riscos/toolbar.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/riscos/toolbar.c b/riscos/toolbar.c
index 26a9bd440..d0c68c2b7 100644
--- a/riscos/toolbar.c
+++ b/riscos/toolbar.c
@@ -1620,10 +1620,12 @@ const char *ro_toolbar_get_url(struct toolbar *toolbar)
/* This is an exported interface documented in toolbar.h */
-void ro_toolbar_hotlist_modifed(struct toolbar *toolbar, nsurl *url)
+void ro_toolbar_update_hotlist(struct toolbar *toolbar)
{
- if (toolbar != NULL && toolbar->url != NULL)
- ro_gui_url_bar_hotlist_modifed(toolbar->url, url);
+ if (toolbar == NULL || toolbar->url == NULL)
+ return;
+
+ ro_gui_url_bar_update_hotlist(toolbar->url);
}