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
This commit is contained in:
Guillaume Desmottes 2011-12-15 12:15:25 +01:00 committed by Bastien Nocera
parent 7923b995b7
commit 5568917080

View file

@ -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;