Unbroke loading old lang files

master
Yevgen Muntyan 2007-07-13 14:45:36 -05:00
parent 566a11fcbe
commit 9190d9faab
2 changed files with 2 additions and 1 deletions

View File

@ -6142,7 +6142,7 @@ _gtk_source_context_data_finish_parse (GtkSourceContextData *ctx_data,
struct ResolveRefData data;
g_return_val_if_fail (ctx_data != NULL, FALSE);
g_return_val_if_fail (error != NULL && *error == NULL, FALSE);
g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
while (overrides != NULL)
{

View File

@ -777,6 +777,7 @@ _gtk_source_language_file_parse_version1 (GtkSourceLanguage *language,
if (esc_char != 0)
_gtk_source_context_data_set_escape_char (ctx_data, esc_char);
_gtk_source_context_data_finish_parse (ctx_data, NULL, NULL);
_gtk_source_language_define_language_styles (language);
xmlFreeDoc (doc);