summaryrefslogtreecommitdiff
path: root/Docs
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-03-11 22:08:57 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-03-11 22:08:57 +0000
commit9cf51227979c84a9ed74c339290c3f65f0d58c4f (patch)
treea0c2a9fd6b328eca1dfbdf17989b5ef175427124 /Docs
parent58c217cbeeca8bac6c5edd3d156b1f5bbefed3d3 (diff)
downloadnetsurf-9cf51227979c84a9ed74c339290c3f65f0d58c4f.tar.gz
netsurf-9cf51227979c84a9ed74c339290c3f65f0d58c4f.tar.bz2
Content handlers should not call warn_user - they should broadcast the
error using content_broadcast and leave it to the content owner(s) to decide what to do about it. Only use warn_user for top-level contents. svn path=/trunk/netsurf/; revision=3204
Diffstat (limited to 'Docs')
-rw-r--r--Docs/01-content4
1 files changed, 2 insertions, 2 deletions
diff --git a/Docs/01-content b/Docs/01-content
index 3f265fa3e..c6e77424f 100644
--- a/Docs/01-content
+++ b/Docs/01-content
@@ -85,8 +85,8 @@ type_close():: called when the window containing the content is closed.
Optional.
If an error occurs in type_create(), type_process_data(), type_convert(),
-CONTENT_MSG_ERROR must be broadcast and false returned. Optionally use
-warn_user() for serious errors. The _destroy function will be called soon after.
+CONTENT_MSG_ERROR must be broadcast and false returned. The _destroy function
+will be called soon after.
Memory allocation
-----------------