misc cleanup

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@967 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1998-08-09 04:47:53 +00:00
parent b54c46c335
commit 17df37ff51
4 changed files with 3 additions and 22 deletions

View File

@ -23,6 +23,7 @@
#include "MainWindow.h"
#include "MenuBar.h"
#include "Add_Dialog.h"
#include "main.h"
#include "messages.h"
#include "version.h"
#include "RegWindow.h"

View File

@ -567,7 +567,6 @@ regWindowLedger(Account *lead_acc, Account **acclist, int ledger_type)
/* The CreateTable will do the actual gui init,
* returning a widget */
//reg = xaccCreateTable (regData->ledger->table, frame, accRes[ledger_type]);
reg = xaccCreateTable (regData->ledger->table, regData->dialog);
regData->reg = reg;
@ -800,8 +799,6 @@ void regRefresh (RegWindow *regData)
* new splits and get them into the system.
*/
/* hack alert -- should be recomputing the list of splits */
/* ???? */
xaccBRLoadRegister (regData->ledger,
xaccAccountGetSplitList (regData->leader),
regData->leader);

View File

@ -42,6 +42,7 @@
/** GLOBALS *********************************************************/
AccountGroup *topgroup = 0x0;
char *helpPath = NULL;
GtkWidget *toplevel;
GtkWidget *filebox;
@ -51,25 +52,6 @@ char *datafile = NULL;
GtkWidget *app;
/* The names of the different types of accounts. For resource
* specification. Must match the enums in Account.h */
gchar *accRes[] ={
"bank",
"cash",
"asset",
"credit",
"liability",
"stock",
"mutual",
"income",
"expense",
"equity",
"checking",
"savings",
"creditline",
};
void
file_ok_sel (GtkWidget *w, GtkFileSelection *fs)
{

View File

@ -61,6 +61,7 @@ void prepare_app ( void );
/** GLOBALS *********************************************************/
extern char *helpPath;
extern GtkWidget *app;
extern AccountGroup *topgroup;
#endif