[Gnucash-changes] r13050 - gnucash/trunk/src/business/business-core - Um, there is no "PDEBUG()", only "DEBUG()". Oops.

Derek Atkins warlord at cvs.gnucash.org
Mon Jan 30 01:43:41 EST 2006


Author: warlord
Date: 2006-01-30 01:43:41 -0500 (Mon, 30 Jan 2006)
New Revision: 13050
Trac: http://svn.gnucash.org/trac/changeset/13050

Modified:
   gnucash/trunk/src/business/business-core/file/gnc-bill-term-xml-v2.c
   gnucash/trunk/src/business/business-core/gncBillTerm.c
Log:
Um, there is no "PDEBUG()", only "DEBUG()".  Oops.


Modified: gnucash/trunk/src/business/business-core/file/gnc-bill-term-xml-v2.c
===================================================================
--- gnucash/trunk/src/business/business-core/file/gnc-bill-term-xml-v2.c	2006-01-30 05:57:08 UTC (rev 13049)
+++ gnucash/trunk/src/business/business-core/file/gnc-bill-term-xml-v2.c	2006-01-30 06:43:41 UTC (rev 13050)
@@ -678,7 +678,7 @@
   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 @@
   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);
 

Modified: gnucash/trunk/src/business/business-core/gncBillTerm.c
===================================================================
--- gnucash/trunk/src/business/business-core/gncBillTerm.c	2006-01-30 05:57:08 UTC (rev 13049)
+++ gnucash/trunk/src/business/business-core/gncBillTerm.c	2006-01-30 06:43:41 UTC (rev 13050)
@@ -148,7 +148,7 @@
 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);



More information about the gnucash-changes mailing list