       if @model.isMini()
         return
       for gutter in @model.getGutters()
-        isVisible = gutter.isVisible()
-        if gutter.name is 'line-number'
-          isVisible = isVisible && @showLineNumbers
+        isVisible = @gutterIsVisible(gutter)
         @state.gutters.sortedDescriptions.push({gutter, visible: isVisible})
 
   # Updates the decoration state for the gutter with the given gutterName.

            height: @lineHeight * decorationRange.getRowCount()
            item: decoration.getProperties().item
            class: decoration.getProperties().class

  updateLineNumbersState: -> @batch "shouldUpdateLineNumbersState", ->
    return unless @startRow? and @endRow? and @lineHeight?

        @state.gutters.customDecorations[gutterName] = {}
        gutterState = @state.gutters.customDecorations[gutterName]

        return if !@gutterIsVisible(gutter)

        relevantDecorations = @customGutterDecorationsInRange(gutterName, @startRow, @endRow - 1)
        return if !relevantDecorations

