[gnome-control-center] gvc-level-bar: define priv->scale as a GvcLevelScale



commit 5568917080f9c1fc8a805c6888f3b0f9673b5e6b
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu Dec 15 12:15:25 2011 +0100

    gvc-level-bar: define priv->scale as a GvcLevelScale
    
    That's cleaner and fix a sign-compare warning in gcc.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=666240

 panels/sound/gvc-level-bar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/sound/gvc-level-bar.c b/panels/sound/gvc-level-bar.c
index 6cd421a..320da69 100644
--- a/panels/sound/gvc-level-bar.c
+++ b/panels/sound/gvc-level-bar.c
@@ -65,7 +65,7 @@ struct GvcLevelBarPrivate
         GtkOrientation orientation;
         GtkAdjustment *peak_adjustment;
         GtkAdjustment *rms_adjustment;
-        int            scale;
+        GvcLevelScale  scale;
         gdouble        peak_fraction;
         gdouble        rms_fraction;
         gdouble        max_peak;



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