diff --git a/src/register/table-allgui.c b/src/register/table-allgui.c index 9c03ae3ffd..3a491e33b4 100644 --- a/src/register/table-allgui.c +++ b/src/register/table-allgui.c @@ -38,6 +38,7 @@ #ifdef KDE #define TRUE (1==1) +#define FALSE (0==1) #endif static void xaccFreeTableEntries (Table * table); diff --git a/src/register/table-qt.cpp b/src/register/table-qt.cpp index c33fce1c52..3c0a636249 100755 --- a/src/register/table-qt.cpp +++ b/src/register/table-qt.cpp @@ -53,11 +53,6 @@ doRefreshCursorGUI (Table * table, CellBlock *curs, int from_row, int from_col) { } -void -xaccCreateCursor (Table *table, CellBlock *curs) -{ -} - void xaccRefreshTableGUI (Table * table) { } @@ -285,10 +280,15 @@ doRefreshCursorGUI (Table * table, CellBlock *curs, int from_row, int from_col) } } - #endif +/* ==================================================== */ + +int gnc_table_column_width(Table *table, const int col) +{ + return 0; } -/* ================== end of file ======================= */ +} +/* ================== end of file ======================= */ diff --git a/src/register/table-qt.h b/src/register/table-qt.h index dbcbd2910e..7a1d807800 100755 --- a/src/register/table-qt.h +++ b/src/register/table-qt.h @@ -31,7 +31,8 @@ #ifndef __XACC_TABLE_QT_H__ #define __XACC_TABLE_QT_H__ -#define TABLE_PRIVATE_DATA +#define TABLE_PRIVATE_DATA \ + void *table_widget; #define TABLE_PRIVATE_DATA_INIT(table) {}