mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Um, there is no "PDEBUG()", only "DEBUG()". Oops.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13050 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
8a0f2cf7e3
commit
ff3e769845
@ -678,7 +678,7 @@ billterm_scrub (QofBook *book)
|
||||
GncBillTerm *parent, *term;
|
||||
GHashTable *ht = g_hash_table_new(g_direct_hash, g_direct_equal);
|
||||
|
||||
PDEBUG("scrubbing billterms...");
|
||||
DEBUG("scrubbing billterms...");
|
||||
qof_object_foreach (GNC_ID_INVOICE, book, billterm_scrub_invoices, ht);
|
||||
qof_object_foreach (GNC_ID_CUSTOMER, book, billterm_scrub_cust, ht);
|
||||
qof_object_foreach (GNC_ID_VENDOR, book, billterm_scrub_vendor, ht);
|
||||
@ -743,13 +743,13 @@ gnc_billterm_xml_find_or_create(QofBook *book, GUID *guid)
|
||||
g_return_val_if_fail(book, NULL);
|
||||
g_return_val_if_fail(guid, NULL);
|
||||
term = gncBillTermLookup(book, guid);
|
||||
PDEBUG("looking for billterm %s, found %p", guid_to_string(guid), term);
|
||||
DEBUG("looking for billterm %s, found %p", guid_to_string(guid), term);
|
||||
if (!term) {
|
||||
term = gncBillTermCreate(book);
|
||||
gncBillTermBeginEdit(term);
|
||||
gncBillTermSetGUID(term, guid);
|
||||
gncBillTermCommitEdit(term);
|
||||
PDEBUG("Created term: %p", term);
|
||||
DEBUG("Created term: %p", term);
|
||||
} else
|
||||
gncBillTermDecRef(term);
|
||||
|
||||
|
@ -148,7 +148,7 @@ GncBillTerm * gncBillTermCreate (QofBook *book)
|
||||
void gncBillTermDestroy (GncBillTerm *term)
|
||||
{
|
||||
if (!term) return;
|
||||
PDEBUG("destroying bill term %s (%p)",
|
||||
DEBUG("destroying bill term %s (%p)",
|
||||
guid_to_string(qof_instance_get_guid(&term->inst)), term);
|
||||
term->inst.do_free = TRUE;
|
||||
qof_collection_mark_dirty (term->inst.entity.collection);
|
||||
|
Loading…
Reference in New Issue
Block a user