From d9e7d5810678c1470808c3de63f7bde412b3d17b Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 11 Oct 2012 11:20:02 +0100 Subject: Fix up ripples from urldb change. --- cocoa/gui.m | 4 ++-- cocoa/thumbnail.m | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'cocoa') diff --git a/cocoa/gui.m b/cocoa/gui.m index a76924b5c..94de3753b 100644 --- a/cocoa/gui.m +++ b/cocoa/gui.m @@ -310,7 +310,7 @@ void gui_launch_url(const char *url) struct ssl_cert_info; -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) { @@ -318,7 +318,7 @@ void gui_cert_verify(const char *url, const struct ssl_cert_info *certs, } -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/cocoa/thumbnail.m b/cocoa/thumbnail.m index fd287a523..7e524b754 100644 --- a/cocoa/thumbnail.m +++ b/cocoa/thumbnail.m @@ -26,8 +26,7 @@ #import "image/bitmap.h" /* In platform specific thumbnail.c. */ -bool thumbnail_create(struct hlcache_handle *content, struct bitmap *bitmap, - const char *url) +bool thumbnail_create(struct hlcache_handle *content, struct bitmap *bitmap, nsurl *url) { int bwidth = bitmap_get_width( bitmap ); int bheight = bitmap_get_height( bitmap ); -- cgit v1.2.3