background: Don't assert() for typos in XML files
https://bugzilla.gnome.org/show_bug.cgi?id=646250
This commit is contained in:
parent
7280f14460
commit
e46c3267ba
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ enum_string_to_value (GType type,
|
||||||
}
|
}
|
||||||
g_warning ("Unhandled value '%s' for enum '%s'",
|
g_warning ("Unhandled value '%s' for enum '%s'",
|
||||||
string, G_FLAGS_CLASS_TYPE_NAME (eclass));
|
string, G_FLAGS_CLASS_TYPE_NAME (eclass));
|
||||||
g_assert_not_reached ();
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return value->value;
|
return value->value;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue