mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix to compile on systems with glib < 2.9.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13787 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2006-04-15 Andreas Köhler <andi5.py@gmx.net>
|
||||
|
||||
* src/gnome-utils/druid-gnc-xml-import.c: Fix to compile on
|
||||
systems with glib < 2.9.
|
||||
|
||||
2006-04-15 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/engine/Account.c:
|
||||
|
||||
@@ -512,8 +512,7 @@ ambiguous_list_insert (gchar *byte_sequence, GList *conv_list,
|
||||
for (iter = g_list_last (conv_list); iter; iter = iter->prev)
|
||||
amb->conv_list = g_list_prepend (amb->conv_list, conv_copy (iter->data));
|
||||
|
||||
data->ambiguous_list = g_list_insert_sorted_with_data (
|
||||
data->ambiguous_list, amb, (GCompareDataFunc) ambiguous_cmp, data);
|
||||
data->ambiguous_list = g_list_prepend (data->ambiguous_list, amb);
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -625,6 +624,8 @@ gxi_check_file (GncXmlImportData *data)
|
||||
/* sort ambiguous words */
|
||||
g_hash_table_foreach (data->ambiguous_ht, (GHFunc)ambiguous_list_insert,
|
||||
data);
|
||||
data->ambiguous_list = g_list_sort_with_data (
|
||||
data->ambiguous_list, (GCompareDataFunc) ambiguous_cmp, data);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user