mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
misc cleanup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@967 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
b54c46c335
commit
17df37ff51
@ -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"
|
||||
|
@ -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);
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -61,6 +61,7 @@ void prepare_app ( void );
|
||||
/** GLOBALS *********************************************************/
|
||||
extern char *helpPath;
|
||||
extern GtkWidget *app;
|
||||
extern AccountGroup *topgroup;
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user