Skip to content
  • Andrés G. Aragoneses's avatar
    GSettings: avoid crashing when extracting schemas with default empty array · c635f65a
    Andrés G. Aragoneses authored
    If the schema was an array with an empty list as default value, the
    gsettings-schema-extractor tool would crash without this change to
    properly guess the inner type without depending on inspecting the first
    element.
    
    The first use case in Banshee sources is the current_filters key inside
    the sources namespace (DatabaseSource class). Plus, a new unit test is
    added too to GSettingsSchemaExtractorTests.
    c635f65a