From c07b18174b72767a224c1002120c4970fab71d42 Mon Sep 17 00:00:00 2001 From: Linas Vepstas Date: Mon, 31 May 1999 04:01:56 +0000 Subject: [PATCH] lesstif bug work-around git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1729 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/register/table-motif.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/register/table-motif.c b/src/register/table-motif.c index 205edeee75..92d52e947c 100644 --- a/src/register/table-motif.c +++ b/src/register/table-motif.c @@ -386,9 +386,12 @@ xaccCreateTable (Table *table, Widget parent, char * name) table->table_widget = reg; +#if (!defined (LesstifVersion)) || (87 < LesstifVersion) + /* Coredump when using lesstif 0.80 or earlier */ /* stop it from beeping */ XtVaGetValues (reg, XmNtextField, &textw, NULL); XtVaSetValues (textw, XmNverifyBell, False, NULL); +#endif /* LESSTIF_VERSION */ return (reg); }