summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-10-11 11:20:02 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2012-10-11 11:20:02 +0100
commitd9e7d5810678c1470808c3de63f7bde412b3d17b (patch)
tree68d47410cb177d0125127ac186c2a05127b82097 /windows
parent5a5eab9a1ea7bf6dd79420668c2c0df1a3ea88f5 (diff)
downloadnetsurf-d9e7d5810678c1470808c3de63f7bde412b3d17b.tar.gz
netsurf-d9e7d5810678c1470808c3de63f7bde412b3d17b.tar.bz2
Fix up ripples from urldb change.
Diffstat (limited to 'windows')
-rw-r--r--windows/gui.c2
-rw-r--r--windows/login.c2
-rw-r--r--windows/thumbnail.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/windows/gui.c b/windows/gui.c
index f7d8c4ccd..048b50fd5 100644
--- a/windows/gui.c
+++ b/windows/gui.c
@@ -1821,7 +1821,7 @@ void gui_create_form_select_menu(struct browser_window *bw,
}
-void gui_cert_verify(const char *url, const struct ssl_cert_info *certs,
+void gui_cert_verify(nsurl *url, const struct ssl_cert_info *certs,
unsigned long num,
nserror (*cb)(bool proceed, void *pw), void *cbpw)
{
diff --git a/windows/login.c b/windows/login.c
index c1afab350..7a5e195f4 100644
--- a/windows/login.c
+++ b/windows/login.c
@@ -18,7 +18,7 @@
#include "desktop/401login.h"
-void gui_401login_open(const char *url, const char *realm,
+void gui_401login_open(nsurl *url, const char *realm,
nserror (*cb)(bool proceed, void *pw), void *cbpw)
{
cb(false, cbpw);
diff --git a/windows/thumbnail.c b/windows/thumbnail.c
index 4ce0aba1c..e87745bae 100644
--- a/windows/thumbnail.c
+++ b/windows/thumbnail.c
@@ -35,7 +35,7 @@
bool
thumbnail_create(hlcache_handle *content,
struct bitmap *bitmap,
- const char *url)
+ nsurl *url)
{
int width;
int height;
@@ -53,7 +53,7 @@ thumbnail_create(hlcache_handle *content,
bitmap->width;
LOG(("bitmap %p for url %s content %p width %d, height %d",
- bitmap, url, content, width, height));
+ bitmap, nsurl_access(url), content, width, height));
/* create two memory device contexts to put the bitmaps in */
bufferdc = CreateCompatibleDC(NULL);