[gtk+] scale: remove unused variable



commit cfa0339559ed7dcfd8e85db5df05b106db7ef36b
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Dec 15 12:16:09 2011 +0100

    scale: remove unused variable

 gtk/gtkscale.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c
index 4bf3d40..5ee24e2 100644
--- a/gtk/gtkscale.c
+++ b/gtk/gtkscale.c
@@ -710,12 +710,8 @@ void
 gtk_scale_set_has_origin (GtkScale *scale,
                           gboolean  has_origin)
 {
-  GtkScalePrivate *priv;
-
   g_return_if_fail (GTK_IS_SCALE (scale));
 
-  priv = scale->priv;
-
   has_origin = has_origin != FALSE;
 
   if (_gtk_range_get_has_origin (GTK_RANGE (scale)) != has_origin)



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