diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-04-26 12:50:16 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-04-26 12:50:16 +0100 |
commit | 6a36d4ec2b6fd8ac52da2c3883b4776aec14ba2d (patch) | |
tree | d11c9bcad0cc76d8c1b8950e52066d694c1dab84 /desktop/scrollbar.h | |
parent | 69cea38f41b411ca9e55db365cf94339f4be891c (diff) | |
download | netsurf-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.h | 6 |
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); |