Minor code cleanup - remove includes from header if not necessary.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20270 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2011-02-10 21:48:58 +00:00
parent 99a4130043
commit deec6809aa
4 changed files with 5 additions and 6 deletions

View File

@ -24,6 +24,7 @@
#include "config.h"
#include "gnc-entry-quickfill.h"
#include "engine/gnc-event.h"
#include "engine/gncEntry.h"
/* This static indicates the debugging module that this .o belongs to. */
static QofLogModule log_module = GNC_MOD_REGISTER;
@ -156,12 +157,11 @@ QuickFill * gnc_get_shared_entry_desc_quickfill (QofBook *book,
qfb = qof_book_get_data (book, key);
if (qfb)
if (!qfb)
{
g_assert(use_invoices == qfb->using_invoices);
return qfb->qf;
qfb = build_shared_quickfill(book, key, use_invoices);
}
qfb = build_shared_quickfill(book, key, use_invoices);
g_assert(use_invoices == qfb->using_invoices);
return qfb->qf;
}

View File

@ -31,7 +31,6 @@
#define GNC_ENTRY_QUICKFILL_H
#include "qof.h"
#include "engine/gncEntry.h"
#include "app-utils/QuickFill.h"
/** Create/fetch a quickfill GncEntry description strings.

View File

@ -47,6 +47,7 @@
#include "swig-runtime.h"
#include "guile-mappings.h"
#include "engine-helpers.h"
#include "app-utils/QuickFill.h"
#define DIALOG_TRANSFER_CM_CLASS "dialog-transfer"

View File

@ -25,7 +25,6 @@
#define DIALOG_TRANSFER_H
#include "Account.h"
#include "QuickFill.h"
typedef struct _xferDialog XferDialog;