[Gnucash-changes] r14326 - gnucash/trunk/src/gnome-utils - Include gkeyfile.h instead of explicitly declaring a data type. This

David Hampton hampton at cvs.gnucash.org
Sun Jun 4 21:47:16 EDT 2006


Author: hampton
Date: 2006-06-04 21:47:16 -0400 (Sun, 04 Jun 2006)
New Revision: 14326
Trac: http://svn.gnucash.org/trac/changeset/14326

Modified:
   gnucash/trunk/src/gnome-utils/gnc-plugin-page.h
Log:
Include gkeyfile.h instead of explicitly declaring a data type. This
prevents include file ordering problems.


Modified: gnucash/trunk/src/gnome-utils/gnc-plugin-page.h
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-plugin-page.h	2006-06-05 00:39:26 UTC (rev 14325)
+++ gnucash/trunk/src/gnome-utils/gnc-plugin-page.h	2006-06-05 01:47:16 UTC (rev 14326)
@@ -51,10 +51,8 @@
 
 /* typedefs & structures */
 #ifndef HAVE_GLIB26
-#ifndef __G_KEY_FILE_H__
-typedef struct _GKeyFile GKeyFile;
+#include "gkeyfile.h"
 #endif
-#endif
 
 
 /** The instance data structure for a content plugin. */



More information about the gnucash-changes mailing list