summaryrefslogtreecommitdiff
path: root/desktop/scrollbar.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-04-26 12:50:16 +0100
committerVincent Sanders <vince@kyllikki.org>2016-04-26 12:50:16 +0100
commit6a36d4ec2b6fd8ac52da2c3883b4776aec14ba2d (patch)
treed11c9bcad0cc76d8c1b8950e52066d694c1dab84 /desktop/scrollbar.h
parent69cea38f41b411ca9e55db365cf94339f4be891c (diff)
downloadnetsurf-6a36d4ec2b6fd8ac52da2c3883b4776aec14ba2d.tar.gz
netsurf-6a36d4ec2b6fd8ac52da2c3883b4776aec14ba2d.tar.bz2
remove all core usage of warn_user API
Diffstat (limited to 'desktop/scrollbar.h')
-rw-r--r--desktop/scrollbar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/scrollbar.h b/desktop/scrollbar.h
index bfe90d9b5..d277be26c 100644
--- a/desktop/scrollbar.h
+++ b/desktop/scrollbar.h
@@ -73,10 +73,10 @@ typedef void(*scrollbar_client_callback)(void *client_data,
* \param client_data data for the client callback
* \param client_callback client callback for scrollbar events
* \param s updated to point at the newly created scrollbar
- * \return true if scrollbar has been created succesfully or false on
- * memory exhaustion
+ * \return NSERROR_OK and s updated if scrollbar has been created
+ * succesfully or eror code and s set to NULL on faliure;
*/
-bool scrollbar_create(bool horizontal, int length, int full_size,
+nserror scrollbar_create(bool horizontal, int length, int full_size,
int visible_size, void *client_data,
scrollbar_client_callback client_callback,
struct scrollbar **s);