From c2fa6af0ff4098501560bd48f78dfbf9173f4021 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 10 Jul 2019 16:42:52 +0100 Subject: make content close check the content status itself make content handler open and close return error status --- content/content.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content/content.h') diff --git a/content/content.h b/content/content.h index 2cbc9e3dd..2d0646dab 100644 --- a/content/content.h +++ b/content/content.h @@ -278,10 +278,10 @@ void content_mouse_action(struct hlcache_handle *h, struct browser_window *bw, bool content_keypress(struct hlcache_handle *h, uint32_t key); -void content_open(struct hlcache_handle *h, struct browser_window *bw, +nserror content_open(struct hlcache_handle *h, struct browser_window *bw, struct content *page, struct object_params *params); -void content_close(struct hlcache_handle *h); +nserror content_close(struct hlcache_handle *h); void content_clear_selection(struct hlcache_handle *h); -- cgit v1.2.3