diff options
author | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-05-30 12:41:44 +0200 |
---|---|---|
committer | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-05-30 13:45:19 +0200 |
commit | 823a45f711b4d999bbf7cebf4fbcb5113b35b000 (patch) | |
tree | 3731d4e3c9ab3a6dc90d5fcd758986b76d26af0f /include/widgets | |
parent | 685d4f0e13bee9a23c647e637e2f7194353be501 (diff) |
scrollbar: Rework scrollbar_scroll_get_line to work on relative y
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'include/widgets')
-rw-r--r-- | include/widgets/scrollbar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/widgets/scrollbar.h b/include/widgets/scrollbar.h index c58ab5de..7bf97cc1 100644 --- a/include/widgets/scrollbar.h +++ b/include/widgets/scrollbar.h @@ -88,7 +88,7 @@ void scrollbar_set_max_value ( scrollbar *sb, unsigned int max ); * * Calculate the position of the click relative to the max value of bar */ -unsigned int scrollbar_scroll ( const scrollbar *sb, int y ); +guint scrollbar_scroll_get_line ( const scrollbar *sb, int y ); /*@}*/ #endif // ROFI_SCROLLBAR_H |