From 33dcb12eaea6ab174afb84fdf9feb6b10c5376bc Mon Sep 17 00:00:00 2001 From: Linas Vepstas Date: Wed, 25 Mar 1998 08:54:31 +0000 Subject: [PATCH] minor cleanup git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@730 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/register/basiccell.h | 2 +- src/register/table-motif.h | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/register/basiccell.h b/src/register/basiccell.h index cf4d051ba0..b23cfcc302 100644 --- a/src/register/basiccell.h +++ b/src/register/basiccell.h @@ -153,7 +153,7 @@ struct _BasicCell { const char *old, const char *add, const char *new); - const char * (*leave_cell) (struct _BasicCell *, + const char * (*leave_cell) (BasicCell *, const char * current); /* private, GUI-specific callbacks */ diff --git a/src/register/table-motif.h b/src/register/table-motif.h index 636ff6f1cd..3a04b77ba1 100644 --- a/src/register/table-motif.h +++ b/src/register/table-motif.h @@ -58,7 +58,9 @@ struct _Locator { typedef struct _Locator Locator; -typedef struct _Table { +typedef struct _Table Table; + +struct _Table { /* The number of "physical" rows/cols is the number * of displayed one-line gui rows/cols in the table. @@ -81,7 +83,7 @@ typedef struct _Table { /* callback that is called when the cursor is moved */ /* hack alert -- this should be a callback list, actually */ - void (*move_cursor) (struct _Table *, void *client_data); + void (*move_cursor) (Table *, void *client_data); void * client_data; /* string values for each cell, @@ -118,7 +120,7 @@ typedef struct _Table { Widget table_widget; /* the XbaeMatrix */ Widget next_tab_group; /* where to traverse in the end */ -} Table; +}; Table * xaccMallocTable (void);