[Gnucash-changes] Add #define for deprecated function.

David Hampton hampton at cvs.gnucash.org
Fri Jul 1 23:30:51 EDT 2005


Log Message:
-----------
Add #define for deprecated function.

Tags:
----
gnucash-gnome2-dev

Modified Files:
--------------
    gnucash/src/business/business-core:
        gncEmployee.h

Revision Data
-------------
Index: gncEmployee.h
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/business/business-core/gncEmployee.h,v
retrieving revision 1.8.4.7
retrieving revision 1.8.4.8
diff -Lsrc/business/business-core/gncEmployee.h -Lsrc/business/business-core/gncEmployee.h -u -r1.8.4.7 -r1.8.4.8
--- src/business/business-core/gncEmployee.h
+++ src/business/business-core/gncEmployee.h
@@ -105,6 +105,7 @@
 
 /** deprecated routines */
 #define gncEmployeeGetGUID(E) qof_entity_get_guid(QOF_ENTITY(E))
+#define gncEmployeeGetBook(E) qof_instance_get_book(QOF_INSTANCE(E))
 #define gncEmployeeRetGUID(E) (E ? *(qof_entity_get_guid(QOF_ENTITY(E))) : *(guid_null()))
 #define gncEmployeeLookupDirect(G,B) gncEmployeeLookup((B),&(G))
 


More information about the gnucash-changes mailing list