File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,9 @@ matrixview_grid_refresh(Matrixview *matrixview)
205205{
206206 Matrix * matrix = MATRIX (VOBJECT (matrixview )-> iobject );
207207
208+ Tslider * tslider ;
209+ const char * label ;
210+
208211 int i ;
209212 i = 0 ;
210213 for (GSList * p = matrixview -> items ; p ; p = p -> next , i ++ ) {
@@ -217,14 +220,13 @@ matrixview_grid_refresh(Matrixview *matrixview)
217220 break ;
218221
219222 case MATRIX_DISPLAY_SLIDER :
220- Tslider * tslider = TSLIDER (item );
223+ tslider = TSLIDER (item );
221224 tslider -> value = matrix -> value .coeff [i ];
222225 tslider -> svalue = matrix -> value .coeff [i ];
223226 tslider_changed (TSLIDER (item ));
224227 break ;
225228
226229 case MATRIX_DISPLAY_TOGGLE :
227- const char * label ;
228230 switch ((int ) matrix -> value .coeff [i ]) {
229231 case 0 :
230232 label = "0" ;
You can’t perform that action at this time.
0 commit comments