[grisbi-cvs] [SCM] grisbi branch, master, updated. upstream_version_0_7_99-64-g41a90c4
Rémi Cardona
nobody at users.sourceforge.net
Wed Feb 16 20:22:45 CET 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grisbi".
The branch, master has been updated
via 41a90c4ef5028e382eadadc382d64830ede28757 (commit)
via a503d4278622143f4db87f6076b0857484d40ad4 (commit)
from b36b94f7315b3779b781867f6538df76ac7d8ba1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 41a90c4ef5028e382eadadc382d64830ede28757
Author: Rémi Cardona <remi at gentoo.org>
Date: Tue Feb 15 23:58:53 2011 +0100
Remove commented/unused code from utils_file_selection.c
FTR, win32_file_selection.h doesn't exist and _WIN32_USE_FILE_DIALOG is
never defined anywhere...
commit a503d4278622143f4db87f6076b0857484d40ad4
Author: Rémi Cardona <remi at gentoo.org>
Date: Tue Feb 15 22:38:02 2011 +0100
build: move #include <config.h> from include.h to all .c files
sed -r \
-e 's/(#include "include.h")/#ifdef HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n\1/g' \
-i $(find src/ -name '*.c')
-----------------------------------------------------------------------
Changes:
diff --git a/src/accueil.c b/src/accueil.c
index ff06045..fdea2d0 100644
--- a/src/accueil.c
+++ b/src/accueil.c
@@ -20,6 +20,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/affichage.c b/src/affichage.c
index 6cf9bbe..7a4e1cc 100644
--- a/src/affichage.c
+++ b/src/affichage.c
@@ -21,6 +21,10 @@
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/affichage_liste.c b/src/affichage_liste.c
index 8b4e6ed..92f050d 100644
--- a/src/affichage_liste.c
+++ b/src/affichage_liste.c
@@ -21,6 +21,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/barre_outils.c b/src/barre_outils.c
index 1cfebe9..57fe6ca 100644
--- a/src/barre_outils.c
+++ b/src/barre_outils.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/bet_config.c b/src/bet_config.c
index babf8c4..6251296 100644
--- a/src/bet_config.c
+++ b/src/bet_config.c
@@ -21,6 +21,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/bet_data.c b/src/bet_data.c
index 99d9dbc..0c9f7e5 100644
--- a/src/bet_data.c
+++ b/src/bet_data.c
@@ -21,6 +21,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/bet_data_finance.c b/src/bet_data_finance.c
index aeabebf..362803e 100644
--- a/src/bet_data_finance.c
+++ b/src/bet_data_finance.c
@@ -19,6 +19,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/bet_finance_ui.c b/src/bet_finance_ui.c
index 2bc9447..224f497 100644
--- a/src/bet_finance_ui.c
+++ b/src/bet_finance_ui.c
@@ -19,6 +19,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/bet_future.c b/src/bet_future.c
index 8839c1f..25689e6 100644
--- a/src/bet_future.c
+++ b/src/bet_future.c
@@ -23,6 +23,10 @@
/* ./configure --with-balance-estimate */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/bet_hist.c b/src/bet_hist.c
index 9cab8e2..fa715a5 100644
--- a/src/bet_hist.c
+++ b/src/bet_hist.c
@@ -21,6 +21,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/bet_tab.c b/src/bet_tab.c
index e3e0874..deb5a46 100644
--- a/src/bet_tab.c
+++ b/src/bet_tab.c
@@ -21,6 +21,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/categories_onglet.c b/src/categories_onglet.c
index e18a907..f149f83 100644
--- a/src/categories_onglet.c
+++ b/src/categories_onglet.c
@@ -21,6 +21,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/classement_echeances.c b/src/classement_echeances.c
index 371b3dc..e326cb8 100644
--- a/src/classement_echeances.c
+++ b/src/classement_echeances.c
@@ -23,6 +23,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/csv_parse.c b/src/csv_parse.c
index 81b7f30..fbda4a8 100644
--- a/src/csv_parse.c
+++ b/src/csv_parse.c
@@ -21,6 +21,10 @@
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/custom_list.c b/src/custom_list.c
index 0d7d9eb..be2adc0 100644
--- a/src/custom_list.c
+++ b/src/custom_list.c
@@ -31,6 +31,10 @@
* the funtions using it are in gsb_list_model.c
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/dialog.c b/src/dialog.c
index 2b7d47e..3a2e5d4 100644
--- a/src/dialog.c
+++ b/src/dialog.c
@@ -21,6 +21,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/erreur.c b/src/erreur.c
index e274d01..0ded072 100644
--- a/src/erreur.c
+++ b/src/erreur.c
@@ -23,6 +23,10 @@
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/etats_affiche.c b/src/etats_affiche.c
index 32500a5..f285b59 100644
--- a/src/etats_affiche.c
+++ b/src/etats_affiche.c
@@ -23,6 +23,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/etats_calculs.c b/src/etats_calculs.c
index 1297cf2..a6da659 100644
--- a/src/etats_calculs.c
+++ b/src/etats_calculs.c
@@ -21,6 +21,10 @@
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/etats_config.c b/src/etats_config.c
index ee0a475..f3b9da5 100644
--- a/src/etats_config.c
+++ b/src/etats_config.c
@@ -22,6 +22,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/etats_csv.c b/src/etats_csv.c
index 4314940..052dc02 100644
--- a/src/etats_csv.c
+++ b/src/etats_csv.c
@@ -21,6 +21,10 @@
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/etats_gtktable.c b/src/etats_gtktable.c
index ca8460a..f19a96c 100644
--- a/src/etats_gtktable.c
+++ b/src/etats_gtktable.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/etats_html.c b/src/etats_html.c
index 09a1554..4bb883a 100644
--- a/src/etats_html.c
+++ b/src/etats_html.c
@@ -18,6 +18,10 @@
/* along with this program; if not, write to the Free Software */
/* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/etats_latex.c b/src/etats_latex.c
index fe98988..38ef11a 100644
--- a/src/etats_latex.c
+++ b/src/etats_latex.c
@@ -18,6 +18,10 @@
/* along with this program; if not, write to the Free Software */
/* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/etats_onglet.c b/src/etats_onglet.c
index a08b76d..e5c3ca6 100644
--- a/src/etats_onglet.c
+++ b/src/etats_onglet.c
@@ -25,6 +25,10 @@
* Handle all UI actions for the reports.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/etats_support.c b/src/etats_support.c
index 27f7020..3decdc9 100644
--- a/src/etats_support.c
+++ b/src/etats_support.c
@@ -19,6 +19,10 @@
/* along with this program; if not, write to the Free Software */
/* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/export.c b/src/export.c
index ba27028..cac6e60 100644
--- a/src/export.c
+++ b/src/export.c
@@ -21,6 +21,10 @@
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/export_csv.c b/src/export_csv.c
index f2c7ee2..1f235f0 100644
--- a/src/export_csv.c
+++ b/src/export_csv.c
@@ -27,6 +27,10 @@
* \todo make the CSV parameter configurable
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/fenetre_principale.c b/src/fenetre_principale.c
index e35308e..db6f618 100644
--- a/src/fenetre_principale.c
+++ b/src/fenetre_principale.c
@@ -21,6 +21,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/file_obfuscate.c b/src/file_obfuscate.c
index 8db4baa..7257f05 100644
--- a/src/file_obfuscate.c
+++ b/src/file_obfuscate.c
@@ -25,6 +25,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/file_obfuscate_qif.c b/src/file_obfuscate_qif.c
index afd594b..d4a169a 100644
--- a/src/file_obfuscate_qif.c
+++ b/src/file_obfuscate_qif.c
@@ -25,6 +25,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/go-charmap-sel.c b/src/go-charmap-sel.c
index b98e922..06a7141 100644
--- a/src/go-charmap-sel.c
+++ b/src/go-charmap-sel.c
@@ -23,6 +23,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/go-optionmenu.c b/src/go-optionmenu.c
index ba5fef6..f48f4ed 100644
--- a/src/go-optionmenu.c
+++ b/src/go-optionmenu.c
@@ -30,6 +30,10 @@
* USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_account.c b/src/gsb_account.c
index 5dd7816..f209d32 100644
--- a/src/gsb_account.c
+++ b/src/gsb_account.c
@@ -20,6 +20,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_account_property.c b/src/gsb_account_property.c
index 5111e9c..f7328a1 100644
--- a/src/gsb_account_property.c
+++ b/src/gsb_account_property.c
@@ -29,6 +29,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/gsb_archive_config.c b/src/gsb_archive_config.c
index 488a66c..ed75ff4 100644
--- a/src/gsb_archive_config.c
+++ b/src/gsb_archive_config.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_assistant.c b/src/gsb_assistant.c
index b1fc58d..1af16fe 100644
--- a/src/gsb_assistant.c
+++ b/src/gsb_assistant.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_assistant_account.c b/src/gsb_assistant_account.c
index 239e5f8..d16f082 100644
--- a/src/gsb_assistant_account.c
+++ b/src/gsb_assistant_account.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_assistant_archive.c b/src/gsb_assistant_archive.c
index 95a1d03..ea53d3e 100644
--- a/src/gsb_assistant_archive.c
+++ b/src/gsb_assistant_archive.c
@@ -27,6 +27,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_assistant_archive_export.c b/src/gsb_assistant_archive_export.c
index 2978ac7..95ac72b 100644
--- a/src/gsb_assistant_archive_export.c
+++ b/src/gsb_assistant_archive_export.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_assistant_file.c b/src/gsb_assistant_file.c
index aaa68e3..c658c84 100644
--- a/src/gsb_assistant_file.c
+++ b/src/gsb_assistant_file.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_assistant_first.c b/src/gsb_assistant_first.c
index fea7121..56ee71d 100644
--- a/src/gsb_assistant_first.c
+++ b/src/gsb_assistant_first.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_assistant_reconcile_config.c b/src/gsb_assistant_reconcile_config.c
index 7c0fafc..9d1c1dd 100644
--- a/src/gsb_assistant_reconcile_config.c
+++ b/src/gsb_assistant_reconcile_config.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_autofunc.c b/src/gsb_autofunc.c
index 944658c..3aa1f1d 100644
--- a/src/gsb_autofunc.c
+++ b/src/gsb_autofunc.c
@@ -29,6 +29,10 @@
* (for changes only on variables, see gsb_automem.c)
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/gsb_automem.c b/src/gsb_automem.c
index 5230921..c5c855a 100644
--- a/src/gsb_automem.c
+++ b/src/gsb_automem.c
@@ -29,6 +29,10 @@
* (for changes on internal structure in gsb_data_x_set_x, see gsb_autofunc.c)
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/gsb_bank.c b/src/gsb_bank.c
index e671260..0a19b1c 100644
--- a/src/gsb_bank.c
+++ b/src/gsb_bank.c
@@ -29,6 +29,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_calendar.c b/src/gsb_calendar.c
index 93f3d9b..1e779bd 100644
--- a/src/gsb_calendar.c
+++ b/src/gsb_calendar.c
@@ -28,6 +28,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_calendar_entry.c b/src/gsb_calendar_entry.c
index 5760e85..da04370 100644
--- a/src/gsb_calendar_entry.c
+++ b/src/gsb_calendar_entry.c
@@ -27,6 +27,10 @@
*
* */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
#include <ctype.h>
diff --git a/src/gsb_category.c b/src/gsb_category.c
index 4208771..4975b98 100644
--- a/src/gsb_category.c
+++ b/src/gsb_category.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_combo_box.c b/src/gsb_combo_box.c
index 08267a9..f382c3b 100644
--- a/src/gsb_combo_box.c
+++ b/src/gsb_combo_box.c
@@ -28,6 +28,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_currency.c b/src/gsb_currency.c
index 8457bcb..85c6569 100644
--- a/src/gsb_currency.c
+++ b/src/gsb_currency.c
@@ -27,6 +27,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_currency_config.c b/src/gsb_currency_config.c
index d7fbb5b..519ad81 100644
--- a/src/gsb_currency_config.c
+++ b/src/gsb_currency_config.c
@@ -25,6 +25,10 @@
* contains the part to set the configuration of the currencies
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_currency_link_config.c b/src/gsb_currency_link_config.c
index 0a378f2..196476b 100644
--- a/src/gsb_currency_link_config.c
+++ b/src/gsb_currency_link_config.c
@@ -26,6 +26,10 @@
* contains the part to set the configuration of the currency_links
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_data_account.c b/src/gsb_data_account.c
index 0707060..741496e 100644
--- a/src/gsb_data_account.c
+++ b/src/gsb_data_account.c
@@ -27,6 +27,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_data_archive.c b/src/gsb_data_archive.c
index a9e35dc..d91c6f6 100644
--- a/src/gsb_data_archive.c
+++ b/src/gsb_data_archive.c
@@ -27,6 +27,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_data_archive_store.c b/src/gsb_data_archive_store.c
index bcceb92..26670b2 100644
--- a/src/gsb_data_archive_store.c
+++ b/src/gsb_data_archive_store.c
@@ -32,6 +32,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_data_bank.c b/src/gsb_data_bank.c
index 3c4582d..5a3436e 100644
--- a/src/gsb_data_bank.c
+++ b/src/gsb_data_bank.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_data_budget.c b/src/gsb_data_budget.c
index a0bfc4a..1a91a13 100644
--- a/src/gsb_data_budget.c
+++ b/src/gsb_data_budget.c
@@ -27,6 +27,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_data_category.c b/src/gsb_data_category.c
index f55cf60..32ef703 100644
--- a/src/gsb_data_category.c
+++ b/src/gsb_data_category.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_data_currency.c b/src/gsb_data_currency.c
index ad61075..62c2f69 100644
--- a/src/gsb_data_currency.c
+++ b/src/gsb_data_currency.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_data_currency_link.c b/src/gsb_data_currency_link.c
index 0ab6a67..08983aa 100644
--- a/src/gsb_data_currency_link.c
+++ b/src/gsb_data_currency_link.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_data_form.c b/src/gsb_data_form.c
index ffc89ae..0b93310 100644
--- a/src/gsb_data_form.c
+++ b/src/gsb_data_form.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_data_fyear.c b/src/gsb_data_fyear.c
index 39c355e..6236c36 100644
--- a/src/gsb_data_fyear.c
+++ b/src/gsb_data_fyear.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_data_import_rule.c b/src/gsb_data_import_rule.c
index 006bc2d..02fe5f5 100644
--- a/src/gsb_data_import_rule.c
+++ b/src/gsb_data_import_rule.c
@@ -25,6 +25,10 @@
* work with the importing rule, no gui here
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_data_mix.c b/src/gsb_data_mix.c
index c2d9be8..82c7841 100644
--- a/src/gsb_data_mix.c
+++ b/src/gsb_data_mix.c
@@ -48,6 +48,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/gsb_data_partial_balance.c b/src/gsb_data_partial_balance.c
index abf6f60..72deba6 100644
--- a/src/gsb_data_partial_balance.c
+++ b/src/gsb_data_partial_balance.c
@@ -25,6 +25,10 @@
* \file data_partial_balance.c
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_data_payee.c b/src/gsb_data_payee.c
index 5586207..00e7d9e 100644
--- a/src/gsb_data_payee.c
+++ b/src/gsb_data_payee.c
@@ -27,6 +27,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_data_payment.c b/src/gsb_data_payment.c
index 032619b..46e294d 100644
--- a/src/gsb_data_payment.c
+++ b/src/gsb_data_payment.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/gsb_data_print_config.c b/src/gsb_data_print_config.c
index eb2d4a5..670b03c 100644
--- a/src/gsb_data_print_config.c
+++ b/src/gsb_data_print_config.c
@@ -28,6 +28,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_data_reconcile.c b/src/gsb_data_reconcile.c
index a585d9c..2100fe6 100644
--- a/src/gsb_data_reconcile.c
+++ b/src/gsb_data_reconcile.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_data_report.c b/src/gsb_data_report.c
index 437233b..1ba40b1 100644
--- a/src/gsb_data_report.c
+++ b/src/gsb_data_report.c
@@ -28,6 +28,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_data_report_amout_comparison.c b/src/gsb_data_report_amout_comparison.c
index 05ff08e..44913d0 100644
--- a/src/gsb_data_report_amout_comparison.c
+++ b/src/gsb_data_report_amout_comparison.c
@@ -29,6 +29,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_data_report_text_comparison.c b/src/gsb_data_report_text_comparison.c
index fbe45d3..14b0142 100644
--- a/src/gsb_data_report_text_comparison.c
+++ b/src/gsb_data_report_text_comparison.c
@@ -29,6 +29,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_data_scheduled.c b/src/gsb_data_scheduled.c
index 0262565..6659755 100644
--- a/src/gsb_data_scheduled.c
+++ b/src/gsb_data_scheduled.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/gsb_data_transaction.c b/src/gsb_data_transaction.c
index 332f764..7144241 100644
--- a/src/gsb_data_transaction.c
+++ b/src/gsb_data_transaction.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/gsb_debug.c b/src/gsb_debug.c
index 0830b0e..b29f7b7 100644
--- a/src/gsb_debug.c
+++ b/src/gsb_debug.c
@@ -19,6 +19,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_file.c b/src/gsb_file.c
index ef86871..c05afc8 100644
--- a/src/gsb_file.c
+++ b/src/gsb_file.c
@@ -21,6 +21,10 @@
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
#include <time.h>
diff --git a/src/gsb_file_config.c b/src/gsb_file_config.c
index 1c9f75a..851552c 100644
--- a/src/gsb_file_config.c
+++ b/src/gsb_file_config.c
@@ -28,6 +28,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_file_load.c b/src/gsb_file_load.c
index a123fde..f5be275 100644
--- a/src/gsb_file_load.c
+++ b/src/gsb_file_load.c
@@ -22,6 +22,10 @@
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
#include <glib/gstdio.h>
diff --git a/src/gsb_file_others.c b/src/gsb_file_others.c
index e41b39c..9c94e61 100644
--- a/src/gsb_file_others.c
+++ b/src/gsb_file_others.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_file_save.c b/src/gsb_file_save.c
index e318cd8..2274d70 100644
--- a/src/gsb_file_save.c
+++ b/src/gsb_file_save.c
@@ -26,6 +26,10 @@
* save the file
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
#ifdef _MSC_VER
# include <io.h> // for _chmod()
diff --git a/src/gsb_file_util.c b/src/gsb_file_util.c
index 034cd1e..3553b1f 100644
--- a/src/gsb_file_util.c
+++ b/src/gsb_file_util.c
@@ -18,6 +18,10 @@
/* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
#include <zlib.h>
diff --git a/src/gsb_form.c b/src/gsb_form.c
index b520138..fc81b59 100644
--- a/src/gsb_form.c
+++ b/src/gsb_form.c
@@ -27,6 +27,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_form_config.c b/src/gsb_form_config.c
index ec5d050..f72108d 100644
--- a/src/gsb_form_config.c
+++ b/src/gsb_form_config.c
@@ -25,6 +25,10 @@
* configuration page for the form
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_form_scheduler.c b/src/gsb_form_scheduler.c
index a6580e1..49983c2 100644
--- a/src/gsb_form_scheduler.c
+++ b/src/gsb_form_scheduler.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_form_transaction.c b/src/gsb_form_transaction.c
index 24e8cb1..27cc121 100644
--- a/src/gsb_form_transaction.c
+++ b/src/gsb_form_transaction.c
@@ -27,6 +27,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_form_widget.c b/src/gsb_form_widget.c
index 6515d30..4468ee3 100644
--- a/src/gsb_form_widget.c
+++ b/src/gsb_form_widget.c
@@ -27,6 +27,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_fyear.c b/src/gsb_fyear.c
index f3b87e2..246bc74 100644
--- a/src/gsb_fyear.c
+++ b/src/gsb_fyear.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_fyear_config.c b/src/gsb_fyear_config.c
index fd75396..ed1b84a 100644
--- a/src/gsb_fyear_config.c
+++ b/src/gsb_fyear_config.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_payment_method.c b/src/gsb_payment_method.c
index 788df9c..79e8c65 100644
--- a/src/gsb_payment_method.c
+++ b/src/gsb_payment_method.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_payment_method_config.c b/src/gsb_payment_method_config.c
index 2c7886f..e30290f 100644
--- a/src/gsb_payment_method_config.c
+++ b/src/gsb_payment_method_config.c
@@ -24,6 +24,10 @@
* \file gsb_payment_method_config.c
* all that you need for the config of the payment method is here !!!
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_plugins.c b/src/gsb_plugins.c
index d751ee6..5cf6727 100644
--- a/src/gsb_plugins.c
+++ b/src/gsb_plugins.c
@@ -19,6 +19,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_real.c b/src/gsb_real.c
index 453042c..3b1291e 100644
--- a/src/gsb_real.c
+++ b/src/gsb_real.c
@@ -29,6 +29,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
#include <assert.h>
diff --git a/src/gsb_reconcile.c b/src/gsb_reconcile.c
index 0e0129e..6613d77 100644
--- a/src/gsb_reconcile.c
+++ b/src/gsb_reconcile.c
@@ -27,6 +27,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_reconcile_config.c b/src/gsb_reconcile_config.c
index 5b834c7..80a5605 100644
--- a/src/gsb_reconcile_config.c
+++ b/src/gsb_reconcile_config.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_reconcile_list.c b/src/gsb_reconcile_list.c
index c3a97a1..4e8a246 100644
--- a/src/gsb_reconcile_list.c
+++ b/src/gsb_reconcile_list.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_reconcile_sort_config.c b/src/gsb_reconcile_sort_config.c
index febeb4b..88305a3 100644
--- a/src/gsb_reconcile_sort_config.c
+++ b/src/gsb_reconcile_sort_config.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_report.c b/src/gsb_report.c
index c1819ea..7261666 100644
--- a/src/gsb_report.c
+++ b/src/gsb_report.c
@@ -25,6 +25,10 @@
* contains tools to work with the reports
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/gsb_scheduler.c b/src/gsb_scheduler.c
index 351bc34..77603a5 100644
--- a/src/gsb_scheduler.c
+++ b/src/gsb_scheduler.c
@@ -26,6 +26,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_scheduler_list.c b/src/gsb_scheduler_list.c
index c63edcf..b1956db 100644
--- a/src/gsb_scheduler_list.c
+++ b/src/gsb_scheduler_list.c
@@ -29,6 +29,10 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_select_icon.c b/src/gsb_select_icon.c
index 413754b..bbbf6d9 100644
--- a/src/gsb_select_icon.c
+++ b/src/gsb_select_icon.c
@@ -21,6 +21,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_status.c b/src/gsb_status.c
index b681f73..a418b06 100644
--- a/src/gsb_status.c
+++ b/src/gsb_status.c
@@ -25,6 +25,10 @@
* Various routines that implement the status bar.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_transactions_list.c b/src/gsb_transactions_list.c
index 007fa4b..b8a7621 100644
--- a/src/gsb_transactions_list.c
+++ b/src/gsb_transactions_list.c
@@ -21,6 +21,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/gsb_transactions_list_sort.c b/src/gsb_transactions_list_sort.c
index 755300f..f138dd9 100644
--- a/src/gsb_transactions_list_sort.c
+++ b/src/gsb_transactions_list_sort.c
@@ -27,6 +27,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/gtk_combofix.c b/src/gtk_combofix.c
index 8e0286c..74bc77d 100644
--- a/src/gtk_combofix.c
+++ b/src/gtk_combofix.c
@@ -21,6 +21,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
#include <gdk/gdkkeysyms.h>
diff --git a/src/help.c b/src/help.c
index 00e7993..f0e9ba5 100644
--- a/src/help.c
+++ b/src/help.c
@@ -22,6 +22,10 @@
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/import.c b/src/import.c
index ade1aa3..df4397f 100644
--- a/src/import.c
+++ b/src/import.c
@@ -22,6 +22,10 @@
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/import_csv.c b/src/import_csv.c
index 404d30f..88b1462 100644
--- a/src/import_csv.c
+++ b/src/import_csv.c
@@ -21,6 +21,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/imputation_budgetaire.c b/src/imputation_budgetaire.c
index e4005f9..cdb050f 100644
--- a/src/imputation_budgetaire.c
+++ b/src/imputation_budgetaire.c
@@ -23,6 +23,10 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/include.h b/src/include.h
index 10ce990..5f7739e 100644
--- a/src/include.h
+++ b/src/include.h
@@ -3,10 +3,6 @@
#define _INCLUDE_H (1)
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/main.c b/src/main.c
index 01da2b0..675f49c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -25,6 +25,10 @@
/* *******************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/menu.c b/src/menu.c
index 41b9c05..c200de2 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -23,6 +23,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/meta_budgetary.c b/src/meta_budgetary.c
index 8589fb9..03f26e2 100644
--- a/src/meta_budgetary.c
+++ b/src/meta_budgetary.c
@@ -20,6 +20,10 @@
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
#include "metatree.h"
diff --git a/src/meta_categories.c b/src/meta_categories.c
index e94fed8..25aa710 100644
--- a/src/meta_categories.c
+++ b/src/meta_categories.c
@@ -20,6 +20,10 @@
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
#include "metatree.h"
diff --git a/src/meta_payee.c b/src/meta_payee.c
index 4a4baff..a7127e1 100644
--- a/src/meta_payee.c
+++ b/src/meta_payee.c
@@ -20,6 +20,10 @@
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
#include "metatree.h"
diff --git a/src/metatree.c b/src/metatree.c
index 7078f40..8e81cef 100644
--- a/src/metatree.c
+++ b/src/metatree.c
@@ -21,6 +21,10 @@
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/navigation.c b/src/navigation.c
index bb360af..5b0690f 100644
--- a/src/navigation.c
+++ b/src/navigation.c
@@ -21,6 +21,10 @@
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/parametres.c b/src/parametres.c
index 1e43670..78f4669 100644
--- a/src/parametres.c
+++ b/src/parametres.c
@@ -25,6 +25,10 @@
* we find here the configuration dialog
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/parse_cmdline.c b/src/parse_cmdline.c
index 54408cc..2077d2a 100644
--- a/src/parse_cmdline.c
+++ b/src/parse_cmdline.c
@@ -16,6 +16,10 @@
/* */
/* *******************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
#include <getopt.h>
diff --git a/src/plugins/gnucash/gnucash.c b/src/plugins/gnucash/gnucash.c
index 285a88e..9c9a18f 100644
--- a/src/plugins/gnucash/gnucash.c
+++ b/src/plugins/gnucash/gnucash.c
@@ -19,6 +19,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
#include <libxml/parser.h>
diff --git a/src/plugins/ofx/ofx.c b/src/plugins/ofx/ofx.c
index 4b65ea3..19acbd4 100644
--- a/src/plugins/ofx/ofx.c
+++ b/src/plugins/ofx/ofx.c
@@ -19,6 +19,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
#include <libofx/libofx.h>
diff --git a/src/plugins/openssl/openssl.c b/src/plugins/openssl/openssl.c
index 0bab39b..0875bce 100644
--- a/src/plugins/openssl/openssl.c
+++ b/src/plugins/openssl/openssl.c
@@ -19,6 +19,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/* This define is required to disable openssl's SSLeay support which redefines
diff --git a/src/print_config.c b/src/print_config.c
index 8901275..b821ac2 100644
--- a/src/print_config.c
+++ b/src/print_config.c
@@ -20,6 +20,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/print_dialog_config.c b/src/print_dialog_config.c
index bcd34c1..c4fafae 100644
--- a/src/print_dialog_config.c
+++ b/src/print_dialog_config.c
@@ -25,6 +25,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/print_report.c b/src/print_report.c
index 5eef80f..7d0d82a 100644
--- a/src/print_report.c
+++ b/src/print_report.c
@@ -25,6 +25,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/print_transactions_list.c b/src/print_transactions_list.c
index 2de145b..22b315d 100644
--- a/src/print_transactions_list.c
+++ b/src/print_transactions_list.c
@@ -24,6 +24,10 @@
* print the transactions list
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/print_tree_view_list.c b/src/print_tree_view_list.c
index 6ef00f6..05ddad2 100644
--- a/src/print_tree_view_list.c
+++ b/src/print_tree_view_list.c
@@ -20,6 +20,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
#include <config.h>
diff --git a/src/qif.c b/src/qif.c
index adf8e07..464a014 100644
--- a/src/qif.c
+++ b/src/qif.c
@@ -21,6 +21,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/tests/gsb_data_account_cunit.c b/src/tests/gsb_data_account_cunit.c
index ef7c616..7693e9e 100644
--- a/src/tests/gsb_data_account_cunit.c
+++ b/src/tests/gsb_data_account_cunit.c
@@ -28,6 +28,10 @@
* cunit tests for gsb_data_account
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/* START_INCLUDE */
diff --git a/src/tests/gsb_real_cunit.c b/src/tests/gsb_real_cunit.c
index 4eff1e2..3356808 100644
--- a/src/tests/gsb_real_cunit.c
+++ b/src/tests/gsb_real_cunit.c
@@ -28,6 +28,10 @@
* cunit tests for gsb_real
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/* START_INCLUDE */
diff --git a/src/tests/main_cunit.c b/src/tests/main_cunit.c
index 86bfeda..1357fb3 100644
--- a/src/tests/main_cunit.c
+++ b/src/tests/main_cunit.c
@@ -29,6 +29,10 @@
/* *******************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/tests/utils_dates_cunit.c b/src/tests/utils_dates_cunit.c
index 6628914..229a7a5 100644
--- a/src/tests/utils_dates_cunit.c
+++ b/src/tests/utils_dates_cunit.c
@@ -28,6 +28,10 @@
* cunit tests for utils_dates
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/* START_INCLUDE */
diff --git a/src/tiers_onglet.c b/src/tiers_onglet.c
index 7f0869f..cf901e3 100644
--- a/src/tiers_onglet.c
+++ b/src/tiers_onglet.c
@@ -28,6 +28,10 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
#include "dialog.h"
diff --git a/src/tip.c b/src/tip.c
index 0ca6f2e..b7abd35 100644
--- a/src/tip.c
+++ b/src/tip.c
@@ -22,6 +22,10 @@
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
#define START_INCLUDE
diff --git a/src/traitement_variables.c b/src/traitement_variables.c
index 7c75cc2..f7f4a6e 100644
--- a/src/traitement_variables.c
+++ b/src/traitement_variables.c
@@ -26,6 +26,10 @@
* works with global variables of grisbi (initialisation...)
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/transaction_list.c b/src/transaction_list.c
index bcbf74d..c992dbf 100644
--- a/src/transaction_list.c
+++ b/src/transaction_list.c
@@ -30,6 +30,10 @@
* Grisbi shouldn't work directly on the CustomList except by those files
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/transaction_list_select.c b/src/transaction_list_select.c
index 07395b9..8979667 100644
--- a/src/transaction_list_select.c
+++ b/src/transaction_list_select.c
@@ -27,6 +27,10 @@
* Grisbi shouldn't work directly on the CustomList except by those files
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/transaction_list_sort.c b/src/transaction_list_sort.c
index 06c43fd..90f1642 100644
--- a/src/transaction_list_sort.c
+++ b/src/transaction_list_sort.c
@@ -27,6 +27,10 @@
* Grisbi shouldn't work directly on the CustomList except by those files
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/transaction_model.c b/src/transaction_model.c
index e9d70b6..3ac927f 100644
--- a/src/transaction_model.c
+++ b/src/transaction_model.c
@@ -27,6 +27,10 @@
* Grisbi shouldn't work directly on the CustomList except by those files
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/utils.c b/src/utils.c
index 0197ca6..87ed66e 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -22,6 +22,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/utils_buttons.c b/src/utils_buttons.c
index 20fe79c..7b44f9a 100644
--- a/src/utils_buttons.c
+++ b/src/utils_buttons.c
@@ -21,6 +21,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/utils_dates.c b/src/utils_dates.c
index b6aed27..4f45bb2 100644
--- a/src/utils_dates.c
+++ b/src/utils_dates.c
@@ -21,6 +21,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
#if defined(_MSC_VER) || defined (_MINGW)
#include <winnls.h>
diff --git a/src/utils_editables.c b/src/utils_editables.c
index b723dee..dfacd46 100644
--- a/src/utils_editables.c
+++ b/src/utils_editables.c
@@ -21,6 +21,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/utils_file_selection.c b/src/utils_file_selection.c
index 9e9a239..2251bd6 100644
--- a/src/utils_file_selection.c
+++ b/src/utils_file_selection.c
@@ -37,6 +37,10 @@
extern "C" {
#endif /* __cplusplus */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
@@ -53,98 +57,6 @@ extern "C" {
/*END_EXTERN*/
-#ifdef _WIN32_USE_FILE_DIALOG
-#include "win32_file_selection.h"
-#endif
-
-#define FILE_SELECTION_PROPERTY(prop,value) ((prop & value) == value)
-
-
-
-/** Validate the selected filename from a GtkFileChooser
- *
- * If the user select or enter an existing filename, this function asks her to confirm she wants to
- * overwrite the file.
- *
- * \param selection_fichier GtkFileChooser widget
- * \return
- * - TRUE if the filename is ok (file does not exists or user confirm to overwrite it)
- * - FALSE in all other cases (filename empty, ...)
- *
- */
-/* TODO dOm : this function seems not to be used. Is it possible to remove it
-static gboolean _file_selection_overwrite_file_check( GtkWidget *selection_fichier)
-{ !* {{{ *!
- gchar* filename = my_strdup ( gtk_file_selection_get_filename ( GTK_FILE_SELECTION ( selection_fichier)) );
-
- return (gsb_file_util_test_overwrite (filename));
-
-} !* }}} file_selection_check_filename *!
-*/
-
-/** Handler called by the "Save" GTKFileSelection dialog on button_ok "clicked" signal.
- *
- * Send:
- * - GTK_RESPONSE_OK if the selected filename does not exists or if the user confirm the overwrite
- * - GTK_RESPONSE_NONE in all others cases.
- */
-/* TODO dOm : this function seems not to be used. Is it possible to remove it
-void file_selection_overwrite_file_check_signal(GtkWidget *selection_fichier)
-{ !* {{{ *!
- gtk_dialog_response(GTK_DIALOG(GTK_FILE_SELECTION(selection_fichier)),
- (_file_selection_overwrite_file_check(selection_fichier) == TRUE) ? GTK_RESPONSE_OK : GTK_RESPONSE_NONE);
-} !* }}} file_selection_overwrite_file_check_signal *!
-*/
-
-/** Validate the selected filename from a GtkFileChooser. Check if file exists.
- *
- * \param selection_fichier GtkFileChooser widget
- * \return
- * - TRUE if the filename is ok (file exists and is valid)
- * - FALSE in all other cases (filename empty, ...)
- */
-/* TODO dOm : this function seems not to be used. Is it possible to remove it
-static gboolean _file_selection_check_filename ( GtkWidget *selection_fichier)
-{ !* {{{ *!
- gboolean result = TRUE;
- gchar* filename = my_strdup ( gtk_file_selection_get_filename ( GTK_FILE_SELECTION ( selection_fichier)) );
-
- if ((!filename)||(!strlen(filename)))
- {
- result = FALSE;
- }
- else
- {
- if ( !g_file_test (filename,
- G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR ))
- {
- dialogue_error_hint ( g_strdup_printf ( _("Either file \"%s\" does not exist or it is not a regular file."),
- filename),
- g_strdup_printf ( _("Error opening file '%s'." ), filename ) );
- result = FALSE;
- }
- }
-
- return result;
-} !* }}} file_selection_check_filename *!
-*/
-
-/** Handler called by the "Open" GTKFileSelection dialog on button_ok "clicked" signal.
- *
- * Send:
- * - GTK_RESPONSE_OK if the selected filename exists
- * - GTK_RESPONSE_NONE in all others cases.
- */
-/* TODO dOm : this function seems not to be used. Is it possible to remove it
-void file_selection_check_filename_signal(GtkWidget *selection_fichier)
-{ !* {{{ *!
- gtk_dialog_response(GTK_DIALOG(GTK_FILE_SELECTION(selection_fichier)),
- (_file_selection_check_filename(selection_fichier) == TRUE) ? GTK_RESPONSE_OK : GTK_RESPONSE_NONE);
-} !* }}} file_selection_check_filename_signal *!
-*/
-
-
-
/* file_selection_new a enhanced version of gtk_file_selection_new.
*
* Include the overwrite check feature in the save mode dialog
@@ -176,40 +88,6 @@ GtkWidget* file_selection_new ( const gchar *title, const gint properties )
-/** file_selection_get_entry.
- *
- * Get the text (converted in UTF-8 string) of the filename entry field of a GtkFileChooser dialog
- *
- * \param filesel GtkFileChooser widget
- *
- * \return the entry string converted in UFT-8 charset.
- * The returned string has been allocated in this function are need to be release
- * where no more used (no need to add any my_strdup string to use it)
- *
- */
-/* TODO dOm : this function seems not to be used. Is it possible to remove it
-gchar* file_selection_get_entry(GtkFileChooser* filesel)
-{ !* {{{ *!
- return g_filename_to_utf8 ( gtk_file_chooser_get_filename ( filesel ),-1,NULL,NULL,NULL);
-} !* }}} file_selection_get_entry *!
-*/
-
-
-
-/** file_selection_set_filename
- *
- * Set the filename property of the GtkFileChooser after having converted in the locale char set
- *
- * \param filesel GtkFileChooser widget handle
- * \param utf8filename the string to set coded with the UTF8 charset
- */
-/* TODO dOm : this function seems not to be used. Is it possible to remove it
-void file_selection_set_filename(GtkFileChooser* filesel,const gchar* utf8filename)
-{ !* {{{ *!
- gtk_file_chooser_set_filename ( filesel,
- g_filename_from_utf8(utf8filename,-1,NULL,NULL,NULL) );
-} !* }}} file_selection_set_filename *!
-*/
/** file_selection_get_filename
*
@@ -225,27 +103,6 @@ gchar* file_selection_get_filename(GtkFileChooser* filesel)
return gtk_file_chooser_get_filename ( filesel );
} /* }}} file_selection_get_filename */
-/**
- * file_selection_get_selections.
- *
- * @param filesel GtkFileChooser widget descriptor
- *
- * Provided the exactly the same service as gtk_file_selection_get_selections, except that the
- * results string of the list are already coded using UTF-8 charset.
- *
- * @return table of selected filenames (with path) using UTF8 charset
- *
- * The returned table is not the one returned by the gtk function but a newly allocated
- * It should be unallocated by the caller. Use g_strfreev() to free it.
- *
- * */
-/* TODO dOm : this function seems not to be used. Is it possible to remove it
-GSList * file_selection_get_selections(GtkFileChooser* filesel)
-{ !* {{{ *!
- return gtk_file_chooser_get_filenames ( filesel );
-} !* }}} file_selection_get_selections *!
-
-*/
diff --git a/src/utils_files.c b/src/utils_files.c
index e692e28..d86629a 100644
--- a/src/utils_files.c
+++ b/src/utils_files.c
@@ -23,6 +23,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/utils_files.h b/src/utils_files.h
index 94121fc..eb47003 100644
--- a/src/utils_files.h
+++ b/src/utils_files.h
@@ -1,7 +1,6 @@
#ifndef _H_UTILS_FILES
#define _H_UTILS_FILES 1
-#include "config.h"
#include <sys/stat.h>
enum get_filename_returned_value {
diff --git a/src/utils_font.c b/src/utils_font.c
index a24069b..11f435e 100644
--- a/src/utils_font.c
+++ b/src/utils_font.c
@@ -25,6 +25,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
/*START_INCLUDE*/
diff --git a/src/utils_operations.c b/src/utils_operations.c
index 2753d96..6ff9471 100644
--- a/src/utils_operations.c
+++ b/src/utils_operations.c
@@ -22,6 +22,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
diff --git a/src/utils_str.c b/src/utils_str.c
index 90cbcfe..8c1e881 100644
--- a/src/utils_str.c
+++ b/src/utils_str.c
@@ -22,6 +22,10 @@
/* */
/* ************************************************************************** */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "include.h"
#include <stdlib.h>
hooks/post-receive
--
grisbi
More information about the cvs
mailing list