[grisbi-cvs] [SCM] grisbi branch, master, updated. upstream_version_0_9_2-9-gf18ffbb

Pierre Biava nobody at users.sourceforge.net
Sat Jun 11 10:28:22 CEST 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  f18ffbbb12795bd51adfa76fcd06f3897fdc7945 (commit)
      from  a3fef2a129309036a43e3fe9637f3593f64bf088 (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 f18ffbbb12795bd51adfa76fcd06f3897fdc7945
Author: pbiava <pierre.biava at nerim.net>
Date:   Sat Jun 11 10:09:17 2011 +0200

    deletion of compilation warnings

-----------------------------------------------------------------------

Changes:
diff --git a/src/affichage_liste.c b/src/affichage_liste.c
index 6c45956..8ff2cd8 100644
--- a/src/affichage_liste.c
+++ b/src/affichage_liste.c
@@ -35,6 +35,7 @@
 #include "gsb_automem.h"
 #include "gsb_data_account.h"
 #include "gsb_data_form.h"
+#include "gsb_file.h"
 #include "gsb_form.h"
 #include "gsb_form_widget.h"
 #include "gsb_transactions_list.h"
diff --git a/src/bet_config.c b/src/bet_config.c
index e3484a8..2dd3168 100644
--- a/src/bet_config.c
+++ b/src/bet_config.c
@@ -42,6 +42,7 @@
 #include "gsb_currency.h"
 #include "gsb_data_account.h"
 #include "gsb_data_currency.h"
+#include "gsb_file.h"
 #include "gsb_form_widget.h"
 #include "gsb_fyear.h"
 #include "navigation.h"
@@ -1029,6 +1030,8 @@ gboolean bet_config_change_account ( GtkWidget *combo )
     notebook = g_object_get_data ( G_OBJECT ( account_page ), "config_notebook" );
     switch ( kind )
     {
+        case GSB_TYPE_BALANCE:
+            break;
         case GSB_TYPE_BANK:
             gtk_notebook_set_current_page ( GTK_NOTEBOOK ( notebook ), 0 );
             bet_config_initialise_duration_widget ( account_number, account_page );
@@ -1123,6 +1126,8 @@ void bet_config_sensitive_account_parameters ( gint account_number, gboolean sen
 
         switch ( kind )
         {
+        case GSB_TYPE_BALANCE:
+            break;
         case GSB_TYPE_BANK:
             widget = g_object_get_data ( G_OBJECT ( account_page ), "Data_for_forecast" );
             gtk_widget_show_all ( widget );
diff --git a/src/bet_data.c b/src/bet_data.c
index 7e0ab4d..47f421c 100644
--- a/src/bet_data.c
+++ b/src/bet_data.c
@@ -40,6 +40,7 @@
 #include "gsb_data_mix.h"
 #include "gsb_data_scheduled.h"
 #include "gsb_data_transaction.h"
+#include "gsb_file.h"
 #include "utils_dates.h"
 #include "navigation.h"
 #include "traitement_variables.h"
@@ -121,6 +122,8 @@ void bet_data_select_bet_pages ( gint account_number )
 
     switch ( kind )
     {
+    case GSB_TYPE_BALANCE:
+        break;
     case GSB_TYPE_BANK:
         page = gtk_notebook_get_nth_page ( GTK_NOTEBOOK ( account_page ), GSB_ESTIMATE_PAGE );
         gtk_widget_show ( page );
diff --git a/src/bet_hist.c b/src/bet_hist.c
index efebe2e..16f067f 100644
--- a/src/bet_hist.c
+++ b/src/bet_hist.c
@@ -38,6 +38,7 @@
 #include "gsb_data_currency.h"
 #include "gsb_data_fyear.h"
 #include "gsb_data_transaction.h"
+#include "gsb_file.h"
 #include "gsb_fyear.h"
 #include "gsb_real.h"
 #include "mouse.h"
diff --git a/src/erreur.c b/src/erreur.c
index 0664f9b..14e4786 100644
--- a/src/erreur.c
+++ b/src/erreur.c
@@ -36,6 +36,7 @@
 #include "erreur.h"
 #include "dialog.h"
 #include "gsb_dirs.h"
+#include "gsb_file.h"
 #include "gsb_file_save.h"
 #include "gsb_file_util.h"
 #include "gsb_plugins.h"
diff --git a/src/etats_config.c b/src/etats_config.c
index 9cf78df..1db4de4 100644
--- a/src/etats_config.c
+++ b/src/etats_config.c
@@ -46,6 +46,7 @@
 #include "gsb_data_report_amout_comparison.h"
 #include "gsb_data_report.h"
 #include "gsb_data_report_text_comparison.h"
+#include "gsb_file.h"
 #include "gsb_form_widget.h"
 #include "utils_dates.h"
 #include "navigation.h"
diff --git a/src/gsb_archive_config.c b/src/gsb_archive_config.c
index cfbf96c..0b9d0ef 100644
--- a/src/gsb_archive_config.c
+++ b/src/gsb_archive_config.c
@@ -43,6 +43,7 @@
 #include "gsb_data_archive_store.h"
 #include "gsb_data_fyear.h"
 #include "gsb_data_transaction.h"
+#include "gsb_file.h"
 #include "utils_dates.h"
 #include "navigation.h"
 #include "gsb_real.h"
diff --git a/src/gsb_assistant_archive.c b/src/gsb_assistant_archive.c
index 021ef5d..6f107be 100644
--- a/src/gsb_assistant_archive.c
+++ b/src/gsb_assistant_archive.c
@@ -44,6 +44,7 @@
 #include "gsb_data_fyear.h"
 #include "gsb_data_report.h"
 #include "gsb_data_transaction.h"
+#include "gsb_file.h"
 #include "utils_dates.h"
 #include "gsb_fyear.h"
 #include "navigation.h"
diff --git a/src/gsb_autofunc.c b/src/gsb_autofunc.c
index 8d54449..a9c218c 100644
--- a/src/gsb_autofunc.c
+++ b/src/gsb_autofunc.c
@@ -46,6 +46,7 @@
 #include "gsb_data_category.h"
 #include "gsb_data_fyear.h"
 #include "gsb_data_reconcile.h"
+#include "gsb_file.h"
 #include "utils_editables.h"
 #include "gsb_real.h"
 #include "traitement_variables.h"
diff --git a/src/gsb_automem.c b/src/gsb_automem.c
index 3848541..3456420 100644
--- a/src/gsb_automem.c
+++ b/src/gsb_automem.c
@@ -38,12 +38,13 @@
 
 /*START_INCLUDE*/
 #include "gsb_automem.h"
-#include "utils_editables.h"
+#include "gsb_file.h"
+#include "structures.h"
 #include "traitement_variables.h"
-#include "utils_str.h"
-#include "utils_buttons.h"
 #include "utils.h"
-#include "structures.h"
+#include "utils_buttons.h"
+#include "utils_editables.h"
+#include "utils_str.h"
 /*END_INCLUDE*/
 
 /*START_STATIC*/
diff --git a/src/gsb_bank.c b/src/gsb_bank.c
index ceb89e7..33d134e 100644
--- a/src/gsb_bank.c
+++ b/src/gsb_bank.c
@@ -44,6 +44,7 @@
 #include "gsb_data_account.h"
 #include "gsb_data_bank.h"
 #include "gsb_transactions_list.h"
+#include "gsb_file.h"
 #include "navigation.h"
 #include "structures.h"
 #include "traitement_variables.h"
diff --git a/src/gsb_currency_config.c b/src/gsb_currency_config.c
index f172ed5..a3c574b 100644
--- a/src/gsb_currency_config.c
+++ b/src/gsb_currency_config.c
@@ -43,6 +43,7 @@
 #include "gsb_data_currency.h"
 #include "gsb_data_scheduled.h"
 #include "gsb_data_transaction.h"
+#include "gsb_file.h"
 #include "gsb_locale.h"
 #include "main.h"
 #include "traitement_variables.h"
diff --git a/src/gsb_currency_link_config.c b/src/gsb_currency_link_config.c
index f82f6e1..8688e16 100644
--- a/src/gsb_currency_link_config.c
+++ b/src/gsb_currency_link_config.c
@@ -41,11 +41,12 @@
 #include "gsb_data_account.h"
 #include "gsb_data_currency.h"
 #include "gsb_data_currency_link.h"
-#include "navigation.h"
+#include "gsb_file.h"
 #include "gsb_real.h"
+#include "navigation.h"
+#include "structures.h"
 #include "traitement_variables.h"
 #include "utils.h"
-#include "structures.h"
 /*END_INCLUDE*/
 
 /*START_STATIC*/
diff --git a/src/gsb_data_account.c b/src/gsb_data_account.c
index b3dd7f5..5e49dbe 100644
--- a/src/gsb_data_account.c
+++ b/src/gsb_data_account.c
@@ -42,6 +42,8 @@
 #include "gsb_data_currency.h"
 #include "gsb_data_form.h"
 #include "gsb_data_transaction.h"
+#include "gsb_dirs.h"
+#include "gsb_file.h"
 #include "gsb_select_icon.h"
 #include "gsb_transactions_list.h"
 #include "navigation.h"
@@ -51,7 +53,6 @@
 #include "utils_dates.h"
 #include "utils_str.h"
 #include "erreur.h"
-#include "gsb_dirs.h"
 /*END_INCLUDE*/
 
 /** \struct
diff --git a/src/gsb_data_account.h b/src/gsb_data_account.h
index bc39788..ed3441d 100644
--- a/src/gsb_data_account.h
+++ b/src/gsb_data_account.h
@@ -14,6 +14,7 @@
 
 enum _kind_account
 {
+    GSB_TYPE_BALANCE     = -1,
     GSB_TYPE_BANK        = 0,
     GSB_TYPE_CASH        = 1,
     GSB_TYPE_LIABILITIES = 2,
diff --git a/src/gsb_data_partial_balance.c b/src/gsb_data_partial_balance.c
index 7df8c77..efae985 100644
--- a/src/gsb_data_partial_balance.c
+++ b/src/gsb_data_partial_balance.c
@@ -208,7 +208,7 @@ void gsb_partial_balance_fill_model ( GtkListStore *list_store )
 
         switch ( partial_balance -> kind )
         {
-        case -1:
+        case GSB_TYPE_BALANCE:
             kind_str = g_strdup ( _("Additional balance") );
             break;
 
@@ -1305,6 +1305,9 @@ gboolean gsb_data_partial_balance_init_from_liste_cptes ( gint partial_balance_n
         {
             switch ( kind )
             {
+            case GSB_TYPE_BALANCE:
+                break;
+
             case GSB_TYPE_BANK:
             case GSB_TYPE_CASH:
                 if ( kind_nb >= GSB_TYPE_LIABILITIES )
diff --git a/src/gsb_data_payment.c b/src/gsb_data_payment.c
index dff9220..dc44c35 100644
--- a/src/gsb_data_payment.c
+++ b/src/gsb_data_payment.c
@@ -704,6 +704,9 @@ gint gsb_data_payment_create_default  ( gint account_number )
 devel_debug_int ( account_number);
     switch (gsb_data_account_get_kind (account_number))
     {
+    case GSB_TYPE_BALANCE:
+        break;
+
 	case GSB_TYPE_CASH:
 	    break;
 
diff --git a/src/gsb_debug.c b/src/gsb_debug.c
index 81cb985..960e3e6 100644
--- a/src/gsb_debug.c
+++ b/src/gsb_debug.c
@@ -37,6 +37,7 @@
 #include "gsb_data_payee.h"
 #include "gsb_data_reconcile.h"
 #include "gsb_data_transaction.h"
+#include "gsb_file.h"
 #include "gsb_real.h"
 #include "gsb_status.h"
 #include "traitement_variables.h"
diff --git a/src/gsb_file_others.c b/src/gsb_file_others.c
index 5f4d468..32a2672 100644
--- a/src/gsb_file_others.c
+++ b/src/gsb_file_others.c
@@ -40,6 +40,7 @@
 #include "gsb_data_budget.h"
 #include "gsb_data_category.h"
 #include "gsb_data_report.h"
+#include "gsb_file.h"
 #include "gsb_file_load.h"
 #include "gsb_file_save.h"
 #include "navigation.h"
diff --git a/src/gsb_form.c b/src/gsb_form.c
index c016d1a..d4fae49 100644
--- a/src/gsb_form.c
+++ b/src/gsb_form.c
@@ -56,6 +56,7 @@
 #include "gsb_data_scheduled.h"
 #include "gsb_data_transaction.h"
 #include "utils_dates.h"
+#include "gsb_file.h"
 #include "gsb_form_scheduler.h"
 #include "gsb_form_transaction.h"
 #include "gsb_form_widget.h"
diff --git a/src/gsb_form_config.c b/src/gsb_form_config.c
index 761adcb..d1cbcdc 100644
--- a/src/gsb_form_config.c
+++ b/src/gsb_form_config.c
@@ -34,18 +34,19 @@
 
 /*START_INCLUDE*/
 #include "gsb_form_config.h"
-#include "utils.h"
 #include "dialog.h"
 #include "gsb_account.h"
 #include "gsb_automem.h"
 #include "gsb_data_account.h"
 #include "gsb_data_form.h"
+#include "gsb_file.h"
 #include "gsb_form.h"
 #include "gsb_form_widget.h"
 #include "navigation.h"
-#include "utils_str.h"
-#include "traitement_variables.h"
 #include "structures.h"
+#include "traitement_variables.h"
+#include "utils.h"
+#include "utils_str.h"
 /*END_INCLUDE*/
 
 /*START_STATIC*/
diff --git a/src/gsb_fyear_config.c b/src/gsb_fyear_config.c
index 46c76c8..135344e 100644
--- a/src/gsb_fyear_config.c
+++ b/src/gsb_fyear_config.c
@@ -42,6 +42,7 @@
 #include "gsb_data_account.h"
 #include "gsb_data_fyear.h"
 #include "gsb_data_transaction.h"
+#include "gsb_file.h"
 #include "gsb_fyear.h"
 #include "traitement_variables.h"
 #include "utils.h"
diff --git a/src/gsb_payment_method_config.c b/src/gsb_payment_method_config.c
index 7346bfc..3cc73e0 100644
--- a/src/gsb_payment_method_config.c
+++ b/src/gsb_payment_method_config.c
@@ -40,15 +40,16 @@
 #include "gsb_data_payment.h"
 #include "gsb_data_scheduled.h"
 #include "gsb_data_transaction.h"
+#include "gsb_file.h"
 #include "gsb_form.h"
 #include "gsb_form_widget.h"
 #include "gsb_payment_method.h"
 #include "gsb_reconcile_sort_config.h"
+#include "gsb_transactions_list.h"
+#include "structures.h"
 #include "traitement_variables.h"
-#include "utils.h"
 #include "transaction_list.h"
-#include "structures.h"
-#include "gsb_transactions_list.h"
+#include "utils.h"
 /*END_INCLUDE*/
 
 /*START_STATIC*/
diff --git a/src/gsb_reconcile.c b/src/gsb_reconcile.c
index 6aa8ee4..e369934 100644
--- a/src/gsb_reconcile.c
+++ b/src/gsb_reconcile.c
@@ -44,6 +44,7 @@
 #include "gsb_data_account.h"
 #include "gsb_data_reconcile.h"
 #include "gsb_data_transaction.h"
+#include "gsb_file.h"
 #include "gsb_form.h"
 #include "gsb_form_widget.h"
 #include "navigation.h"
diff --git a/src/gsb_reconcile_config.c b/src/gsb_reconcile_config.c
index 6c7894c..ac9b1b4 100644
--- a/src/gsb_reconcile_config.c
+++ b/src/gsb_reconcile_config.c
@@ -41,6 +41,7 @@
 #include "gsb_automem.h"
 #include "gsb_data_account.h"
 #include "gsb_data_reconcile.h"
+#include "gsb_file.h"
 #include "gsb_real.h"
 #include "gsb_transactions_list.h"
 #include "navigation.h"
diff --git a/src/gsb_reconcile_sort_config.c b/src/gsb_reconcile_sort_config.c
index 512c51f..93db272 100644
--- a/src/gsb_reconcile_sort_config.c
+++ b/src/gsb_reconcile_sort_config.c
@@ -39,10 +39,11 @@
 #include "gsb_reconcile_sort_config.h"
 #include "gsb_data_account.h"
 #include "gsb_data_payment.h"
+#include "gsb_file.h"
+#include "structures.h"
 #include "traitement_variables.h"
-#include "utils_str.h"
 #include "utils.h"
-#include "structures.h"
+#include "utils_str.h"
 /*END_INCLUDE*/
 
 /*START_STATIC*/
diff --git a/src/gsb_scheduler.c b/src/gsb_scheduler.c
index c795105..d36a609 100644
--- a/src/gsb_scheduler.c
+++ b/src/gsb_scheduler.c
@@ -34,20 +34,21 @@
 
 /*START_INCLUDE*/
 #include "gsb_scheduler.h"
-#include "utils_dates.h"
+#include "accueil.h"
 #include "gsb_currency.h"
 #include "gsb_data_fyear.h"
 #include "gsb_data_payment.h"
 #include "gsb_data_scheduled.h"
 #include "gsb_data_transaction.h"
 #include "gsb_form_transaction.h"
-#include "accueil.h"
+#include "gsb_file.h"
 #include "gsb_scheduler_list.h"
 #include "gsb_transactions_list.h"
 #include "main.h"
+#include "structures.h"
 #include "traitement_variables.h"
+#include "utils_dates.h"
 #include "erreur.h"
-#include "structures.h"
 /*END_INCLUDE*/
 
 /*START_STATIC*/
diff --git a/src/gsb_scheduler_list.c b/src/gsb_scheduler_list.c
index 9d6e4c7..c692e77 100644
--- a/src/gsb_scheduler_list.c
+++ b/src/gsb_scheduler_list.c
@@ -49,6 +49,7 @@
 #include "gsb_data_payee.h"
 #include "gsb_data_scheduled.h"
 #include "gsb_dirs.h"
+#include "gsb_file.h"
 #include "gsb_form.h"
 #include "gsb_form_scheduler.h"
 #include "gsb_real.h"
diff --git a/src/gsb_transactions_list.c b/src/gsb_transactions_list.c
index ad8ee75..1b29602 100644
--- a/src/gsb_transactions_list.c
+++ b/src/gsb_transactions_list.c
@@ -53,6 +53,7 @@
 #include "gsb_data_reconcile.h"
 #include "gsb_data_scheduled.h"
 #include "gsb_data_transaction.h"
+#include "gsb_file.h"
 #include "gsb_form.h"
 #include "gsb_form_transaction.h"
 #include "gsb_real.h"
diff --git a/src/metatree.c b/src/metatree.c
index d5e8c7b..c5a6bef 100644
--- a/src/metatree.c
+++ b/src/metatree.c
@@ -41,6 +41,7 @@
 #include "gsb_data_payee.h"
 #include "gsb_data_scheduled.h"
 #include "gsb_data_transaction.h"
+#include "gsb_file.h"
 #include "gsb_real.h"
 #include "gsb_transactions_list.h"
 #include "gtk_combofix.h"
diff --git a/src/parametres.c b/src/parametres.c
index a04d15a..2ed4092 100644
--- a/src/parametres.c
+++ b/src/parametres.c
@@ -1617,6 +1617,8 @@ void gsb_localisation_update_affichage ( gint type_maj )
         kind = gsb_data_account_get_kind ( account_number );
         switch ( kind )
         {
+            case GSB_TYPE_BALANCE:
+                break;
             case GSB_TYPE_BANK:
             case GSB_TYPE_CASH:
                 if ( account_current_page == 1 || account_current_page == 2 )
diff --git a/src/tiers_onglet.c b/src/tiers_onglet.c
index 0287412..7fa557d 100644
--- a/src/tiers_onglet.c
+++ b/src/tiers_onglet.c
@@ -46,6 +46,7 @@
 #include "gsb_data_payee.h"
 #include "gsb_data_scheduled.h"
 #include "gsb_data_transaction.h"
+#include "gsb_file.h"
 #include "gsb_form_widget.h"
 #include "gsb_status.h"
 #include "gsb_transactions_list.h"


hooks/post-receive
-- 
grisbi


More information about the cvs mailing list