diff options
author | waker <wakeroid@gmail.com> | 2009-09-03 19:25:36 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-09-03 19:25:36 +0200 |
commit | 305f28b85f87160bb8df1763df72c3ff2d66ffea (patch) | |
tree | 0d155bbb4506063f812f2d4e693473cebcc9a51d /callbacks.c | |
parent | 8b4625c77d142ce79686d8d102140cfe965f9beb (diff) |
fixed seekbar inacuracy (was off by 8 pixels)
Diffstat (limited to 'callbacks.c')
-rw-r--r-- | callbacks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/callbacks.c b/callbacks.c index 222a961f..51f82d8b 100644 --- a/callbacks.c +++ b/callbacks.c @@ -1014,7 +1014,7 @@ on_seekbar_button_release_event (GtkWidget *widget, seekbar_moving = 0; seekbar_draw (widget); seekbar_expose (widget, 0, 0, widget->allocation.width, widget->allocation.height); - float time = event->x * playlist_current.duration / (widget->allocation.width-8); + float time = event->x * playlist_current.duration / (widget->allocation.width); if (time < 0) { time = 0; } |