mirror of
https://github.com/tstellar/bygfoot.git
synced 2024-12-16 18:29:21 +01:00
Minor changes for 1.9.5 compatibility
This commit is contained in:
parent
b0f7a19f1d
commit
70f3d94ea0
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user