From 70f3d94ea0514f672e8f45a1610907fe563804f2 Mon Sep 17 00:00:00 2001 From: idcarlos Date: Sun, 9 Apr 2006 15:13:42 +0000 Subject: [PATCH] Minor changes for 1.9.5 compatibility --- src/xml_loadsave_misc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xml_loadsave_misc.c b/src/xml_loadsave_misc.c index 7ab3ad09..b5635896 100644 --- a/src/xml_loadsave_misc.c +++ b/src/xml_loadsave_misc.c @@ -38,7 +38,6 @@ enum XmlLoadSaveCountryTags { TAG_MISC = TAG_START_MISC, - TAG_MISC_VERSION, TAG_MISC_RATING, TAG_MISC_SEASON, TAG_MISC_WEEK, @@ -49,6 +48,7 @@ enum XmlLoadSaveCountryTags TAG_MISC_BET1, TAG_MISC_BET_FIX_ID, TAG_MISC_BET_ODD, + TAG_MISC_VERSION, TAG_END }; @@ -139,7 +139,7 @@ xml_loadsave_misc_end_element (GMarkupParseContext *context, void xml_loadsave_misc_text (GMarkupParseContext *context, const gchar *text, - gsize text_len, + gsize text_len, gpointer user_data, GError **error) { @@ -193,7 +193,7 @@ xml_loadsave_misc_read(const gchar *dirname, const gchar *basename) sprintf(file, "%s%s%s___misc.xml", dirname, G_DIR_SEPARATOR_S, basename); - context = + context = g_markup_parse_context_new(&parser, 0, NULL, NULL); if(!g_file_get_contents(file, &file_contents, &length, &error))