summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2015-10-25 09:03:20 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2015-10-25 09:03:20 (GMT)
commit1bb7d295bb6c59c0a21b0eedf69f939ebd2a7ed9 (patch)
treeaddd71dfc0a76f702b7ea9b3f4e83e03355878ce /gtk
parentdc0729150c2fd4ed4ad594ea5240d69d8ab65a3c (diff)
downloadnetsurf-1bb7d295bb6c59c0a21b0eedf69f939ebd2a7ed9.tar.gz
netsurf-1bb7d295bb6c59c0a21b0eedf69f939ebd2a7ed9.tar.bz2
Make nsurl utf8 string conversion function consistent with nsurl API.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/scaffolding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/scaffolding.c b/gtk/scaffolding.c
index a9904de..19d5b2e 100644
--- a/gtk/scaffolding.c
+++ b/gtk/scaffolding.c
@@ -2349,7 +2349,7 @@ nserror gui_window_set_url(struct gui_window *gw, nsurl *url)
g = nsgtk_get_scaffold(gw);
if (g->top_level == gw) {
if (nsoption_bool(display_decoded_idn) == true) {
- if (nsurl_access_utf8(url, &idn_url_s, &idn_url_l) != NSERROR_OK)
+ if (nsurl_get_utf8(url, &idn_url_s, &idn_url_l) != NSERROR_OK)
idn_url_s = NULL;
}