stop that annoying beeping

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1164 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1998-09-13 22:12:00 +00:00
parent 567e2e1149
commit e0ce1319ca

View File

@ -570,7 +570,7 @@ xaccCreateTable (Table *table, Widget parent, char * name)
CellBlock *curs;
unsigned char * alignments;
short * widths;
Widget reg;
Widget reg, textw;
int num_header_rows = 0;
if (!table) return 0;
@ -628,6 +628,10 @@ xaccCreateTable (Table *table, Widget parent, char * name)
table->table_widget = reg;
/* stop it from beeping */
XtVaGetValues (reg, XmNtextField, &textw, NULL);
XtVaSetValues (textw, XmNverifyBell, False, NULL);
return (reg);
}