r14688 - gnucash/trunk - Move #include "qofla-dir.h" into qofsession.c because this is the only place where it is used.

Christian Stimming cstim at cvs.gnucash.org
Thu Aug 17 06:43:21 EDT 2006


Author: cstim
Date: 2006-08-17 06:43:19 -0400 (Thu, 17 Aug 2006)
New Revision: 14688
Trac: http://svn.gnucash.org/trac/changeset/14688

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/lib/libqof/qof/qof.h
   gnucash/trunk/lib/libqof/qof/qofsession.c
Log:
Move #include "qofla-dir.h" into qofsession.c because this is the only place where it is used.
Removes an often regenerated dependency from qof.h.

Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2006-08-17 01:06:37 UTC (rev 14687)
+++ gnucash/trunk/ChangeLog	2006-08-17 10:43:19 UTC (rev 14688)
@@ -1,3 +1,9 @@
+2006-08-17  Christian Stimming <stimming at tuhh.de>
+
+	* lib/libqof/qof/qof.h, qofsession.c: Move #include "qofla-dir.h"
+	into qofsession.c because this is the only place where it is
+	used. Removes an often regenerated dependency from qof.h.
+
 2006-08-15  Christian Stimming <stimming at tuhh.de>
 
 	* src/import-export/hbci/dialog-hbcitrans.c, druid-hbci-initial.c:

Modified: gnucash/trunk/lib/libqof/qof/qof.h
===================================================================
--- gnucash/trunk/lib/libqof/qof/qof.h	2006-08-17 01:06:37 UTC (rev 14687)
+++ gnucash/trunk/lib/libqof/qof/qof.h	2006-08-17 10:43:19 UTC (rev 14688)
@@ -100,7 +100,6 @@
 #include "qofchoice.h"
 #include "qofbookmerge.h"
 #include "qofreference.h"
-#include "qofla-dir.h"
 #include "deprecated.h"
 
 /** allow easy logging of QSF debug messages */

Modified: gnucash/trunk/lib/libqof/qof/qofsession.c
===================================================================
--- gnucash/trunk/lib/libqof/qof/qofsession.c	2006-08-17 01:06:37 UTC (rev 14687)
+++ gnucash/trunk/lib/libqof/qof/qofsession.c	2006-08-17 10:43:19 UTC (rev 14688)
@@ -45,6 +45,7 @@
 #include "qofbook-p.h"
 #include "qofsession-p.h"
 #include "qofobject-p.h"
+#include "qofla-dir.h" /* for QOF_LIB_DIR */
 
 /** \deprecated should not be static */
 static QofSession * current_session = NULL;



More information about the gnucash-changes mailing list