From cca3be7c81582b1ad92156d81f8c00ec76daf19f Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Sun, 11 Oct 2020 09:29:34 +0800 Subject: [PATCH] [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 --- gnucash/gnome/window-autoclear.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnucash/gnome/window-autoclear.c b/gnucash/gnome/window-autoclear.c index 637cd146ab..3f7055c987 100644 --- a/gnucash/gnome/window-autoclear.c +++ b/gnucash/gnome/window-autoclear.c @@ -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