From 6a36d4ec2b6fd8ac52da2c3883b4776aec14ba2d Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 26 Apr 2016 12:50:16 +0100 Subject: remove all core usage of warn_user API --- desktop/scrollbar.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'desktop/scrollbar.h') 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); -- cgit v1.2.3