scrollbar: Drop unused variable

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
Quentin Glidic 2017-05-30 12:11:17 +02:00
parent 2f29dc0437
commit 6a750669d7
No known key found for this signature in database
GPG Key ID: AC203F96E2C34BB7
2 changed files with 0 additions and 3 deletions

View File

@ -43,7 +43,6 @@
typedef struct _scrollbar
{
widget widget;
gboolean scrolling;
unsigned int length;
unsigned int pos;
unsigned int pos_length;

View File

@ -70,10 +70,8 @@ static gboolean scrollbar_trigger_action ( widget *wid, MouseBindingMouseDefault
switch ( action )
{
case MOUSE_CLICK_DOWN:
sb->scrolling = TRUE;
return TRUE;
case MOUSE_CLICK_UP:
sb->scrolling = FALSE;
/* FIXME: scoll
scrollbar_scroll(sb, y);
*/