[gtk+] GtkSwitch: remove unused assignment



commit 22bd23adf3f7d1a50998b60385e30578989e8cda
Author: Paolo Borelli <pborelli gnome org>
Date:   Sun Aug 3 10:17:49 2014 +0200

    GtkSwitch: remove unused assignment

 gtk/gtkswitch.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkswitch.c b/gtk/gtkswitch.c
index 9ba4b65..e7f010d 100644
--- a/gtk/gtkswitch.c
+++ b/gtk/gtkswitch.c
@@ -147,9 +147,6 @@ gtk_switch_multipress_gesture_released (GtkGestureMultiPress *gesture,
 {
   GtkSwitchPrivate *priv = sw->priv;
   GdkEventSequence *sequence;
-  GtkAllocation allocation;
-
-  gtk_widget_get_allocation (GTK_WIDGET (sw), &allocation);
 
   sequence = gtk_gesture_single_get_current_sequence (GTK_GESTURE_SINGLE (gesture));
 


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