From 47f0959f466f75c97240e6dc88276cd9c50bcced Mon Sep 17 00:00:00 2001 From: Robert Fewell <14uBobIT@gmail.com> Date: Fri, 26 Jun 2020 15:24:46 +0100 Subject: [PATCH] Disable showing glyphs for associations on MacOS Currently there are problems showing glyphs on MacOS so always return FALSE for the gcn_assoc_cell_set_use_glyphs for MacOS --- gnucash/register/register-core/assoccell.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnucash/register/register-core/assoccell.c b/gnucash/register/register-core/assoccell.c index c91a5d640b..1fb212afb4 100644 --- a/gnucash/register/register-core/assoccell.c +++ b/gnucash/register/register-core/assoccell.c @@ -263,6 +263,9 @@ gnc_assoc_cell_set_read_only (AssocCell *cell, gboolean read_only) void gnc_assoc_cell_set_use_glyphs (AssocCell *cell) { +#ifdef MAC_INTEGRATION + cell->use_glyphs = FALSE; +#else gboolean use_glyphs = TRUE; gchar *test_text; GtkWidget *label; @@ -286,4 +289,5 @@ gnc_assoc_cell_set_use_glyphs (AssocCell *cell) g_free (test_text); cell->use_glyphs = use_glyphs; +#endif }