Mercurial > hg > xmms-sid
diff src/xs_curve.c @ 1002:ede5374e9294
Fix some warnings.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 21 Dec 2013 07:48:44 +0200 |
parents | 79f20427c99d |
children |
line wrap: on
line diff
--- a/src/xs_curve.c Sat Dec 21 07:45:40 2013 +0200 +++ b/src/xs_curve.c Sat Dec 21 07:48:44 2013 +0200 @@ -342,7 +342,7 @@ static gint xs_curve_graph_events(GtkWidget *widget, GdkEvent *event, XSCurve *curve) { GdkCursorType new_type = curve->cursor_type; - GdkEventButton *bevent; +// GdkEventButton *bevent; GtkWidget *w; gint i, width, height, x, y, tx, ty, cx, closest_point = 0, min_x; guint distance; @@ -393,7 +393,7 @@ case GDK_BUTTON_PRESS: gtk_grab_add(widget); - bevent = (GdkEventButton *) event; +// bevent = (GdkEventButton *) event; new_type = GDK_TCROSS; if (distance > CP_MIN_DISTANCE)