mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
99a4130043
commit
deec6809aa
@ -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;
|
||||
}
|
||||
|
@ -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.
|
||||
|
@ -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"
|
||||
|
@ -25,7 +25,6 @@
|
||||
#define DIALOG_TRANSFER_H
|
||||
|
||||
#include "Account.h"
|
||||
#include "QuickFill.h"
|
||||
|
||||
typedef struct _xferDialog XferDialog;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user