geometry: Use default outline by default

This commit is contained in:
Dorota Czaplejewicz
2019-08-02 14:05:21 +00:00
parent 5abe6ed6be
commit 45f9353164
2 changed files with 30 additions and 34 deletions

View File

@ -417,11 +417,7 @@ geometry_start_element_callback (GMarkupParseContext *pcontext,
attribute = get_attribute (attribute_names, attribute_values,
"oref");
if (attribute == NULL) {
g_set_error (error,
G_MARKUP_ERROR,
G_MARKUP_ERROR_MISSING_ATTRIBUTE,
"no \"oref\" attribute for \"key\"");
return;
attribute = g_strdup("default");
}
g_hash_table_insert (data->key_oref_hash,
data->key,