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 typedef struct _scrollbar
{ {
widget widget; widget widget;
gboolean scrolling;
unsigned int length; unsigned int length;
unsigned int pos; unsigned int pos;
unsigned int pos_length; unsigned int pos_length;

View File

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