[gtk+] switch: Remove unused variable



commit 8619ff07446ac10ffcb50b5566a396dae4dc8378
Author: Timm Bäder <mail baedert org>
Date:   Mon Dec 4 12:52:50 2017 +0100

    switch: Remove unused variable

 gtk/gtkswitch.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkswitch.c b/gtk/gtkswitch.c
index da56ec0..bd6f8b0 100644
--- a/gtk/gtkswitch.c
+++ b/gtk/gtkswitch.c
@@ -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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]