switch: Remove unused variable

This commit is contained in:
Timm Bäder 2017-12-04 12:52:50 +01:00
parent 2f12eb616a
commit 8619ff0744

View File

@ -222,10 +222,8 @@ gtk_switch_pan_gesture_pan (GtkGesturePan *gesture,
GtkWidget *widget = GTK_WIDGET (sw);
GtkSwitchPrivate *priv = gtk_switch_get_instance_private (sw);
int width;
int height;
width = gtk_widget_get_width (widget);
height = gtk_widget_get_height (widget);
if (direction == GTK_PAN_DIRECTION_LEFT)
offset = -offset;