[gtk+/theming] Cleanup unused variables



commit 6edbf8144701ecf926ed2a5786daa25fa47f24f8
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Mar 3 14:21:37 2011 -0500

    Cleanup unused variables

 gtk/gtkspinbutton.c |    2 +-
 gtk/gtkswitch.c     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index aa6c77f..ee8e1cf 100644
--- a/gtk/gtkspinbutton.c
+++ b/gtk/gtkspinbutton.c
@@ -992,7 +992,7 @@ gtk_spin_button_draw_arrow (GtkSpinButton   *spin_button,
   GtkWidget *widget;
   gdouble angle;
   gint panel_height;
-  gdouble size, width, height, actual_width, x, y;
+  gdouble size, width, height, x, y;
 
   g_return_if_fail (arrow_type == GTK_ARROW_UP || arrow_type == GTK_ARROW_DOWN);
 
diff --git a/gtk/gtkswitch.c b/gtk/gtkswitch.c
index bd72d5a..d6a6ea7 100644
--- a/gtk/gtkswitch.c
+++ b/gtk/gtkswitch.c
@@ -288,7 +288,7 @@ gtk_switch_get_preferred_width (GtkWidget *widget,
   GtkSwitchPrivate *priv = GTK_SWITCH (widget)->priv;
   GtkStyleContext *context;
   GtkStateFlags state;
-  GtkBorder padding, border;
+  GtkBorder padding;
   gint width, slider_width, focus_width, focus_pad;
   PangoLayout *layout;
   PangoRectangle logical_rect;



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