lesstif bug work-around

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1729 57a11ea4-9604-0410-9ed3-97b8803252fd
zzzoldfeatures/xacc-12-patch
Linas Vepstas 27 years ago
parent 3e33c26a60
commit c07b18174b

@ -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);
}

Loading…
Cancel
Save