mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
anti core dump fixes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@993 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
921c888915
commit
b7c8d0fdfb
@ -721,6 +721,7 @@ xaccRefreshTableGUI (Table * table)
|
||||
|
||||
printf("xaccRefreshTableGUI(%p)\n", table);
|
||||
if (!table) return;
|
||||
if (!(table->table_widget)) return;
|
||||
|
||||
/* The 0'th row of the handlers is defined as the header */
|
||||
curs = table->handlers[0][0];
|
||||
|
@ -625,6 +625,8 @@ SetupColorTable (Table *table)
|
||||
XColor * colors;
|
||||
int i, ncolors;
|
||||
|
||||
if (!(table->table_widget)) return;
|
||||
|
||||
/* if already initialized, do nothing */
|
||||
if (0 != table->ncolors) return;
|
||||
|
||||
@ -769,6 +771,8 @@ RefreshColors (Table * table, int from_row, int to_row, int from_col, int to_col
|
||||
void
|
||||
xaccRefreshTableGUI (Table * table)
|
||||
{
|
||||
if (!table) return;
|
||||
if (!(table->table_widget)) return;
|
||||
|
||||
{int i;
|
||||
printf (" refresh numphysrows=%d numphyscols=%d =========================\n",
|
||||
|
Loading…
Reference in New Issue
Block a user