From 6c1d730fc2a0fdfbab2522edca7426eafbdd9f73 Mon Sep 17 00:00:00 2001 From: Linas Vepstas Date: Mon, 22 Nov 1999 07:57:22 +0000 Subject: [PATCH] patches from Peter Pointner Date: Sat, 13 Nov 1999 22:43:54 +0100 (MET) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1970 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/register/table-allgui.c | 1 + src/register/table-qt.cpp | 14 +++++++------- src/register/table-qt.h | 3 ++- 3 files changed, 10 insertions(+), 8 deletions(-) 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) {}