* dialog-account.[ch] -- add "destroy-window" callback registration.

remove dependencies on register/ledger
	* split-register.c -- register "destroy-window" callback


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7357 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2002-10-19 18:56:28 +00:00
parent 1baf0a6e4d
commit cb667129b0
3 changed files with 9 additions and 0 deletions

View File

@ -12,6 +12,10 @@
prove to myself that there is no real dependency on src/gnome
by removing top-level.h and window-main.h and recompiling....
no warnings were output by the compiler.
* dialog-account.[ch] -- add "destroy-window" callback registration.
remove dependencies on register/ledger
* split-register.c -- register "destroy-window" callback
2002-10-19 Christian Stimming <stimming@tuhh.de>

View File

@ -39,6 +39,7 @@ AM_CFLAGS = \
-I${top_srcdir}/src/gnc-module \
-I${top_srcdir}/src/app-utils \
-I${top_srcdir}/src/gnome-utils \
-I${top_srcdir}/src/dialog-account \
-I${top_srcdir}/src/register/register-core \
-I${top_srcdir}/src/register/register-gnome \
${GUILE_INCS} \

View File

@ -127,6 +127,7 @@
#include "split-register-model.h"
#include "split-register-model-save.h"
#include "table-allgui.h"
#include "dialog-account.h"
/** static variables ******************************************************/
@ -2113,6 +2114,9 @@ gnc_split_register_init (SplitRegister *reg,
TableModel *model;
TableControl *control;
/* Register 'destroy' callback */
gnc_ui_register_account_destroy_callback (gnc_ledger_display_destroy_by_account);
reg->sr_info = NULL;
reg->type = type;