diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-07-10 16:42:52 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2019-07-10 16:42:52 +0100 |
commit | c2fa6af0ff4098501560bd48f78dfbf9173f4021 (patch) | |
tree | ffceab0862b8c5e59c74a5ef26b38e051ec0ce50 /content/content.h | |
parent | f46b77160a0244b83ccd486df82ce14f7a4df59e (diff) | |
download | netsurf-c2fa6af0ff4098501560bd48f78dfbf9173f4021.tar.gz netsurf-c2fa6af0ff4098501560bd48f78dfbf9173f4021.tar.bz2 |
make content close check the content status itself
make content handler open and close return error status
Diffstat (limited to 'content/content.h')
-rw-r--r-- | content/content.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |