diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-05-27 23:52:35 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-05-27 23:52:35 +0100 |
commit | 7d02ae916a9984efb619eac279b4d8e12db0b678 (patch) | |
tree | bef9147faf3cc1d0acd08ca98ec6435c6b43eea5 /riscos/gui.c | |
parent | 662e950e48b4ad595e602dfc4d51feb9ce75dbbb (diff) | |
download | netsurf-7d02ae916a9984efb619eac279b4d8e12db0b678.tar.gz netsurf-7d02ae916a9984efb619eac279b4d8e12db0b678.tar.bz2 |
make launch_url core operation use nsurl
Diffstat (limited to 'riscos/gui.c')
-rw-r--r-- | riscos/gui.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/riscos/gui.c b/riscos/gui.c index 82a1a74a1..f3d1f323a 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -2214,10 +2214,11 @@ void ro_gui_dump_browser_window(struct browser_window *bw) * Broadcast an URL that we can't handle. */ -static void gui_launch_url(const char *url) +static nserror gui_launch_url(struct nsurl *url) { - /* Try ant broadcast first */ - ro_url_broadcast(url); + /* Try ant broadcast */ + ro_url_broadcast(nsurl_access(url)); + return NSERROR_OK; } |