summaryrefslogtreecommitdiff
path: root/gtk/gtkcurve.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkcurve.c')
-rw-r--r--gtk/gtkcurve.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkcurve.c b/gtk/gtkcurve.c
index c96c3658d9..2e691b1d31 100644
--- a/gtk/gtkcurve.c
+++ b/gtk/gtkcurve.c
@@ -427,7 +427,6 @@ gtk_curve_graph_events (GtkWidget *widget, GdkEvent *event, GtkCurve *c)
{
GdkCursorType new_type = c->cursor_type;
gint i, src, dst, leftbound, rightbound;
- GdkEventButton *bevent;
GdkEventMotion *mevent;
GtkWidget *w;
gint tx, ty;
@@ -481,7 +480,6 @@ gtk_curve_graph_events (GtkWidget *widget, GdkEvent *event, GtkCurve *c)
case GDK_BUTTON_PRESS:
gtk_grab_add (widget);
- bevent = (GdkEventButton *) event;
new_type = GDK_TCROSS;
switch (c->curve_type)