mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-25 18:30:23 -06:00
[window-autoclear.c] don't use g_str_hash on a double
use g_double_hash which is present since glib-2.22 now that minimum glib is 2.56
This commit is contained in:
parent
44486a72a3
commit
cca3be7c81
@ -107,7 +107,7 @@ ght_gnc_numeric_hash(gconstpointer v1)
|
||||
{
|
||||
gnc_numeric n1 = *(gnc_numeric *)v1;
|
||||
gdouble d1 = gnc_numeric_to_double(n1);
|
||||
return g_str_hash(&d1);
|
||||
return g_double_hash (&d1);
|
||||
}
|
||||
|
||||
typedef struct _sack_foreach_data_t
|
||||
|
Loading…
Reference in New Issue
Block a user