[grisbi-cvs] [SCM] grisbi branch, master, updated. upstream_version_0_9_5-195-g1aa5719

Pierre Biava nobody at users.sourceforge.net
Mon Nov 12 06:18:32 CET 2012


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  1aa5719cf96649f2d167822138d6358b163bd1b6 (commit)
       via  6842ae171ceab55ae8bd5a7951eb36c35a1b4641 (commit)
       via  f36a5d51e40c789c7d7bf34987b64588d221e25b (commit)
      from  8fb838b3c70361cf17c20c60a40bc7531db6db63 (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 1aa5719cf96649f2d167822138d6358b163bd1b6
Author: pbiava <pierre.biava at nerim.net>
Date:   Sun Nov 11 20:13:19 2012 +0100

    removing spaces of end of lines

commit 6842ae171ceab55ae8bd5a7951eb36c35a1b4641
Author: pbiava <pierre.biava at nerim.net>
Date:   Sun Nov 11 09:34:31 2012 +0100

    renaming GsbaccountNotebookPages in GsbAccountNotebookPages

commit f36a5d51e40c789c7d7bf34987b64588d221e25b
Author: pbiava <pierre.biava at nerim.net>
Date:   Sun Nov 11 09:28:23 2012 +0100

    deleting deprecated symbol: GtkNotebookPage

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

Changes:
diff --git a/src/affichage.c b/src/affichage.c
index 01ce7b0..f596bb3 100644
--- a/src/affichage.c
+++ b/src/affichage.c
@@ -181,7 +181,7 @@ GtkWidget * onglet_display_fonts ( void )
     hbox = gtk_hbox_new ( FALSE, 10 );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ), hbox, FALSE, FALSE, 0 );
 
-    check_button = gtk_check_button_new_with_label ( 
+    check_button = gtk_check_button_new_with_label (
                         _("Use a custom font for the transactions: "));
     gtk_box_pack_start ( GTK_BOX ( hbox ), check_button, FALSE, FALSE, 0 );
     gtk_toggle_button_set_active ( GTK_TOGGLE_BUTTON ( check_button ),
@@ -258,7 +258,7 @@ gboolean change_choix_utilise_logo ( GtkWidget *check_button,
                         GtkWidget *hbox )
 {
 
-    etat.utilise_logo = gtk_toggle_button_get_active ( GTK_TOGGLE_BUTTON 
+    etat.utilise_logo = gtk_toggle_button_get_active ( GTK_TOGGLE_BUTTON
                             ( check_button ));
     gtk_widget_set_sensitive ( hbox, etat.utilise_logo );
 
@@ -378,33 +378,33 @@ GtkWidget *onglet_display_addresses ( void )
     g_object_set_data ( G_OBJECT ( radiogroup ), "display", GINT_TO_POINTER ( GSB_ACCOUNTS_TITLE ) );
     if ( conf.display_grisbi_title == GSB_ACCOUNTS_TITLE )
         gtk_toggle_button_set_active ( GTK_TOGGLE_BUTTON ( radiogroup ), TRUE );
-    g_signal_connect ( G_OBJECT ( radiogroup ), 
+    g_signal_connect ( G_OBJECT ( radiogroup ),
                         "toggled",
-                        G_CALLBACK ( change_grisbi_title_type ), 
+                        G_CALLBACK ( change_grisbi_title_type ),
                         entry );
     gtk_box_pack_start ( GTK_BOX( hbox ), radiogroup, FALSE, FALSE, 0 );
 
-    radio = gtk_radio_button_new_with_label_from_widget ( 
+    radio = gtk_radio_button_new_with_label_from_widget (
                         GTK_RADIO_BUTTON ( radiogroup ),
                         _("Account owner name") );
     g_object_set_data ( G_OBJECT ( radio ), "display", GINT_TO_POINTER ( GSB_ACCOUNT_HOLDER ) );
     if ( conf.display_grisbi_title == GSB_ACCOUNT_HOLDER )
             gtk_toggle_button_set_active ( GTK_TOGGLE_BUTTON ( radio ), TRUE );
-    g_signal_connect ( G_OBJECT ( radio ), 
+    g_signal_connect ( G_OBJECT ( radio ),
                     "toggled",
-                    G_CALLBACK ( change_grisbi_title_type ), 
+                    G_CALLBACK ( change_grisbi_title_type ),
                     entry );
     gtk_box_pack_start ( GTK_BOX( hbox ), radio, FALSE, FALSE, 0 );
 
-    radio = gtk_radio_button_new_with_label_from_widget ( 
+    radio = gtk_radio_button_new_with_label_from_widget (
                         GTK_RADIO_BUTTON ( radiogroup ),
                         _("Filename") );
     g_object_set_data ( G_OBJECT ( radio ), "display", GINT_TO_POINTER ( GSB_ACCOUNTS_FILE ) );
     if ( conf.display_grisbi_title == GSB_ACCOUNTS_FILE )
         gtk_toggle_button_set_active ( GTK_TOGGLE_BUTTON ( radio ), TRUE );
-    g_signal_connect ( G_OBJECT ( radio ), 
+    g_signal_connect ( G_OBJECT ( radio ),
                         "toggled",
-                        G_CALLBACK ( change_grisbi_title_type ), 
+                        G_CALLBACK ( change_grisbi_title_type ),
                         entry );
     gtk_box_pack_start ( GTK_BOX( hbox ), radio, FALSE, FALSE, 0 );
 
@@ -528,19 +528,19 @@ void change_logo_accueil ( GtkWidget * file_selector )
                 }
 
                 gsb_select_icon_set_logo_pixbuf ( pixbuf );
-                preview = gtk_image_new_from_pixbuf ( 
-                        gdk_pixbuf_scale_simple ( 
+                preview = gtk_image_new_from_pixbuf (
+                        gdk_pixbuf_scale_simple (
                         pixbuf, 48, 48, GDK_INTERP_BILINEAR ) );
-                
+
                 /* Update homepage logo */
                 gtk_widget_destroy ( logo_accueil );
-                
-                logo_accueil =  gtk_image_new_from_pixbuf ( 
+
+                logo_accueil =  gtk_image_new_from_pixbuf (
                                     gsb_select_icon_get_logo_pixbuf ( ) );
                 gtk_box_pack_start ( GTK_BOX ( hbox_title ), logo_accueil, FALSE, FALSE, 0 );
                 gtk_widget_show ( logo_accueil );
                 /* modify the icon of grisbi (set in the panel of gnome or other) */
-                gtk_window_set_default_icon ( 
+                gtk_window_set_default_icon (
                             gsb_select_icon_get_logo_pixbuf ( ) );
             }
 
@@ -548,7 +548,7 @@ void change_logo_accueil ( GtkWidget * file_selector )
         }
         gtk_widget_show ( preview );
         gtk_container_add ( GTK_CONTAINER ( logo_button ), preview );
-        
+
         /* Mark file as modified */
         gsb_file_set_modified ( TRUE );
     }
@@ -574,7 +574,7 @@ gboolean modification_logo_accueil ( )
     else
         gtk_file_chooser_set_current_folder ( GTK_FILE_CHOOSER (
                         file_selector ), gsb_file_get_last_path () );
-        
+
     gtk_window_set_position ( GTK_WINDOW ( file_selector ), GTK_WIN_POS_CENTER_ON_PARENT );
 
     /* create the preview */
@@ -620,7 +620,7 @@ static gboolean preferences_view_update_preview_logo ( GtkFileChooser *file_choo
   if (!filename)
       return FALSE;
 
-  pixbuf = gdk_pixbuf_new_from_file_at_size ( filename, 
+  pixbuf = gdk_pixbuf_new_from_file_at_size ( filename,
                         LOGO_WIDTH, LOGO_HEIGHT, NULL );
   have_preview = ( pixbuf != NULL );
   g_free (filename);
@@ -949,7 +949,7 @@ gboolean change_grisbi_title_type ( GtkRadioButton *button, GtkWidget *entry )
 {
     if ( gtk_toggle_button_get_active ( GTK_TOGGLE_BUTTON ( button ) ) )
     {
-        conf.display_grisbi_title = GPOINTER_TO_INT ( g_object_get_data 
+        conf.display_grisbi_title = GPOINTER_TO_INT ( g_object_get_data
                         ( G_OBJECT ( button ), "display" ) );
     }
 
diff --git a/src/affichage_liste.c b/src/affichage_liste.c
index 7d217f9..5d86304 100644
--- a/src/affichage_liste.c
+++ b/src/affichage_liste.c
@@ -20,7 +20,7 @@
 /*  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
 /*                                                                            */
 /* ************************************************************************** */
- 
+
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
@@ -532,7 +532,7 @@ GtkWidget *onglet_diverse_form_and_lists ( void )
 							 NULL, NULL);
 
     /* automatic amount separatior fields */
-    paddingbox = new_paddingbox_with_title (vbox_pref, FALSE, 
+    paddingbox = new_paddingbox_with_title (vbox_pref, FALSE,
 					    _("Automatic amount separator"));
 
     gtk_box_pack_start ( GTK_BOX ( paddingbox ),
@@ -647,7 +647,7 @@ GtkWidget *onglet_form_completion ( void )
                         G_CALLBACK (gsb_transactions_list_display_change_max_items),
                         NULL );
     gtk_box_pack_start ( GTK_BOX (hbox), entry, FALSE, FALSE, 0 );
-    
+
     if ( !gsb_data_account_get_accounts_amount () )
     {
         gtk_widget_set_sensitive ( vbox_pref, FALSE );
@@ -749,11 +749,11 @@ void gsb_transactions_list_display_show_gives_balance ( void )
 
 
 /**
- * Appellée lorsqu'on coche la case 
+ * Appellée lorsqu'on coche la case
  * "Automatic filling transactions from payee"
  *
- * \param 
- * \param 
+ * \param
+ * \param
  *
  * \return FALSE
  * */
@@ -780,7 +780,7 @@ gboolean gsb_transactions_list_display_update_auto_checkbutton ( GtkWidget *chec
         button = g_object_get_data ( G_OBJECT ( container ), "button_3" );
         gtk_widget_set_sensitive ( button, FALSE );
     }
- 
+
     return FALSE;
 }
 
@@ -870,7 +870,7 @@ GtkWidget *gsb_transaction_list_config_create_tree_view ( GtkListStore *store )
     tree_view = gtk_tree_view_new_with_model ( GTK_TREE_MODEL ( store ) );
 
     gtk_tree_view_set_grid_lines ( GTK_TREE_VIEW ( tree_view ), GTK_TREE_VIEW_GRID_LINES_BOTH );
-    
+
     gtk_tree_selection_set_mode ( GTK_TREE_SELECTION (
                         gtk_tree_view_get_selection ( GTK_TREE_VIEW ( tree_view ) ) ),
                         GTK_SELECTION_NONE );
@@ -1023,7 +1023,7 @@ gboolean gsb_transaction_list_config_drag_begin ( GtkWidget *tree_view,
 
     return FALSE;
 }
-					
+
 
 /**
  * called when we end a drag,
@@ -1205,7 +1205,7 @@ gboolean gsb_transaction_list_config_fill_store ( GtkWidget *tree_view )
     gint j;
 
     store = GTK_LIST_STORE ( gtk_tree_view_get_model ( GTK_TREE_VIEW ( tree_view ) ) );
-						
+
     gtk_list_store_clear ( store );
 
     for ( i=0 ; i<TRANSACTION_LIST_ROWS_NB ; i++ )
@@ -1310,7 +1310,7 @@ void gsb_transaction_list_config_toggle_element_button ( GtkWidget *toggle_butto
 
         /* on change la couleur du bouton */
         gsb_transaction_list_config_button_set_normal_color ( toggle_button, FALSE );
-                        
+
         /* button is on, append the element */
         for ( row = 3 ; row >= 0 ; row-- )
         {
diff --git a/src/bet_config.c b/src/bet_config.c
index ca5ca17..ce83d80 100644
--- a/src/bet_config.c
+++ b/src/bet_config.c
@@ -117,7 +117,7 @@ GtkWidget *bet_config_general_create_general_page ( void )
 
     vbox = new_vbox_with_title_and_icon ( _("General Options"), "balance_estimate.png" );
     gtk_container_set_border_width ( GTK_CONTAINER ( vbox ), 12 );
-    
+
     /* Calculation of period */
     paddingbox = new_paddingbox_with_title ( vbox, FALSE, _("Common data") );
 
@@ -178,7 +178,7 @@ GtkWidget *bet_config_general_get_period_widget ( GtkWidget *container )
                         _("1st day of month") );
     gtk_widget_set_name ( button_1, "bet_period_button_1" );
     gtk_size_group_add_widget ( GTK_SIZE_GROUP ( size_group ), button_1 );
-    
+
     button_2 = gtk_radio_button_new_with_label_from_widget (
                         GTK_RADIO_BUTTON ( button_1 ),
                         _("date today") );
@@ -225,7 +225,7 @@ gboolean bet_config_general_cash_account_option_clicked ( GtkWidget *checkbutton
                         gpointer null )
 {
     GtkWidget *combo;
-    
+
     combo = g_object_get_data ( G_OBJECT ( account_page ), "account_combo" );
     if ( combo )
     {
@@ -438,8 +438,8 @@ GtkWidget *bet_config_get_duration_widget ( gint origin )
             widget = gtk_radio_button_new_with_label ( NULL,
                         _(bet_duration_array[iduration]) );
             previous = widget;
-        }  
-        else 
+        }
+        else
         {
             widget = gtk_radio_button_new_with_label_from_widget (
                         GTK_RADIO_BUTTON ( previous ),
@@ -888,7 +888,7 @@ gboolean bet_config_duration_number_changed ( GtkWidget *spin_button,
     months = gtk_spin_button_get_value_as_int ( GTK_SPIN_BUTTON ( spin_button ) );
     if ( gsb_data_account_get_bet_spin_range ( account_number ) == 1 )
         months *= 12;
-                                               
+
     gsb_data_account_set_bet_months ( account_number, months );
 
     gsb_file_set_modified ( TRUE );
@@ -1120,7 +1120,7 @@ gboolean bet_config_select_label_changed ( GtkWidget *checkbutton,
     gsb_data_account_set_bet_select_label ( account_number, origine, value );
 
     gsb_file_set_modified ( TRUE );
-    
+
     gsb_data_account_set_bet_maj ( account_number, BET_MAJ_ESTIMATE );
     bet_data_update_bet_module ( account_number, -1 );
 
diff --git a/src/bet_data.c b/src/bet_data.c
index d6a2528..3cb8a13 100644
--- a/src/bet_data.c
+++ b/src/bet_data.c
@@ -123,8 +123,8 @@ void bet_data_select_bet_pages ( gint account_number )
         gtk_widget_hide ( page );
         bet_historical_g_signal_unblock_tree_view ( );
         gsb_data_account_set_bet_maj ( account_number, BET_MAJ_ALL );
-        if ( current_page < GSB_PROPERTIES_PAGE 
-         && 
+        if ( current_page < GSB_PROPERTIES_PAGE
+         &&
          gsb_data_account_get_bet_use_budget ( account_number ) == FALSE )
             gtk_notebook_set_current_page ( GTK_NOTEBOOK ( account_page ), GSB_TRANSACTIONS_PAGE );
         if ( current_page == GSB_FINANCE_PAGE )
@@ -169,7 +169,7 @@ void bet_data_select_bet_pages ( gint account_number )
 /*
  * Met à jour les données à afficher dans les différentes vues du module
  *
- * 
+ *
  */
 void bet_data_update_bet_module ( gint account_number, guint page )
 {
@@ -218,9 +218,9 @@ void bet_data_update_bet_module ( gint account_number, guint page )
 
 /**
  * used when we init all the global variables
- * 
+ *
  * \param
- * 
+ *
  * \return FALSE
  * */
 gboolean bet_data_init_variables ( void )
@@ -375,7 +375,7 @@ gboolean bet_data_remove_div_hist ( gint account_number, gint div_number, gint s
     char *sub_key;
     struct_hist_div *shd;
     gboolean return_val = FALSE;
-    
+
     key = bet_data_get_key ( account_number, div_number );
 
     if ( ( shd = g_hash_table_lookup ( bet_hist_div_list, key ) ) )
@@ -729,7 +729,7 @@ gboolean bet_data_populate_div ( gint transaction_number,
 
 
 /**
- * Ajout des données à la division et création de la sous division si elle 
+ * Ajout des données à la division et création de la sous division si elle
  * n'existe pas.
  *
  *
@@ -960,7 +960,7 @@ void bet_data_synchronise_hist_div_list ( GHashTable  *list_div )
     SH *sh = NULL;
 
     g_hash_table_iter_init ( &iter, bet_hist_div_list );
-    while ( g_hash_table_iter_next ( &iter, &key, &value ) ) 
+    while ( g_hash_table_iter_next ( &iter, &key, &value ) )
     {
         struct_hist_div *shd = ( struct_hist_div* ) value;
         GHashTableIter new_iter;
@@ -996,7 +996,7 @@ void bet_data_synchronise_hist_div_list ( GHashTable  *list_div )
 SBR *struct_initialise_bet_range ( void )
 {
 	SBR	*sbr;
-	
+
 	sbr = g_malloc0 ( sizeof ( SBR ) );
     sbr -> first_pass = TRUE;
     sbr -> min_date = NULL;
@@ -1150,7 +1150,7 @@ void struct_free_bet_future ( struct_futur_data *scheduled )
 gboolean bet_data_future_add_lines ( struct_futur_data *scheduled )
 {
     gchar *key;
-    
+
     future_number ++;
 
     if ( scheduled -> frequency == 0 )
@@ -1248,9 +1248,9 @@ GHashTable *bet_data_future_get_list ( void )
 
 /**
  * find and return the next date after the given date for the given futur data
- * 
  *
- * \param struct_futur_data 
+ *
+ * \param struct_futur_data
  * \param date the current date, we want the next one after that one
  *
  * \return a newly allocated date, the next date or NULL if over the limit
@@ -1329,7 +1329,7 @@ GDate *bet_data_futur_get_next_date ( struct_futur_data *scheduled,
 
     if ( scheduled -> limit_date )
     {
-	 
+
 	    if ( g_date_compare ( return_date, scheduled -> limit_date ) > 0 )
         {
             g_date_free (return_date);
@@ -1344,7 +1344,7 @@ GDate *bet_data_futur_get_next_date ( struct_futur_data *scheduled,
             return_date = NULL;
         }
     }
-    
+
     return ( return_date );
 }
 
@@ -1414,7 +1414,7 @@ gboolean bet_data_future_remove_line ( gint account_number, gint number, gboolea
     gpointer key, value;
 
     g_hash_table_iter_init ( &iter, bet_future_list );
-    while (g_hash_table_iter_next ( &iter, &key, &value ) ) 
+    while (g_hash_table_iter_next ( &iter, &key, &value ) )
     {
         struct_futur_data *scheduled = ( struct_futur_data *) value;
 
@@ -1459,7 +1459,7 @@ gboolean bet_data_future_remove_lines ( gint account_number,
     gpointer key, value;
 
     g_hash_table_iter_init ( &iter, bet_future_list );
-    while (g_hash_table_iter_next ( &iter, &key, &value ) ) 
+    while (g_hash_table_iter_next ( &iter, &key, &value ) )
     {
         struct_futur_data *scheduled = ( struct_futur_data *) value;
 
@@ -1522,7 +1522,7 @@ GDate *bet_data_array_get_date_max ( gint account_number )
 
 
 /**
- * modify futures data lines 
+ * modify futures data lines
  *
  *
  *
@@ -1618,7 +1618,7 @@ GHashTable *bet_data_transfert_get_list ( void )
 gboolean bet_data_transfert_add_line ( struct_transfert_data *transfert )
 {
     gchar *key;
-    
+
     transfert_number ++;
 
     key = bet_data_get_key ( transfert -> account_number, transfert_number );
@@ -1644,11 +1644,11 @@ gboolean bet_data_transfert_remove_line ( gint account_number, gint number )
     gpointer key, value;
 
     g_hash_table_iter_init ( &iter, bet_transfert_list );
-    while (g_hash_table_iter_next ( &iter, &key, &value ) ) 
+    while (g_ha h_table_iter_next ( &iter, &key, &value ) )    ( gint account_number, gint number )    ¢eƒ¨+          r)fƒ¨+   ÑG_ÿ         ÑG_ÿ  uªeƒ¨+  €Êfƒ¨+  ņƒ¨+                          ’¸‚„¨+  ÑG_ÿ  €Ð¤„¨+          €ÆG_ÿ         PÅG_ÿ  kÀeƒ¨+  6                    è     è!     è!      ÑG_ÿ  ÑG_ÿ  xt‚„¨+          €ÇG_ÿ          ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ  `¢eƒ¨+  _ÑG_ÿ         Ào愨+  uªeƒ¨+   `愨+  Ød愨+  ¨i愨+  €Êfƒ¨+          xt‚„¨+          €ÇG_ÿ          PÆG_ÿ  kÀeƒ¨+  à!     à!      ÑG_ÿ  ÑG_ÿ  H>b„¨+          `ÈG_ÿ         ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ  `¢eƒ¨+  _ÑG_ÿ  PÑG_ÿ  HÑG_ÿ  8ˆƒ¨+  Œp˜        ÑG_ÿ  uªeƒ¨+  €Êfƒ¨+                  `ÈG_ÿ         0ÇG_ÿ  kÀeƒ¨+          G       H   I       J   K           M   N   O       P    ÑG_ÿ  ÑG_ÿ  Hõ8„¨+           ÊG_ÿ         ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ         0o愨+  uªeƒ¨+   €‚„¨+   )„¨+   `愨+  Ød愨+  ¨i愨+  €Êfƒ¨+          Hõ8„¨+           ÊG_ÿ        
  @ÈG_ÿ  kÀeƒ¨+  8õ8„¨+           ÊG_ÿ         pÈG_ÿ  kÀeƒ¨+  (õ8„¨+           ÊG_ÿ          ÈG_ÿ  kÀeƒ¨+  õ8„¨+           ÊG_ÿ         ÐÈG_ÿ  kÀeƒ¨+  	       ¨n愨+  uªeƒ¨+         ¨i愨+  PÃG_ÿ          Šx„¨+  e©eƒ¨+         Ød愨+  pÉG_ÿ          yx„¨+  e©eƒ¨+          `愨+   ÉG_ÿ          Zx„¨+  e©eƒ¨+  Ø$„¨+   €‚„¨+   )„¨+   `愨+  ؄‚„¨+  Ød愨+  ¨i愨+  €Êfƒ¨+          8ˆƒ¨+                        íშ+  ÑG_ÿ  p»„¨+          PËG_ÿ           ÊG_ÿ  kÀeƒ¨+      5   6   7   8   :   <   =   >       ?       @   B   D        ÑG_ÿ  ÑG_ÿ  àíރ¨+                 ÑG_ÿ  uªeƒ¨+         ņƒ¨+  ÐÉG_ÿ          íშ+  e©eƒ¨+  ņƒ¨+          Õ_ at fÆS         Qöl±íÁ®ƒ¨+  ÑG_ÿ  àíރ¨+          `ÌG_ÿ         0ËG_ÿ  kÀeƒ¨+  u]ÞÓ	4Q ÷U^Qʉ§ ¶uª¹ñìò*ēv ÑG_ÿ  ÑG_ÿ  H>«ƒ¨+          „烨+          ÐÒG_ÿ  ¦I…¨+  ¦I…¨+         Ö䃨+  _ÑG_ÿ  ÒG_ÿ  HÑG_ÿ  °ÍG_ÿ  ‚„¨+  uªeƒ¨+  ؄‚„¨+  ÔG_ÿ  ¢I…¨+  àÒG_ÿ          pÎG_ÿ             
     ÿÿÿÿÿÿÿÿ¢I…¨+          ˜ÑG_ÿ                 sh_table_iter_next ( &iter, &key, &value ) )
     {
         struct_transfert_data *transfert = ( struct_transfert_data *) value;
 
-        if ( account_number != transfert -> account_number 
+        if ( account_number != transfert -> account_number
          ||
          number != transfert -> number)
             continue;
@@ -1689,7 +1689,7 @@ gboolean bet_data_transfert_set_line_from_file ( struct_transfert_data *transfer
 
 
 /**
- * modify transfert line 
+ * modify transfert line
  *
  *
  *
@@ -1969,7 +1969,7 @@ gboolean bet_data_remove_all_bet_data ( gint account_number )
         if ( g_hash_table_size ( tmp_list ) == 0 )
             return TRUE;
     }
-   
+
     return TRUE;
 }
 
@@ -2018,7 +2018,7 @@ gchar *bet_data_get_str_amount_in_account_currency ( gsb_real amount,
     gint account_currency;
     gint floating_point;
     gsb_real new_amount;
-    
+
     account_currency = gsb_data_account_get_currency ( account_number );
     floating_point = gsb_data_account_get_currency_floating_point ( account_number );
 
diff --git a/src/bet_data_finance.c b/src/bet_data_finance.c
index fbf1b37..bca631f 100644
--- a/src/bet_data_finance.c
+++ b/src/bet_data_finance.c
@@ -203,7 +203,7 @@ GDate *bet_data_finance_get_date_last_installment_paid ( GDate *date_depart )
 
     if ( g_date_get_day ( date_jour ) > jour )
         g_date_add_months  ( date_jour, 1 );
-    
+
     g_date_set_day ( date_jour, jour );
 
     return date_jour;
diff --git a/src/bet_finance_ui.c b/src/bet_finance_ui.c
index cda75f3..5041ba8 100644
--- a/src/bet_finance_ui.c
+++ b/src/bet_finance_ui.c
@@ -171,7 +171,7 @@ GtkWidget *bet_finance_create_page ( void )
     /* create the array page */
     page = bet_finance_create_amortization_page ( );
     gtk_notebook_append_page ( GTK_NOTEBOOK ( finance_notebook ), page, NULL );
-    
+
     return finance_notebook;
 }
 
@@ -217,7 +217,7 @@ GtkWidget *bet_finance_create_simulator_page ( void )
     /* titre de la page */
     align = gtk_alignment_new (0.5, 0.0, 0.0, 0.0);
     gtk_box_pack_start ( GTK_BOX ( page ), align, FALSE, FALSE, 5);
- 
+
     label_title = gtk_label_new ( _("Credits simulator") );
     gtk_container_add ( GTK_CONTAINER ( align ), label_title );
 
@@ -340,7 +340,7 @@ GtkWidget *bet_finance_create_duration_widget ( GtkWidget *parent )
     combobox = gsb_combo_box_new_with_index ( text_duration,
                         G_CALLBACK ( bet_finance_duration_button_changed ),
                         parent );
-    
+
     g_signal_handlers_block_by_func ( G_OBJECT ( combobox ),
                         G_CALLBACK ( bet_finance_duration_button_changed ),
                         parent );
@@ -392,7 +392,7 @@ GtkWidget *bet_finance_create_saisie_widget ( GtkWidget *parent )
                         "value-changed",
                         G_CALLBACK ( bet_finance_spin_button_fees_changed ),
                         parent );
-    
+
     tmp_str = g_strconcat (_("%"), _(" of borrowed capital"), NULL );
     label = gtk_label_new ( tmp_str );
     gtk_label_set_justify ( GTK_LABEL ( label ), GTK_JUSTIFY_LEFT );
@@ -1000,7 +1000,7 @@ void bet_finance_data_list_context_menu ( GtkWidget *tree_view, gint page_num )
                         G_CALLBACK ( bet_finance_switch_simulator_page ),
                         NULL );
         }
-        
+
     }
     else
     {
@@ -1075,7 +1075,7 @@ GtkWidget *bet_finance_create_amortization_page ( void )
     /* titre de la page */
     align = gtk_alignment_new (0.5, 0.0, 0.0, 0.0);
     gtk_box_pack_start ( GTK_BOX ( page ), align, FALSE, FALSE, 5);
- 
+
     label_title = gtk_label_new ( _("Amortization Table") );
     gtk_container_add ( GTK_CONTAINER ( align ), label_title );
 
@@ -1429,7 +1429,7 @@ void bet_finance_fill_amortization_array ( GtkWidget *menu_item,
     path = gtk_tree_path_new_first ( );
     gtk_tree_view_scroll_to_cell ( GTK_TREE_VIEW ( tree_view ), path, NULL, TRUE, 0.0, 0.0 );
     gtk_tree_selection_select_path ( gtk_tree_view_get_selection ( GTK_TREE_VIEW ( tree_view ) ), path );
-    
+
     gtk_tree_path_free ( path );
     bet_data_finance_structure_amortissement_free ( s_amortissement );
 }
@@ -1516,7 +1516,7 @@ GtkWidget *bet_finance_create_account_page ( void )
     /* titre de la page */
     align = gtk_alignment_new (0.5, 0.0, 0.0, 0.0);
     gtk_box_pack_start ( GTK_BOX ( page ), align, FALSE, FALSE, 5);
- 
+
     label_title = gtk_label_new ( _("Amortization Table") );
     g_object_set_data ( G_OBJECT ( account_page ), "bet_finance_amortization_title", label_title );
     gtk_container_add ( GTK_CONTAINER ( align ), label_title );
@@ -1727,7 +1727,7 @@ void bet_finance_ui_update_amortization_tab ( gint account_number )
     path = gtk_tree_path_new_first ( );
     gtk_tree_view_scroll_to_cell ( GTK_TREE_VIEW ( tree_view ), path, NULL, TRUE, 0.0, 0.0 );
     gtk_tree_selection_select_path ( gtk_tree_view_get_selection ( GTK_TREE_VIEW ( tree_view ) ), path );
-    
+
     gtk_tree_path_free ( path );
 }
 
diff --git a/src/bet_future.c b/src/bet_future.c
index 665e46f..f2a7497 100644
--- a/src/bet_future.c
+++ b/src/bet_future.c
@@ -137,7 +137,7 @@ void bet_future_initialise_dialog ( void )
     }
  }
 
- 
+
 /**
  *
  *
@@ -157,7 +157,7 @@ gboolean bet_future_new_line_dialog ( GtkTreeModel *tab_model,
     account_number = gsb_gui_navigation_get_current_account ( );
     if ( account_number == -1 )
         return FALSE;
-    
+
     if ( bet_futur_dialog == NULL )
     {
         bet_futur_dialog = bet_future_create_dialog ( account_number );
@@ -172,7 +172,7 @@ gboolean bet_future_new_line_dialog ( GtkTreeModel *tab_model,
     widget = bet_form_widget_get_widget ( TRANSACTION_FORM_DATE );
     date = gsb_parse_date_string ( str_date );
     date_jour = gdate_today ( );
-        
+
     if ( g_date_valid ( date ) )
     {
         if ( g_date_compare ( date_jour, date ) >= 0 )
@@ -283,7 +283,7 @@ GtkWidget *bet_future_create_dialog ( gint account_number )
  * */
 gboolean bet_form_create_scheduler_part ( GtkWidget *dialog, GtkWidget *table )
 {
-    
+
     GtkWidget *separator;
     GtkWidget *combo = NULL;
     gint column;
@@ -292,7 +292,7 @@ gboolean bet_form_create_scheduler_part ( GtkWidget *dialog, GtkWidget *table )
     if (!table)
         return FALSE;
 
-    /* ok, now fill the form 
+    /* ok, now fill the form
      * we play with height and width, but for now it's fix : 6 columns and 1 line */
 	for ( column=0 ; column < SCHEDULED_WIDTH ; column++ )
 	{
@@ -405,7 +405,7 @@ gboolean bet_form_create_scheduler_part ( GtkWidget *dialog, GtkWidget *table )
  * fill the form according to the account_number :
  *
  * \param account_number the number of account
- * 
+ *
  * \return FALSE
  * */
 gboolean bet_form_create_current_form ( GtkWidget *dialog,
@@ -507,7 +507,7 @@ gboolean bet_form_create_current_form ( GtkWidget *dialog,
     element -> element_widget = widget;
     bet_form_list_widgets = g_slist_append ( bet_form_list_widgets, element );
     column = 0;
-    row ++; 
+    row ++;
 
     element_number = TRANSACTION_FORM_EXERCICE;
     widget = gsb_fyear_make_combobox (TRUE);
@@ -574,7 +574,7 @@ gboolean bet_form_create_current_form ( GtkWidget *dialog,
     element -> element_widget = widget;
     bet_form_list_widgets = g_slist_append ( bet_form_list_widgets, element );
     column = 1;
-    row ++; 
+    row ++;
 
     element_number = TRANSACTION_FORM_BUDGET;
     widget = gtk_combofix_new (
@@ -731,7 +731,7 @@ gboolean bet_form_clean ( gint account_number )
 
         tmp_list = tmp_list -> next;
     }
-    
+
     /* clean the transactions widget */
     tmp_list = bet_form_list_widgets;
 
@@ -831,7 +831,7 @@ gboolean bet_form_clean ( gint account_number )
  *
  * \param combo_box
  *
- * \return FALSE 
+ * \return FALSE
  * */
 gboolean bet_form_scheduler_frequency_button_changed ( GtkWidget *combo_box,
                         GtkWidget *dialog )
@@ -839,7 +839,7 @@ gboolean bet_form_scheduler_frequency_button_changed ( GtkWidget *combo_box,
     gchar *selected_item;
 
     selected_item = gtk_combo_box_get_active_text ( GTK_COMBO_BOX ( combo_box ) );
-    
+
     if ( !strcmp ( selected_item, _("Once") ) )
     {
         gtk_widget_hide ( bet_form_scheduler_get_element_widget (
@@ -1011,7 +1011,7 @@ gboolean bet_form_entry_lose_focus ( GtkWidget *entry,
                 gtk_entry_set_text ( GTK_ENTRY ( widget_prov ), string );
                 gsb_form_widget_set_empty ( widget_prov, FALSE );
                 g_free ( string );
-                
+
                 widget = bet_form_widget_get_widget ( TRANSACTION_FORM_TYPE );
                 if ( widget
                      &&
@@ -1172,7 +1172,7 @@ GtkWidget *bet_form_widget_get_widget ( gint element_number )
  * \param widget wich receive the signal
  * \param ev
  * \param ptr_origin a pointer number of the element
- * 
+ *
  * \return FALSE
  * */
 gboolean bet_form_key_press_event ( GtkWidget *widget,
@@ -1189,7 +1189,7 @@ gboolean bet_form_key_press_event ( GtkWidget *widget,
     /* if conf.entree = 1, entry finish the transaction, else does as tab */
     if ( !conf.entree
 	 &&
-	 ( ev -> keyval == GDK_Return 
+	 ( ev -> keyval == GDK_Return
 	   ||
 	   ev -> keyval == GDK_KP_Enter ))
 	ev->keyval = GDK_Tab ;
@@ -1283,7 +1283,7 @@ gboolean bet_form_button_press_event ( GtkWidget *entry,
 {
     GtkWidget *date_entry;
     gint element_number;
-    
+
 
     element_number = GPOINTER_TO_INT ( ptr_origin );
 
@@ -1505,7 +1505,7 @@ static gboolean bet_future_get_budget_data ( GtkWidget *widget,
         budgetary_number = 0;
         sub_budgetary_number = 0;
     }
-        
+
     if ( struct_type == 0 )
     {
         struct_futur_data *sd = ( struct_futur_data *) value;
@@ -1602,7 +1602,7 @@ gboolean bet_future_set_form_data_from_line ( gint account_number,
         gtk_combofix_set_text ( GTK_COMBOFIX ( widget ), tmp_str );
         gtk_editable_set_position ( GTK_EDITABLE ( GTK_COMBOFIX ( widget ) -> entry ), 0 );
     }
-    
+
     if ( scheduled -> amount.mantissa < 0 )
     {
         widget = bet_form_widget_get_widget ( TRANSACTION_FORM_DEBIT );
@@ -1649,14 +1649,14 @@ gboolean bet_future_set_form_data_from_line ( gint account_number,
                         gsb_data_budget_get_name (  scheduled -> budgetary_number,
                         scheduled -> sub_budgetary_number, NULL ) );
     }
-    
+
     if ( scheduled -> notes && strlen ( scheduled -> notes ) > 0 )
     {
         widget = bet_form_widget_get_widget ( TRANSACTION_FORM_NOTES );
         gsb_form_widget_set_empty ( widget, FALSE );
         gtk_entry_set_text ( GTK_ENTRY ( widget ), scheduled -> notes );
     }
-    
+
     return TRUE;
 }
 
@@ -1722,7 +1722,7 @@ gboolean bet_future_take_data_from_form (  struct_futur_data *scheduled )
         date_tomorrow = gsb_date_tomorrow ( );
         scheduled -> date = gsb_calendar_entry_get_date ( widget );
         if ( scheduled -> date == NULL
-         || 
+         ||
          g_date_compare ( scheduled -> date, date_tomorrow ) < 0 )
         {
             g_date_free ( date_tomorrow );
@@ -1767,7 +1767,7 @@ gboolean bet_future_take_data_from_form (  struct_futur_data *scheduled )
 
     widget = bet_form_widget_get_widget ( TRANSACTION_FORM_TYPE );
     if ( gsb_form_widget_check_empty( widget ) == FALSE )
-        scheduled -> payment_number = 
+        scheduled -> payment_number =
                         gsb_payment_method_get_selected_number ( widget );
     else
         scheduled -> payment_number = 0;
@@ -1795,7 +1795,7 @@ gboolean bet_future_take_data_from_form (  struct_futur_data *scheduled )
         scheduled -> notes = g_strdup ( gtk_entry_get_text ( GTK_ENTRY ( widget ) ) );
     else
         scheduled -> notes = NULL;
-    
+
     return TRUE;
 }
 
@@ -1925,7 +1925,7 @@ static GtkListStore *bet_transfert_create_account_list_store ( gint account_numb
         GtkTreeIter iter;
 
         tmp_account_number = gsb_data_account_get_no_account ( tmp_list -> data );
-        
+
         if ( tmp_account_number != account_number )
         {
             bet_credit_card = gsb_data_account_get_bet_credit_card ( tmp_account_number );
@@ -2162,7 +2162,7 @@ static GtkWidget *bet_transfert_create_dialog ( gint account_number )
                         "focus-out-event",
                         G_CALLBACK ( bet_transfert_entry_lose_focus ),
                         GINT_TO_POINTER ( TRANSACTION_FORM_CATEGORY ) );
-    
+
     combo = gtk_combofix_new (
                         gsb_data_budget_get_name_list ( TRUE, TRUE ) );
     gtk_widget_set_size_request ( combo, width, -1 );
@@ -2279,7 +2279,7 @@ static GtkWidget *bet_transfert_create_dialog ( gint account_number )
     g_object_set_data ( G_OBJECT ( dialog ), "bet_transfert_main_payment_combo", combo );
 
     gtk_box_pack_start ( GTK_BOX ( hbox ), combo, FALSE, FALSE, 0 );
-    
+
     /* saisie des (sous)catégories et (sous)IB */
     hbox = gtk_hbox_new ( FALSE, 5 );
     gtk_box_pack_start ( GTK_BOX ( vbox ), hbox, FALSE, TRUE, 0 );
@@ -2314,7 +2314,7 @@ static GtkWidget *bet_transfert_create_dialog ( gint account_number )
                         "focus-out-event",
                         G_CALLBACK ( bet_transfert_entry_lose_focus ),
                         GINT_TO_POINTER ( TRANSACTION_FORM_CATEGORY ) );
-    
+
     combo = gtk_combofix_new (
                         gsb_data_budget_get_name_list ( TRUE, TRUE ) );
     gtk_widget_set_size_request ( combo, width, -1 );
@@ -2410,7 +2410,7 @@ static gboolean bet_transfert_take_data (  struct_transfert_data *transfert,
     {
         bet_future_get_category_data ( widget, 2, ( gpointer ) transfert );
     }
-   
+
     widget = g_object_get_data ( G_OBJECT ( dialog ), "bet_transfert_card_budget_combo" );
     if ( gsb_form_widget_check_empty( widget ) == FALSE )
     {
@@ -2456,7 +2456,7 @@ static gboolean bet_transfert_take_data (  struct_transfert_data *transfert,
             bet_future_get_category_data ( widget, 1, ( gpointer ) transfert );
             empty = FALSE;
         }
-       
+
         widget = g_object_get_data ( G_OBJECT ( dialog ), "bet_transfert_main_budget_combo" );
         if ( gsb_form_widget_check_empty( widget ) == FALSE )
         {
@@ -2716,7 +2716,7 @@ gboolean bet_transfert_new_line_dialog ( GtkTreeModel *tab_model,
     widget = g_object_get_data ( G_OBJECT ( bet_transfert_dialog ), "date_entry" );
     date = gsb_parse_date_string ( str_date );
     date_jour = gdate_today ( );
-        
+
     if ( g_date_valid ( date ) == FALSE )
         date = date_jour;
 
diff --git a/src/bet_graph.c b/src/bet_graph.c
index 41a0b3e..6332325 100644
--- a/src/bet_graph.c
+++ b/src/bet_graph.c
@@ -137,7 +137,7 @@ static GtkWidget *bet_graph_get_canvas  ( void );
 static void bet_graph_map_type_changed ( GtkComboBox *combo,
                         struct_bet_graph_data *self );
 static gboolean bet_graph_notebook_change_page ( GtkNotebook *notebook,
-                        GtkNotebookPage *npage,
+                        gpointer npage,
                         gint page,
                         struct_bet_graph_data *self );
 static gboolean bet_graph_populate_lines_by_forecast_data ( struct_bet_graph_data *self );
@@ -274,7 +274,7 @@ gboolean bet_graph_populate_sectors_by_sub_divisions ( struct_bet_graph_data *se
                         g_free ( amount );
                     }
                 }
-                
+
                 break;
             }
         }
@@ -343,7 +343,7 @@ static void bet_graph_affiche_sub_divisions ( struct_bet_graph_data *parent,
         title = g_markup_printf_escaped ( _("<span weight=\"bold\">"
                         "Display subdivisions items of budgetary: %s</span>"),
                         div_name );
-                        
+
     else
         title = g_markup_printf_escaped ( _("<span weight=\"bold\" size=\"large\">"
                         "Display subdivisions of category: %s</span>"),
@@ -1830,7 +1830,7 @@ void bet_graph_show_grid_button_configure (  struct_bet_graph_data *self,
  *
  * */
 gboolean bet_graph_notebook_change_page ( GtkNotebook *notebook,
-                        GtkNotebookPage *npage,
+                        gpointer npage,
                         gint page,
                         struct_bet_graph_data *self )
 {
diff --git a/src/bet_hist.c b/src/bet_hist.c
index f29df19..90aff89 100644
--- a/src/bet_hist.c
+++ b/src/bet_hist.c
@@ -140,7 +140,7 @@ GtkTreeModel *bet_fyear_model = NULL;
  * */
 GtkTreeModel *bet_fyear_model_filter = NULL;
 
- 
+
 /**
  * Create the historical page
  *
@@ -165,7 +165,7 @@ GtkWidget *bet_historical_create_page ( void )
     /* titre de la page */
     align = gtk_alignment_new (0.5, 0.0, 0.0, 0.0);
     gtk_box_pack_start ( GTK_BOX ( page ), align, FALSE, FALSE, 5) ;
- 
+
     label_title = gtk_label_new ( "bet_hist_title" );
     gtk_container_add ( GTK_CONTAINER ( align ), label_title );
     g_object_set_data ( G_OBJECT ( account_page ), "bet_hist_title", label_title);
@@ -350,7 +350,7 @@ gboolean bet_historical_div_toggle_clicked ( GtkCellRendererToggle *renderer,
                                 -1);
                     if ( bet_historical_amount_differ_average ( model, &parent) )
                         bet_data_set_div_amount ( account_number, div_number, 0, amount );
-                        
+
                     bet_historical_row_collapse_all ( NULL, &parent, model );
                 }
                 else
@@ -386,7 +386,7 @@ void bet_historical_div_cell_editing_started (GtkCellRenderer *cell,
                         const gchar *path_string,
                         GtkWidget *tree_view )
 {
-    if ( GTK_IS_ENTRY ( editable ) ) 
+    if ( GTK_IS_ENTRY ( editable ) )
         gtk_editable_delete_text ( GTK_EDITABLE ( editable ), 0, -1 );
 }
 
@@ -877,7 +877,7 @@ void bet_historical_populate_div_model ( gpointer key,
                         SPP_HISTORICAL_EDITED_COLUMN, edited,
                         -1);
 
-    if ( bet_data_search_div_hist ( account_nb, div_number, 0 ) 
+    if ( bet_data_search_div_hist ( account_nb, div_number, 0 )
      &&
      ( bet_data_get_div_edited ( account_nb, div_number, 0 )
       ||
@@ -907,7 +907,7 @@ void bet_historical_populate_div_model ( gpointer key,
         return;
 
     g_hash_table_iter_init ( &iter, sh -> list_sub_div );
-    while ( g_hash_table_iter_next ( &iter, &sub_key, &sub_value ) ) 
+    while ( g_hash_table_iter_next ( &iter, &sub_key, &sub_value ) )
     {
         SH *sub_sh = ( SH* ) sub_value;
         SBR *sub_sbr = sub_sh -> sbr;
@@ -1383,7 +1383,7 @@ void bet_historical_row_expanded_event ( GtkTreeView *tree_view,
 
 
 /**
- * Cette fonction compare le montant de la colonne montant retenu avec le montant 
+ * Cette fonction compare le montant de la colonne montant retenu avec le montant
  * de la colonne moyenne
  *
  * \ return O si egal -1 ou 1 si différent
@@ -1393,7 +1393,7 @@ gboolean bet_historical_amount_differ_average ( GtkTreeModel *model,
 {
     gchar *str_average;
     gchar *str_amount;
-    
+
     gtk_tree_model_get ( GTK_TREE_MODEL ( model ), iter,
                         SPP_HISTORICAL_AVERAGE_AMOUNT, &str_average,
                         SPP_HISTORICAL_RETAINED_AMOUNT, &str_amount,
@@ -1834,7 +1834,7 @@ GDate *bet_historical_get_start_date_current_fyear ( void )
  * \return 0    opération <= à date_max et < start_current_fyear (n'appartient pas à l'exercice en cours)
  * \return 1    opération > à date_max et > start_current_fyear (appartient à l'exercice en cours)
  * \return 2    opération <= à date_max et > start_current_fyear (appartient à l'exercice en cours)
- * \return -1   toutes les autres opérations 
+ * \return -1   toutes les autres opérations
  * */
 gint bet_historical_get_type_transaction ( const GDate *date,
                         GDate *start_current_fyear,
diff --git a/src/bet_tab.c b/src/bet_tab.c
index ca6704c..c7b7fe0 100644
--- a/src/bet_tab.c
+++ b/src/bet_tab.c
@@ -366,7 +366,7 @@ static void bet_array_list_replace_transactions_by_transfert ( GtkTreeModel *tab
 /*
  * Met à jour les données à afficher dans les différentes vues du module
  *
- * 
+ *
  */
 void bet_array_update_estimate_tab ( gint account_number, gint type_maj )
 {
@@ -412,7 +412,7 @@ static gint bet_array_date_sort_function ( GtkTreeModel *model,
         return -1;
 
     /* get first date to compare */
-    gtk_tree_model_get_value ( model, itera, 
+    gtk_tree_model_get_value ( model, itera,
                         SPP_ESTIMATE_TREE_SORT_DATE_COLUMN, &date_value_a );
     date_a = g_value_get_boxed ( &date_value_a );
     if ( date_a == NULL )
@@ -526,7 +526,7 @@ static gboolean bet_array_update_average_column ( GtkTreeModel *model,
         color_str = "red";
     else
         color_str = NULL;
-    
+
     gtk_tree_store_set ( GTK_TREE_STORE ( model ),
                         iter,
                         SPP_ESTIMATE_TREE_BALANCE_COLUMN, str_balance,
@@ -589,7 +589,7 @@ void bet_array_refresh_estimate_tab ( gint account_number )
     g_value_set_boxed ( &date_value, date_init );
 
     str_date_max = gsb_format_gdate ( date_max );
-    
+
     /* current balance may be in the future if there are transactions
      * in the future in the account. So we need to calculate the balance
      * of today */
@@ -994,11 +994,11 @@ void bet_array_refresh_scheduled_data ( GtkTreeModel *tab_model,
 
         div_number = bet_data_get_div_number ( scheduled_number, FALSE );
         sub_div_nb = bet_data_get_sub_div_nb ( scheduled_number, FALSE );
-        
+
         if ( div_number > 0
          &&
          bet_data_search_div_hist ( account_number, div_number, 0 )
-         && 
+         &&
          bet_array_sort_scheduled_transactions ( div_number, sub_div_nb, tab_model ) )
             continue;
 
@@ -1284,7 +1284,7 @@ void bet_array_list_add_new_hist_line ( GtkTreeModel *tab_model,
     /* devel_debug (NULL); */
     date_jour = gdate_today ( );
     date = gsb_date_get_last_day_of_month ( date_min );
-        
+
     /* initialise les données de la ligne insérée */
     gtk_tree_model_get ( GTK_TREE_MODEL ( model ), iter,
                         SPP_HISTORICAL_DESC_COLUMN, &str_description,
@@ -1313,7 +1313,7 @@ void bet_array_list_add_new_hist_line ( GtkTreeModel *tab_model,
         if ( g_date_compare ( date, date_max ) > 0 )
             break;
 
-        if ( g_date_compare ( date, date_min ) < 0 
+        if ( g_date_compare ( date, date_min ) < 0
          ||
          ( g_date_get_year ( date ) == g_date_get_year ( date_jour )
          &&
@@ -1331,7 +1331,7 @@ void bet_array_list_add_new_hist_line ( GtkTreeModel *tab_model,
         g_value_init ( &date_value, G_TYPE_DATE );
         if ( date == NULL )
             return;
-        g_value_set_boxed ( &date_value, date ); 
+        g_value_set_boxed ( &date_value, date );
 
         /* add a line in the estimate array */
         gtk_tree_store_append ( GTK_TREE_STORE ( tab_model ), &tab_iter, NULL );
@@ -1453,7 +1453,7 @@ gboolean bet_array_refresh_futur_data ( GtkTreeModel *tab_model,
         str_date = gsb_format_gdate ( scheduled -> date );
 
         g_value_init ( &date_value, G_TYPE_DATE );
-        g_value_set_boxed ( &date_value, scheduled -> date ); 
+        g_value_set_boxed ( &date_value, scheduled -> date );
 
         /* add a line in the estimate array */
         gtk_tree_store_append ( GTK_TREE_STORE ( tab_model ), &tab_iter, NULL );
@@ -1507,7 +1507,7 @@ gboolean bet_array_list_button_press ( GtkWidget *tree_view,
             return FALSE;
         }
     }
-        
+
     if ( ev -> type == GDK_2BUTTON_PRESS )
         bet_array_list_traite_double_click ( GTK_TREE_VIEW ( tree_view ) );
 
@@ -1547,7 +1547,7 @@ void bet_array_list_context_menu ( GtkWidget *tree_view,
                         -1 );
 
     date = gsb_parse_date_string ( str_date );
-    date_jour = gdate_today ( ); 
+    date_jour = gdate_today ( );
 
     menu = gtk_menu_new ();
 
@@ -1639,7 +1639,7 @@ void bet_array_list_context_menu ( GtkWidget *tree_view,
                         tree_selection );
             gtk_menu_shell_append ( GTK_MENU_SHELL ( menu ), menu_item );
 
-            menu_item = gtk_image_menu_item_new_with_label ( 
+            menu_item = gtk_image_menu_item_new_with_label (
                         _("Delete all occurences of the selection") );
             gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( menu_item ),
                         gtk_image_new_from_stock ( GTK_STOCK_DELETE,
@@ -1649,12 +1649,12 @@ void bet_array_list_context_menu ( GtkWidget *tree_view,
                         G_CALLBACK ( bet_array_list_delete_all_menu ),
                         tree_selection );
             gtk_menu_shell_append ( GTK_MENU_SHELL ( menu ), menu_item );
-            
+
             /* Separator */
             gtk_menu_shell_append ( GTK_MENU_SHELL ( menu ), gtk_separator_menu_item_new() );
 
             /* Convert to scheduled transaction */
-            menu_item = gtk_image_menu_item_new_with_label ( 
+            menu_item = gtk_image_menu_item_new_with_label (
                                 _("Convert selection to scheduled transaction") );
             gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( menu_item ),
                                 gtk_image_new_from_stock ( GTK_STOCK_CONVERT,
@@ -1978,9 +1978,9 @@ void bet_array_list_redo_menu ( GtkWidget *menu_item,
 
 /**
  * Cette fonction recalcule le montant des données historiques en fonction de la
- * consommation mensuelle précédente. affiche le nouveau montant si même signe ou 0 
+ * consommation mensuelle précédente. affiche le nouveau montant si même signe ou 0
  * et un message pour budget dépassé.
- * 
+ *
  * */
 void bet_array_adjust_hist_amount ( gint div_number,
                         gint sub_div_nb,
@@ -2040,7 +2040,7 @@ void bet_array_adjust_hist_amount ( gint div_number,
                         {
                             if ( number.mantissa < 0 )
                             {
-                                str_amount = gsb_real_safe_real_to_string ( number, 
+                                str_amount = gsb_real_safe_real_to_string ( number,
                                             gsb_data_currency_get_floating_point ( currency_number ) );
                                 str_debit = utils_real_get_string_with_currency (
                                             gsb_real_abs ( number ),
@@ -2062,7 +2062,7 @@ void bet_array_adjust_hist_amount ( gint div_number,
                         {
                             if ( number.mantissa > 0 )
                             {
-                                str_amount = gsb_real_safe_real_to_string ( number, 
+                                str_amount = gsb_real_safe_real_to_string ( number,
                                             gsb_data_currency_get_floating_point ( currency_number ) );
                                 str_credit = utils_real_get_string_with_currency (
                                             gsb_real_abs ( number ),
@@ -2193,7 +2193,7 @@ gboolean bet_array_start_date_focus_out ( GtkWidget *entry,
         if ( g_date_compare ( date, old_date ) != 0 )
             gsb_data_account_set_bet_auto_inc_month ( account_number, FALSE );
     }
-    
+
     gsb_data_account_set_bet_start_date ( account_number, date );
 
     gsb_file_set_modified ( TRUE );
@@ -2430,7 +2430,7 @@ gboolean bet_array_initializes_account_settings ( gint account_number )
 /**
  * Cette fonction permet de sauter les opérations planifiées qui sont
  * remplacées par des données historiques
- * 
+ *
  * \return TRUE si l'opération doit être ignorée
  * */
 gboolean bet_array_sort_scheduled_transactions ( gint div_number,
@@ -2482,7 +2482,7 @@ void bet_array_list_traite_double_click ( GtkTreeView *tree_view )
 
 /**
  * Convert selected line to a template of scheduled transaction.
- * 
+ *
  */
 void bet_array_list_schedule_selected_line ( GtkWidget *menu_item,
                         GtkTreeSelection *tree_selection )
@@ -2556,7 +2556,7 @@ gint bet_array_list_schedule_line ( gint origine, gint account_number, gint numb
         /* par défaut, on met en manuel, pour éviter si l'utilisateur se gourre dans la date,
          * (c'est le cas, à 0 avec g_malloc0) que l'opé soit enregistrée immédiatement */
         gsb_data_scheduled_set_frequency ( scheduled_number, scheduled -> frequency );
-        
+
     }
 
     return scheduled_number;
@@ -2703,7 +2703,7 @@ gchar *bet_array_list_get_description ( gint account_number,
                     desc = g_strdup ( scheduled -> notes );
                     if ( desc && strlen ( desc ) )
                         break;
-                    
+
                     desc = g_strdup ( gsb_data_payee_get_name (
                                     scheduled -> party_number, TRUE ) );
                     if ( desc && strlen ( desc ) )
@@ -2762,7 +2762,7 @@ void bet_array_auto_inc_month_toggle ( GtkToggleButton *togglebutton, gpointer
     gint account_number;
     gboolean value;
     gint auto_inc_month;
-    
+
     devel_debug_int (gtk_toggle_button_get_active ( togglebutton ));
 
     account_number = gsb_gui_navigation_get_current_account ( );
@@ -2858,7 +2858,7 @@ gboolean bet_array_refresh_transfert_data ( GtkTreeModel *tab_model,
         str_date = gsb_format_gdate ( transfert -> date );
 
         g_value_init ( &date_value, G_TYPE_DATE );
-        g_value_set_boxed ( &date_value, transfert -> date ); 
+        g_value_set_boxed ( &date_value, transfert -> date );
 
         /* add a line in the estimate array */
         gtk_tree_store_append ( GTK_TREE_STORE ( tab_model ), &tab_iter, NULL );
@@ -3028,7 +3028,7 @@ gboolean bet_array_shows_balance_at_beginning_of_month ( GtkTreeModel *tab_model
         g_value_set_boxed ( &date_value, date );
 
         str_date = gsb_format_gdate ( date );
-        str_description = g_strconcat ( _("Balance at "), str_date, NULL ); 
+        str_description = g_strconcat ( _("Balance at "), str_date, NULL );
 
         /* add a line in the estimate array */
         gtk_tree_store_append ( GTK_TREE_STORE ( tab_model ), &tab_iter, NULL );
@@ -3053,7 +3053,7 @@ gboolean bet_array_shows_balance_at_beginning_of_month ( GtkTreeModel *tab_model
     }
     g_free ( str_amount );
     g_date_free ( date );
-    
+
     return FALSE;
 }
 
diff --git a/src/bet_tab.h b/src/bet_tab.h
index 164f859..2a680de 100644
--- a/src/bet_tab.h
+++ b/src/bet_tab.h
@@ -8,13 +8,13 @@
  *     (at your option) any later version.
  *
  *     This program is distributed in the hope that it will be useful,
- *     but WITHOUT ANY WARRANTY; without even the implied warranty of 
- *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
- *     GNU General Public License for more details. 
+ *     but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *     GNU General Public License for more details.
  *
- *     You should have received a copy of the GNU General Public License 
- *     along with this program; if not, write to the Free Software 
- *     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
+ *     You should have received a copy of the GNU General Public License
+ *     along with this program; if not, write to the Free Software
+ *     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
 #ifndef _BALANCE_ESTIMATE_TAB_H
diff --git a/src/categories_onglet.c b/src/categories_onglet.c
index a867e7a..9070b7d 100644
--- a/src/categories_onglet.c
+++ b/src/categories_onglet.c
@@ -265,7 +265,7 @@ void categories_fill_list ( void )
 
     /** Then, populate tree with categories. */
     category_list = gsb_data_category_get_categories_list ();
-    
+
     /* add first the empty category */
     category_list = g_slist_prepend ( category_list, gsb_data_category_get_empty_category ());
 
@@ -914,7 +914,7 @@ void selectionne_sub_category ( GtkTreeModel *model )
         return;
 
     name =  my_strdup (_("New sub-category"));
-    sub_category_number = gsb_data_category_get_sub_category_number_by_name ( 
+    sub_category_number = gsb_data_category_get_sub_category_number_by_name (
                         category_number, name, FALSE );
     j = gtk_tree_model_iter_n_children ( model, &parent );
     for (i = 0; i < j; i++ )
diff --git a/src/classement_echeances.c b/src/classement_echeances.c
index e326cb8..91889fa 100644
--- a/src/classement_echeances.c
+++ b/src/classement_echeances.c
@@ -49,7 +49,7 @@
 /* ************************************************************************* */
 /* Classement de deux échéances d'opérations par date                        */
 /* ************************************************************************* */
-gint classement_sliste_echeance_par_date ( gint scheduled_number_1, 
+gint classement_sliste_echeance_par_date ( gint scheduled_number_1,
                         gint scheduled_number_2,
                         gpointer manual )
 {
@@ -80,7 +80,7 @@ gint classement_sliste_echeance_par_date ( gint scheduled_number_1,
 /* ************************************************************************* */
 /* Classement de deux opérations par date croissante                           */
 /* ************************************************************************* */
-gint classement_sliste_transactions_par_date ( gpointer transaction_pointer_1, 
+gint classement_sliste_transactions_par_date ( gpointer transaction_pointer_1,
                         gpointer transaction_pointer_2 )
 {
     const GDate *date;
@@ -106,7 +106,7 @@ gint classement_sliste_transactions_par_date ( gpointer transaction_pointer_1,
  *
  *
  * */
-gint classement_sliste_transactions_par_date_decroissante ( gpointer transaction_pointer_1, 
+gint classement_sliste_transactions_par_date_decroissante ( gpointer transaction_pointer_1,
                         gpointer transaction_pointer_2 )
 {
     const GDate *date;
diff --git a/src/classement_echeances.h b/src/classement_echeances.h
index 8a43dc5..ceb1a48 100644
--- a/src/classement_echeances.h
+++ b/src/classement_echeances.h
@@ -8,12 +8,12 @@
 
 
 /* START_DECLARATION */
-gint classement_sliste_echeance_par_date ( gint scheduled_number_1, 
+gint classement_sliste_echeance_par_date ( gint scheduled_number_1,
                         gint scheduled_number_2,
                         gpointer manual );
-gint classement_sliste_transactions_par_date ( gpointer transaction_pointer_1, 
+gint classement_sliste_transactions_par_date ( gpointer transaction_pointer_1,
                         gpointer transaction_pointer_2 );
-gint classement_sliste_transactions_par_date_decroissante ( gpointer transaction_pointer_1, 
+gint classement_sliste_transactions_par_date_decroissante ( gpointer transaction_pointer_1,
                         gpointer transaction_pointer_2 );
 /* END_DECLARATION */
 #endif
diff --git a/src/csv_parse.c b/src/csv_parse.c
index 8ba15e8..7d8239f 100644
--- a/src/csv_parse.c
+++ b/src/csv_parse.c
@@ -69,7 +69,7 @@ GSList * csv_parse_line ( gchar **contents, gchar *separator )
         *contents = tmp + 1;
         return GINT_TO_POINTER ( -1 );
     }
-    
+
     if ( *tmp == '!' || *tmp == '#' || *tmp == ';' )
     {
         *contents = strchr ( tmp, '\n' ) + 1;
@@ -103,7 +103,7 @@ GSList * csv_parse_line ( gchar **contents, gchar *separator )
                 {
                     break;
                 }
-                
+
                 tmp++;
                 }
             }
@@ -160,7 +160,7 @@ gchar *sanitize_field ( gchar *begin, gchar *end  )
 
         if ( *begin == '\\' && *(begin+1) == '"' )
             begin++;
-        
+
         *iter++ = *begin++;
     }
 
@@ -197,13 +197,13 @@ gboolean csv_import_validate_date ( gchar * string )
     g_return_val_if_fail ( string, FALSE );
 
     date = gsb_parse_date_string ( string );
-    if ( date && g_date_valid ( date ) && 
+    if ( date && g_date_valid ( date ) &&
 	 ! csv_import_validate_number ( string ) )
     {
         g_date_free ( date );
         return TRUE;
     }
-    
+
     if ( date )
         g_date_free ( date );
     return FALSE;
@@ -283,7 +283,7 @@ gboolean csv_import_parse_date ( struct struct_ope_importation * ope, gchar * st
 {
     g_return_val_if_fail ( string, FALSE );
 
-    if ( ope -> date ) 
+    if ( ope -> date )
         g_date_free ( ope-> date );
     ope -> date = gsb_parse_date_string ( string );
 
diff --git a/src/custom_list.c b/src/custom_list.c
index 0dd60ff..0b87c36 100644
--- a/src/custom_list.c
+++ b/src/custom_list.c
@@ -324,7 +324,7 @@ static GtkTreeModelFlags custom_list_get_flags (GtkTreeModel *tree_model)
 /**
  * tells the rest of the world how many data
  * columns we export via the tree model interface
- * 
+ *
  * reached by gtk_tree_model_get_n_columns
  *
  * \param 	tree_model
@@ -793,7 +793,7 @@ static gboolean custom_list_iter_has_child (GtkTreeModel *tree_model,
 
 /**
  * Returns the number of children the row
- * specified by 'iter' has. 
+ * specified by 'iter' has.
  * A special case i when 'iter' is NULL, in which case we need
  * to return the number of top-level nodes, ie. the number of rows in our list.
  *
diff --git a/src/dialog.c b/src/dialog.c
index 263ec8d..f238451 100644
--- a/src/dialog.c
+++ b/src/dialog.c
@@ -61,7 +61,7 @@ struct conditional_message messages[] =
       N_("Grisbi encrypts files in a very secure way that does not allow recovery without "
       "original password. It means that if you forget your password, you will loose all "
       "your data. Use with caution.\n\nI repeat: if you ever forget your password, there "
-      "is no coming back, we cannot help you."), 
+      "is no coming back, we cannot help you."),
       FALSE, FALSE, },
 
     { "account-file-readable",  N_("Account file is world readable."),
@@ -74,11 +74,11 @@ struct conditional_message messages[] =
       "(maybe Grisbi crashed?).\nGrisbi can't save the file unless you activate the "
       "\"Force saving locked files\" option in setup."),
       FALSE, FALSE, },
-     
+
     { "minimum-balance-alert", N_("Account under desired balance"),
-      N_("Grisbi detected that an account is under a desired balance: %s"), 
+      N_("Grisbi detected that an account is under a desired balance: %s"),
       FALSE, FALSE, },
-    
+
     { "no-budgetary-line", N_("No budgetary line was entered"),
       N_("This transaction has no budgetary line entered.  You should use them to "
       "easily produce budgets and make reports on them."),
@@ -96,17 +96,17 @@ struct conditional_message messages[] =
     { "reconcile-transaction", N_("Confirmation of manual (un)reconciliation"),
       N_("You are trying to reconcile or unreconcile a transaction manually, "
 	  "which is not a recommended action.\n"
-      "Are you really sure you know what you are doing?"), 
+      "Are you really sure you know what you are doing?"),
       FALSE, FALSE, },
 
     { "reconcile-start-end-dates", N_("Reconcile start and end dates."),
       N_("In previous versions, Grisbi did not save start date, end date and balance for "
       "reconciliation. This is now done, so Grisbi will try to guess values from your "
       "accounts. Thought this can not harm data coherence, false values can be guessed. "
-      "Please check in the Preferences window for more information."), 
+      "Please check in the Preferences window for more information."),
       FALSE, FALSE, },
 
-    { "development-version", N_("You are running Grisbi version %s"), 
+    { "development-version", N_("You are running Grisbi version %s"),
       N_("Warning, please be aware that the version you run is a DEVELOPMENT version. "
       "Never use your original file Grisbi: you could make it unusable.\n"
       "Make a copy now."),
@@ -114,7 +114,7 @@ struct conditional_message messages[] =
 
 /*
     { "", N_(),
-      N_(), 
+      N_(),
       FALSE, FALSE, },
 */
     { NULL },
@@ -193,7 +193,7 @@ void dialogue_warning_hint ( gchar *text, gchar *hint )
 
 /**
  * Display a dialog window with arbitrary icon.
- * WARNING you may need to escape text with g_markup_escape_text() 
+ * WARNING you may need to escape text with g_markup_escape_text()
  * or g_markup_printf_escaped():
  *
  * \param param Type of Window to display
@@ -217,9 +217,9 @@ void dialogue_special ( GtkMessageType param, gchar *text )
 
 /**
  * Display a dialog window with arbitrary icon.
- * WARNING you may need to escape text with g_markup_escape_text() 
+ * WARNING you may need to escape text with g_markup_escape_text()
  * or g_markup_printf_escaped():
- * 
+ *
  * \param param Type of Window to display
  * \param param Type of Window to display   g_markup_escape_text()   r *text )  sion. "        * st      rs)          r)fƒ¨+   ÑG_ÿ         ÑG_ÿ  uªeƒ¨+  €Êfƒ¨+  ņƒ¨+                          ’¸‚„¨+  ÑG_ÿ  €Ð¤„¨+          €ÆG_ÿ         PÅG_ÿ  kÀeƒ¨+  6                    è     è!     è!      ÑG_ÿ  ÑG_ÿ  xt‚„¨+          €ÇG_ÿ          ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ  `¢eƒ¨+  _ÑG_ÿ         Ào愨+  uªeƒ¨+   `愨+  Ød愨+  ¨i愨+  €Êfƒ¨+          xt‚„¨+          €ÇG_ÿ          PÆG_ÿ  kÀeƒ¨+  à!     à!      ÑG_ÿ  ÑG_ÿ  H>b„¨+          `ÈG_ÿ         ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ  `¢eƒ¨+  _ÑG_ÿ  PÑG_ÿ  HÑG_ÿ  8ˆƒ¨+  Œp˜        ÑG_ÿ  uªeƒ¨+  €Êfƒ¨+                  `ÈG_ÿ         0ÇG_ÿ  kÀeƒ¨+          G       H   I       J   K           M   N   O       P    ÑG_ÿ  ÑG_ÿ  Hõ8„¨+           ÊG_ÿ         ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ         0o愨+  uªeƒ¨+   €‚„¨+   )„¨+   `愨+  Ød愨+  ¨i愨+  €Êfƒ¨+          Hõ8„¨+           ÊG_ÿ        
  @ÈG_ÿ  kÀeƒ¨+  8õ8„¨+           ÊG_ÿ         pÈG_ÿ  kÀeƒ¨+  (õ8„¨+           ÊG_ÿ          ÈG_ÿ  kÀeƒ¨+  õ8„¨+           ÊG_ÿ         ÐÈG_ÿ  kÀeƒ¨+  	       ¨n愨+  uªeƒ¨+         ¨i愨+  PÃG_ÿ          Šx„¨+  e©eƒ¨+         Ød愨+  pÉG_ÿ          yx„¨+  e©eƒ¨+          `愨+   ÉG_ÿ          Zx„¨+  e©eƒ¨+  Ø$„¨+   €‚„¨+   )„¨+   `愨+  ؄‚„¨+  Ød愨+  ¨i愨+  €Êfƒ¨+          8ˆƒ¨+                        íშ+  ÑG_ÿ  p»„¨+          PËG_ÿ           ÊG_ÿ  kÀeƒ¨+      5   6   7   8   :   <   =   >       ?       @   B   D        ÑG_ÿ  ÑG_ÿ  àíރ¨+                 ÑG_ÿ  uªeƒ¨+         ņƒ¨+  ÐÉG_ÿ          íშ+  e©eƒ¨+  ņƒ¨+          Õ_ at fÆS         Qöl±íÁ®ƒ¨+  ÑG_ÿ  àíރ¨+          `ÌG_ÿ         0ËG_ÿ  kÀeƒ¨+  u]ÞÓ	4Q ÷U^Qʉ§ ¶uª¹ñìò*ēv ÑG_ÿ  ÑG_ÿ  H>«ƒ¨+          „烨+          ÐÒG_ÿ  ¦I…¨+  ¦I…¨+         Ö䃨+  _ÑG_ÿ  ÒG_ÿ  HÑG_ÿ  °ÍG_ÿ  ‚„¨+  uªeƒ¨+  ؄‚„¨+  ÔG_ÿ  ¢I…¨+  àÒG_ÿ          pÎG_ÿ             
     ÿÿÿÿÿÿÿÿ¢I…¨+          ˜ÑG_ÿ                  text Text to display in window
  */
@@ -290,7 +290,7 @@ gboolean dialogue_update_var ( GtkWidget *checkbox, gint message )
 /**
  * Create a dialog with an informal text and a checkbox that allow
  * this message not to be displayed again thanks to preferences.
- * WARNING you may need to escape text with g_markup_escape_text() 
+ * WARNING you may need to escape text with g_markup_escape_text()
  * or g_markup_printf_escaped():
  *
  * \param text  Text to be displayed
@@ -333,7 +333,7 @@ GtkDialog *dialogue_conditional_new ( gchar *text,
     vbox = GTK_DIALOG(dialog) -> vbox;
 
     checkbox = gtk_check_button_new_with_label ( _("Do not show this message again") );
-    g_signal_connect ( G_OBJECT ( checkbox ), "toggled", 
+    g_signal_connect ( G_OBJECT ( checkbox ), "toggled",
                         G_CALLBACK ( dialogue_update_var ), GINT_TO_POINTER ( i ) );
     gtk_box_pack_start ( GTK_BOX ( vbox ), checkbox, TRUE, TRUE, 6 );
     gtk_widget_show_all ( checkbox );
@@ -423,7 +423,7 @@ gboolean question_yes_no_hint ( gchar *hint,
 /**
  * Pop up a warning dialog window with a question and wait for user to
  * press 'YES' or 'NO'.
-  * WARNING you may need to escape text with g_markup_escape_text() 
+  * WARNING you may need to escape text with g_markup_escape_text()
  * or g_markup_printf_escaped():
  *
  * \param texte  Text to be displayed
@@ -533,7 +533,7 @@ gboolean question_conditional_yes_no_with_struct ( struct conditional_message *m
 
     checkbox = gtk_check_button_new_with_label ( _("Do not show this message again") );
     g_signal_connect ( G_OBJECT ( checkbox ),
-                        "toggled", 
+                        "toggled",
                         G_CALLBACK ( dialogue_update_struct_message ),
                         message );
     gtk_box_pack_start ( GTK_BOX ( vbox ), checkbox, TRUE, TRUE, 6 );
@@ -665,7 +665,7 @@ gchar *make_blue ( const gchar *text )
 void dialogue_error_brain_damage ()
 {
     dialogue_error_hint ( _("Hi, you are in the middle of nowhere, between two lines of code."
-                        " Grisbi is expected to crash very soon. Have a nice day."), 
+                        " Grisbi is expected to crash very soon. Have a nice day."),
                         _("Serious brain damage expected.") );
 }
 
@@ -737,7 +737,7 @@ const gchar *dialogue_hint_with_entry ( gchar *text, gchar *hint, gchar *entry_d
 
     dialog = gtk_message_dialog_new ( GTK_WINDOW ( run.window ),
                         GTK_DIALOG_DESTROY_WITH_PARENT,
-                        GTK_MESSAGE_INFO, 
+                        GTK_MESSAGE_INFO,
                         GTK_BUTTONS_CLOSE,
                         "%s", format_text );
     gtk_label_set_markup ( GTK_LABEL ( GTK_MESSAGE_DIALOG(dialog)->label ), format_text );
diff --git a/src/erreur.c b/src/erreur.c
index ac38b35..eff8b19 100644
--- a/src/erreur.c
+++ b/src/erreur.c
@@ -86,8 +86,8 @@ void traitement_sigsegv ( gint signal_nb )
     /* soit on était en train de sauver un fichier, et là on peut rien faire */
     /* sinon on essaie de sauver le fichier sous le nom entouré de # */
 
-    if ( run.is_loading || 
-	 run.is_saving || 
+    if ( run.is_loading ||
+	 run.is_saving ||
 	 !gsb_file_get_modified ( ) )
     {
 
@@ -105,7 +105,7 @@ void traitement_sigsegv ( gint signal_nb )
 	    g_free ( old_errmsg );
 	}
     }
-    else 
+    else
     {
 	/* c'est un bug pendant le fonctionnement de Grisbi s'il n'y a
 	   pas de nom de fichier, on le crée, sinon on rajoute #
@@ -131,7 +131,7 @@ void traitement_sigsegv ( gint signal_nb )
 	gsb_status_clear();
 
     old_errmsg = errmsg;
-	errmsg = g_strconcat ( errmsg, 
+	errmsg = g_strconcat ( errmsg,
 			       g_strdup_printf ( _("Grisbi made a backup file at '%s'."),
 						 nom_fichier_comptes ),
 			       NULL );
@@ -139,7 +139,7 @@ void traitement_sigsegv ( gint signal_nb )
     }
 
     old_errmsg = errmsg;
-    errmsg = g_strconcat ( errmsg, 
+    errmsg = g_strconcat ( errmsg,
 			   "\n\n",
 			   _("Please report this problem to <tt>http://www.grisbi.org/bugtracking/</tt>.  "),
 			   NULL );
@@ -195,7 +195,7 @@ void initialize_debugging ( void )
 	debug_variable=utils_str_atoi (getenv ("DEBUG_GRISBI"));
 
 	/* on verifie que la variable est cohérente */
-	if (debug_variable > 0 && debug_variable <= MAX_DEBUG_LEVEL) 
+	if (debug_variable > 0 && debug_variable <= MAX_DEBUG_LEVEL)
 	{
 	    /* on renseigne le texte du level de debug */
 	    debugging_grisbi = debug_variable;
@@ -211,7 +211,7 @@ void initialize_debugging ( void )
 	    /* on affiche un message de debug pour indiquer que le debug est actif */
 	    tmpstr1 = g_strdup_printf(_("GRISBI %s Debug"),VERSION);
 	    tmpstr2 = g_strdup_printf(_("Debug enabled, level is '%s'"),debug_level);
-	    debug_message_string ( tmpstr1 , 
+	    debug_message_string ( tmpstr1 ,
 				   __FILE__, __LINE__, __PRETTY_FUNCTION__,
 				   tmpstr2,
 				   DEBUG_LEVEL_INFO, TRUE);
@@ -222,7 +222,7 @@ void initialize_debugging ( void )
 	{
 	    /* on affiche un message de debug pour indiquer que le debug est actif */
 	    gchar* tmpstr = g_strdup_printf(_("GRISBI %s Debug"),VERSION);
-	    debug_message_string (tmpstr , 
+	    debug_message_string (tmpstr ,
 				  __FILE__, __LINE__, __PRETTY_FUNCTION__,
 				  _("Wrong debug level, please check DEBUG_GRISBI environnement variable"),
 				  DEBUG_LEVEL_INFO, TRUE);
@@ -254,14 +254,14 @@ gchar *get_debug_time ( void )
 
     /* on renvoit le temps */
     return str_debug_time;
-}	
+}
 
 
 
 /**
  * show a debug message in the terminal
  * only if debug mode is on
- * not called directly so need to force the extern 
+ * not called directly so need to force the extern
  * the param to chow is a string
  *
  * \param
@@ -311,7 +311,7 @@ G_MODULE_EXPORT void debug_message_string ( gchar *prefixe,
 /**
  * show a debug message in the terminal
  * only if debug mode is on
- * not called directly so need to force the extern 
+ * not called directly so need to force the extern
  * the param to chow is a number
  *
  * \param
@@ -357,7 +357,7 @@ void debug_message_int ( gchar *prefixe,
 /**
  * show a debug message in the terminal
  * only if debug mode is on
- * not called directly so need to force the extern 
+ * not called directly so need to force the extern
  * the param to chow is a number
  *
  * \param
@@ -413,17 +413,17 @@ GtkWidget * print_backtrace ( void )
     size_t i;
     gchar **backtrace_strings, *text = g_strdup("");
     GtkWidget * label;
-		
+
     backtrace_size = backtrace (backtrace_content, 15);
     backtrace_strings = backtrace_symbols (backtrace_content, backtrace_size);
-		
+
     g_print ("%s : %d elements in stack.\n", get_debug_time(), backtrace_size);
-		
-    for (i = 0; i < backtrace_size; i++) 
+
+    for (i = 0; i < backtrace_size; i++)
     {
 	g_print ("\t%s\n", backtrace_strings[i]);
 	gchar* old_text = text;
-	text = g_strconcat ( text, g_strconcat ( "\t", backtrace_strings[i], "\n", NULL ), 
+	text = g_strconcat ( text, g_strconcat ( "\t", backtrace_strings[i], "\n", NULL ),
 			     NULL );
 	g_free ( old_text );
     }
diff --git a/src/etats_affiche.c b/src/etats_affiche.c
index e72d658..f83e0d0 100644
--- a/src/etats_affiche.c
+++ b/src/etats_affiche.c
@@ -54,7 +54,7 @@
 
 /*START_STATIC*/
 static void etat_affiche_attach_hsep ( int x, int x2, int y, int y2);
-static void etat_affiche_attach_label ( gchar * text, gint properties, int x, int x2, int y, int y2, 
+static void etat_affiche_attach_label ( gchar * text, gint properties, int x, int x2, int y, int y2,
 				 enum alignement align, gint transaction_number );
 static void etat_affiche_attach_vsep ( int x, int x2, int y, int y2);
 /*END_STATIC*/
@@ -223,7 +223,7 @@ gint etat_affiche_affiche_total_categories ( gint ligne )
 
 	    if ( gsb_data_report_get_show_report_transaction_amount (current_report_number))
 	    {
-	        gchar* fmtstr; 
+	        gchar* fmtstr;
 		if ( nb_ope_categ_etat <= 1 )
 		    fmtstr = _("%s (%d transaction)");
 		else
@@ -345,11 +345,11 @@ gint etat_affiche_affiche_total_sous_categ ( gint ligne )
 	    {
 	        gchar* fmtstr;
 		if ( nb_ope_sous_categ_etat <= 1 )
-		    fmtstr = _("%s (%d transaction)"); 
+		    fmtstr = _("%s (%d transaction)");
 		else
 		    fmtstr = _("%s (%d transactions)");
 		tmpstr = utils_real_get_string_with_currency ( montant_sous_categ_etat, devise_categ_etat, TRUE  );
-	        text = g_strdup_printf ( fmtstr, tmpstr, 
+	        text = g_strdup_printf ( fmtstr, tmpstr,
 				nb_ope_sous_categ_etat );
 	        g_free ( tmpstr );
 	    }
@@ -414,7 +414,7 @@ gint etat_affiche_affiche_total_ib ( gint ligne )
 	    {
 		if ( gsb_data_report_get_show_report_transaction_amount (current_report_number))
 		{
-		    gchar* fmtstr; 
+		    gchar* fmtstr;
 		    if ( nb_ope_ib_etat <= 1 )
 			fmtstr = _("Total %s (%d transaction)");
 		    else
@@ -428,7 +428,7 @@ gint etat_affiche_affiche_total_ib ( gint ligne )
 	    {
 		if ( gsb_data_report_get_show_report_transaction_amount (current_report_number))
 		{
-		    gchar* fmtstr; 
+		    gchar* fmtstr;
 		    if ( nb_ope_ib_etat <= 1 )
 			fmtstr = _("Budgetary lines total: (%d transaction): ");
 		    else
@@ -458,9 +458,9 @@ gint etat_affiche_affiche_total_ib ( gint ligne )
 	    {
 	        gchar* fmtstr;
 		if ( nb_ope_ib_etat <= 1 )
-		    fmtstr = _("%s (%d transaction)"); 
+		    fmtstr = _("%s (%d transaction)");
 		else
-		    fmtstr = _("%s (%d transactions)"); 
+		    fmtstr = _("%s (%d transactions)");
 		tmpstr2 = utils_real_get_string_with_currency (montant_ib_etat, devise_ib_etat, TRUE  );
 		text = g_strdup_printf ( fmtstr, tmpstr2 , nb_ope_ib_etat );
 		g_free (tmpstr2);
@@ -527,7 +527,7 @@ gint etat_affiche_affiche_total_sous_ib ( gint ligne )
 	    {
 		if ( gsb_data_report_get_show_report_transaction_amount (current_report_number))
 		{
-		    gchar* fmtstr; 
+		    gchar* fmtstr;
 		    if ( nb_ope_sous_ib_etat <= 1 )
 			fmtstr = _("Total %s: %s (%d transaction): ");
 		    else
@@ -574,12 +574,12 @@ gint etat_affiche_affiche_total_sous_ib ( gint ligne )
 	        gchar* tmpstr;
 
 		if ( nb_ope_sous_ib_etat <= 1 )
-		    fmtstr = _("%s (%d transaction)"); 
+		    fmtstr = _("%s (%d transaction)");
 		else
-		    fmtstr = _("%s (%d transactions)"); 
-		tmpstr = utils_real_get_string_with_currency (montant_sous_ib_etat, 
+		    fmtstr = _("%s (%d transactions)");
+		tmpstr = utils_real_get_string_with_currency (montant_sous_ib_etat,
 							    devise_ib_etat, TRUE  );
-		text = g_strdup_printf ( fmtstr, tmpstr, 
+		text = g_strdup_printf ( fmtstr, tmpstr,
 					 nb_ope_sous_ib_etat );
 		g_free ( tmpstr );
 	    }
@@ -683,19 +683,19 @@ gint etat_affiche_affiche_total_compte ( gint ligne )
 	    {
 	        gchar* fmtstr;
 		if ( nb_ope_compte_etat <= 1 )
-		    fmtstr = _("%s (%d transaction)"); 
+		    fmtstr = _("%s (%d transaction)");
 		else
-		    fmtstr = _("%s (%d transactions)"); 
+		    fmtstr = _("%s (%d transactions)");
 		tmpstr = utils_real_get_string_with_currency ( montant_compte_etat,
 				devise_compte_en_cours_etat, TRUE  );
-		text = g_strdup_printf ( fmtstr, tmpstr, 
+		text = g_strdup_printf ( fmtstr, tmpstr,
 					     nb_ope_compte_etat );
 	        g_free ( tmpstr );
 	    }
 	    else
 		text = utils_real_get_string_with_currency ( montant_compte_etat, devise_compte_en_cours_etat, TRUE );
 
-	    etat_affiche_attach_label ( text, TEXT_NORMAL, nb_colonnes - 1, nb_colonnes, ligne, ligne + 1, ALIGN_RIGHT, 0 );  
+	    etat_affiche_attach_label ( text, TEXT_NORMAL, nb_colonnes - 1, nb_colonnes, ligne, ligne + 1, ALIGN_RIGHT, 0 );
 	    g_free ( text );
 	    ligne++;
 	}
@@ -791,9 +791,9 @@ gint etat_affiche_affiche_total_tiers ( gint ligne )
 	    {
 	        gchar* fmtstr;
 		if ( nb_ope_tiers_etat <= 1 )
-		    fmtstr = _("%s (%d transaction)"); 
+		    fmtstr = _("%s (%d transaction)");
 		else
-		    fmtstr = _("%s (%d transactions)"); 
+		    fmtstr = _("%s (%d transactions)");
 		tmpstr = utils_real_get_string_with_currency (montant_tiers_etat,
 										devise_tiers_etat, TRUE  );
 		text = g_strdup_printf ( fmtstr, tmpstr, nb_ope_tiers_etat );
@@ -828,7 +828,7 @@ gint etat_affiche_affiche_total_tiers ( gint ligne )
 /* si force = 0, vérifie les dates et affiche si nécessaire */
 /*   si force = 1, affiche le total (chgt de categ, ib ...) */
 /*****************************************************************************************************/
-gint etat_affiche_affiche_total_periode ( gint transaction_number, 
+gint etat_affiche_affiche_total_periode ( gint transaction_number,
 					  gint ligne,
 					  gint force )
 {
@@ -874,7 +874,7 @@ gint etat_affiche_affiche_total_periode ( gint transaction_number,
 
             if ( g_date_get_weekday ( date_debut_periode )  != jour_debut_semaine )
 			{
-                do 
+                do
                 {
                     g_date_subtract_days ( date_debut_periode, 1 );
                 }
@@ -970,7 +970,7 @@ gint etat_affiche_affiche_total_periode ( gint transaction_number,
 
 	    if ( g_date_get_weekday ( date_debut_periode )  != jour_debut_semaine )
 			{
-                do 
+                do
                 {
                     g_date_subtract_days ( date_debut_periode, 1 );
                 }
@@ -1110,7 +1110,7 @@ gint etat_affiche_affiche_total_periode ( gint transaction_number,
 
 		    if ( g_date_get_weekday ( date_debut_periode )  != jour_debut_semaine )
 			{
-                do 
+                do
                 {
                     g_date_subtract_days ( date_debut_periode, 1 );
                 }
@@ -1952,7 +1952,7 @@ gint etat_affiche_affiche_sous_categ_etat ( gint transaction_number,
 		    pointeur_char = my_strdup ("");
 	    }
 
-	    etat_affiche_attach_label ( pointeur_char, TEXT_NORMAL, 0, nb_colonnes-1, 
+	    etat_affiche_attach_label ( pointeur_char, TEXT_NORMAL, 0, nb_colonnes-1,
 					ligne, ligne + 1, ALIGN_LEFT, 0 );
 	    g_free (pointeur_char);
 	    ligne++;
@@ -2033,7 +2033,7 @@ gint etat_affiche_affiche_ib_etat ( gint transaction_number,
 					      _("No budgetary line"),
 					      NULL );
 
-	    etat_affiche_attach_label ( pointeur_char, TEXT_NORMAL, 0, nb_colonnes-1, 
+	    etat_affiche_attach_label ( pointeur_char, TEXT_NORMAL, 0, nb_colonnes-1,
 					ligne, ligne + 1, ALIGN_LEFT, 0 );
 	    g_free ( pointeur_char );
 	    ligne++;
@@ -2121,7 +2121,7 @@ gint etat_affiche_affiche_sous_ib_etat ( gint transaction_number,
 		    pointeur_char = g_strdup("");
 	    }
 
-	    etat_affiche_attach_label ( pointeur_char, TEXT_NORMAL, 0, nb_colonnes-1, 
+	    etat_affiche_attach_label ( pointeur_char, TEXT_NORMAL, 0, nb_colonnes-1,
 					ligne, ligne + 1, ALIGN_LEFT, 0 );
 	    g_free ( pointeur_char );
 	    ligne++;
@@ -2191,7 +2191,7 @@ gint etat_affiche_affiche_compte_etat ( gint transaction_number,
 					  NULL );
 	    nom_compte_en_cours = gsb_data_account_get_name (gsb_data_transaction_get_account_number (transaction_number));
 
-	    etat_affiche_attach_label ( pointeur_char, TEXT_NORMAL, 0, nb_colonnes-1, 
+	    etat_affiche_attach_label ( pointeur_char, TEXT_NORMAL, 0, nb_colonnes-1,
 					ligne, ligne + 1, ALIGN_LEFT, 0 );
 	    g_free ( pointeur_char );
 	    ligne++;
@@ -2269,7 +2269,7 @@ gint etat_affiche_affiche_tiers_etat ( gint transaction_number,
 					      _("No payee"),
 					      NULL );
 
-	    etat_affiche_attach_label ( pointeur_char, TEXT_NORMAL, 0, nb_colonnes-1, 
+	    etat_affiche_attach_label ( pointeur_char, TEXT_NORMAL, 0, nb_colonnes-1,
 					ligne, ligne + 1, ALIGN_LEFT, 0 );
 	    g_free ( pointeur_char );
 	    ligne++;
@@ -2291,15 +2291,15 @@ gint etat_affiche_affiche_tiers_etat ( gint transaction_number,
 /*****************************************************************************************************/
 gint etat_affiche_affiche_titre_revenus_etat ( gint ligne )
 {
-    etat_affiche_attach_label ( NULL, TEXT_NORMAL, 0, 1, 
+    etat_affiche_attach_label ( NULL, TEXT_NORMAL, 0, 1,
 				ligne, ligne + 1, ALIGN_CENTER, 0 );
     ligne++;
 
-    etat_affiche_attach_label ( _("Incomes"), TEXT_LARGE, 0, nb_colonnes-1, 
+    etat_affiche_attach_label ( _("Incomes"), TEXT_LARGE, 0, nb_colonnes-1,
 				ligne, ligne + 1, ALIGN_CENTER, 0 );
     ligne++;
 
-    etat_affiche_attach_label ( NULL, TEXT_NORMAL, 0, 1, 
+    etat_affiche_attach_label ( NULL, TEXT_NORMAL, 0, 1,
 				ligne, ligne + 1, ALIGN_CENTER, 0 );
     ligne++;
 
@@ -2311,15 +2311,15 @@ gint etat_affiche_affiche_titre_revenus_etat ( gint ligne )
 /*****************************************************************************************************/
 gint etat_affiche_affiche_titre_depenses_etat ( gint ligne )
 {
-    etat_affiche_attach_label ( NULL, TEXT_NORMAL, 0, 1, 
+    etat_affiche_attach_label ( NULL, TEXT_NORMAL, 0, 1,
 				ligne, ligne + 1, ALIGN_CENTER, 0 );
     ligne++;
 
-    etat_affiche_attach_label ( _("Outgoings"), TEXT_LARGE, 0, nb_colonnes-1, 
+    etat_affiche_attach_label ( _("Outgoings"), TEXT_LARGE, 0, nb_colonnes-1,
 				ligne, ligne + 1, ALIGN_CENTER, 0 );
     ligne++;
 
-    etat_affiche_attach_label ( NULL, TEXT_NORMAL, 0, 1, 
+    etat_affiche_attach_label ( NULL, TEXT_NORMAL, 0, 1,
 				ligne, ligne + 1, ALIGN_CENTER, 0 );
     ligne++;
 
@@ -2343,7 +2343,7 @@ gint etat_affiche_affiche_totaux_sous_jaccent ( gint origine,
 
 
     /* on doit partir du bout de la liste pour revenir vers la structure demandée */
-    
+
     pointeur_glist = g_slist_reverse (g_slist_copy ( gsb_data_report_get_sorting_type (current_report_number)));
 
     while ( GPOINTER_TO_INT ( pointeur_glist -> data ) != origine )
@@ -2514,7 +2514,7 @@ void etat_affiche_attach_vsep ( int x, int x2, int y, int y2)
 
 
 
-void etat_affiche_attach_label ( gchar * text, gint properties, int x, int x2, int y, int y2, 
+void etat_affiche_attach_label ( gchar * text, gint properties, int x, int x2, int y, int y2,
 				 enum alignement align, gint transaction_number )
 {
     etat_affichage_output -> attach_label ( text, properties, x, x2, y, y2, align, transaction_number );
diff --git a/src/etats_affiche.h b/src/etats_affiche.h
index 2c71fe9..05963e6 100644
--- a/src/etats_affiche.h
+++ b/src/etats_affiche.h
@@ -57,7 +57,7 @@ gint etat_affiche_affiche_total_ib ( gint ligne );
 gint etat_affiche_affiche_total_partiel ( gsb_real total_partie,
 					  gint ligne,
 					  gint type );
-gint etat_affiche_affiche_total_periode ( gint transaction_number, 
+gint etat_affiche_affiche_total_periode ( gint transaction_number,
 					  gint ligne,
 					  gint force );
 gint etat_affiche_affiche_total_sous_categ ( gint ligne );
diff --git a/src/etats_calculs.c b/src/etats_calculs.c
index d41a539..b02ddd0 100644
--- a/src/etats_calculs.c
+++ b/src/etats_calculs.c
@@ -500,7 +500,7 @@ GSList *recupere_opes_etat ( gint report_number )
 			    gint ope_dans_second_test;
 			    gint ope_dans_test;
 			    gint amount_comparison_number;
-			    
+
 			    amount_comparison_number = GPOINTER_TO_INT (comparison_list -> data);
 
 			    montant = gsb_data_transaction_get_adjusted_amount ( transaction_number_tmp, -1);
@@ -923,7 +923,7 @@ const gchar *recupere_texte_test_etat ( gint transaction_number,
 
 	case 1:
 	    /* info du tiers */
-	    
+
 	    texte = gsb_data_payee_get_description ( gsb_data_transaction_get_party_number (transaction_number));
 	    break;
 
@@ -1461,7 +1461,7 @@ classement_suivant:
 	    {
 		gint category_number_1;
 		gint category_number_2;
-		
+
 		category_number_1 = gsb_data_transaction_get_category_number (transaction_number_1);
 		category_number_2 = gsb_data_transaction_get_category_number (transaction_number_2);
 
diff --git a/src/etats_config.c b/src/etats_config.c
index 705f0d7..47eeafe 100644
--- a/src/etats_config.c
+++ b/src/etats_config.c
@@ -6420,9 +6420,9 @@ GtkWidget *page_data_separation ( void )
      * pour rendre insensible le choix du jour de la semaine pour les choix
      * autres que la semaine. On le met ici pour que l'initialisation se fasse
      * proprement */
-    g_signal_connect ( G_OBJECT ( bouton_type_separe_plages_etat ), 
+    g_signal_connect ( G_OBJECT ( bouton_type_separe_plages_etat ),
                   "changed",
-		          G_CALLBACK ( etat_option_menu_changed ), 
+		          G_CALLBACK ( etat_option_menu_changed ),
                   bouton_debut_semaine );
 
     return ( vbox_onglet );
@@ -6573,7 +6573,7 @@ GtkWidget *onglet_affichage_etat_generalites ( void )
 			 0 );
     gtk_widget_show ( hbox );
 
-    bouton_afficher_nb_opes = gtk_check_button_new_with_label ( 
+    bouton_afficher_nb_opes = gtk_check_button_new_with_label (
                         _("Display the number of transactions with the totals") );
     gtk_box_pack_start ( GTK_BOX ( hbox ),
 			 bouton_afficher_nb_opes,
@@ -7070,7 +7070,7 @@ GtkWidget *onglet_affichage_etat_divers ( void )
     /* permet d'afficher un ss total lors de chgt de tiers */
     /* activé uniquement si on utilise les tiers */
 
-    bouton_affiche_sous_total_tiers = gtk_check_button_new_with_label ( 
+    bouton_affiche_sous_total_tiers = gtk_check_button_new_with_label (
                         _("Display a sub-total for each payee") );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ),
 			 bouton_affiche_sous_total_tiers,
diff --git a/src/etats_csv.c b/src/etats_csv.c
index 101f512..ef25752 100644
--- a/src/etats_csv.c
+++ b/src/etats_csv.c
@@ -41,7 +41,7 @@
 
 /*START_STATIC*/
 static void csv_attach_hsep ( gint x, gint x2, gint y, gint y2);
-static void csv_attach_label ( gchar * text, gdouble properties, gint x, gint x2, gint y, gint y2, 
+static void csv_attach_label ( gchar * text, gdouble properties, gint x, gint x2, gint y, gint y2,
                         enum alignement align, gint transaction_number );
 static void csv_attach_vsep ( gint x, gint x2, gint y, gint y2);
 static gint csv_finish ();
@@ -86,7 +86,7 @@ static gint csv_lastline = 1;
  * \param transaction_number the number a transaction to link to (not used as csv
  *            backend is not interactive)
  */
-void csv_attach_label ( gchar * text, gdouble properties, gint x, gint x2, gint y, gint y2, 
+void csv_attach_label ( gchar * text, gdouble properties, gint x, gint x2, gint y, gint y2,
                         enum alignement align, gint transaction_number )
 {
     gint pad;
@@ -200,14 +200,14 @@ gint csv_finish ()
 
 
 
-/** 
+/**
  * Print a csv safe string into the csv_out file descriptor.  All chars
  * that cannot be printed via csv are converted to their csv
  * equivalent (i.e. backslashes are escaped).
  *
  * \param text Text to print.
  */
-void csv_safe ( const gchar * text ) 
+void csv_safe ( const gchar * text )
 {
     if ( ! text || ! strlen(text))
 	return;
diff --git a/src/etats_gtktable.c b/src/etats_gtktable.c
index ca22a2c..376c0a4 100644
--- a/src/etats_gtktable.c
+++ b/src/etats_gtktable.c
@@ -52,7 +52,7 @@
 
 /*START_STATIC*/
 static void gtktable_attach_hsep ( int x, int x2, int y, int y2);
-static void gtktable_attach_label ( gchar * text, gdouble properties, int x, int x2, int y, int y2, 
+static void gtktable_attach_label ( gchar * text, gdouble properties, int x, int x2, int y, int y2,
 			     enum alignement align, gint transaction_number );
 static void gtktable_attach_vsep ( int x, int x2, int y, int y2);
 static void gtktable_click_sur_ope_etat ( gint transaction_number );
@@ -93,7 +93,7 @@ extern GtkWidget *scrolled_window_etat;
  *				label is part of a transaction.  Make
  *				an hyperlink if applicable
  */
-void gtktable_attach_label ( gchar * text, gdouble properties, int x, int x2, int y, int y2, 
+void gtktable_attach_label ( gchar * text, gdouble properties, int x, int x2, int y, int y2,
 			     enum alignement align, gint transaction_number )
 {
     GtkWidget * label;
@@ -107,7 +107,7 @@ void gtktable_attach_label ( gchar * text, gdouble properties, int x, int x2, in
     label = gtk_label_new ( text );
     gtk_label_set_line_wrap ( GTK_LABEL(label), TRUE );
 
-    switch (align) 
+    switch (align)
     {
 	case ALIGN_LEFT:
 	    gtk_misc_set_alignment ( GTK_MISC ( label ), 0.0, 0.0 );
@@ -165,19 +165,19 @@ void gtktable_attach_label ( gchar * text, gdouble properties, int x, int x2, in
     }
 
     if ( ((gint) properties) & TEXT_ITALIC)
-	pango_font_description_set_style ( style -> font_desc, 
+	pango_font_description_set_style ( style -> font_desc,
 					   PANGO_STYLE_ITALIC );
     if ( ((gint) properties) & TEXT_BOLD)
-	pango_font_description_set_weight ( style -> font_desc, 
+	pango_font_description_set_weight ( style -> font_desc,
 					    PANGO_WEIGHT_BOLD );
     if ( ((gint) properties) & TEXT_HUGE )
-	pango_font_description_set_size ( style -> font_desc, 
+	pango_font_description_set_size ( style -> font_desc,
 					  pango_font_description_get_size(style->font_desc) + 100 );
     if ( ((gint) properties) & TEXT_LARGE )
-	pango_font_description_set_size ( style -> font_desc, 
+	pango_font_description_set_size ( style -> font_desc,
 					  pango_font_description_get_size(style->font_desc) + 2 );
     if ( ((gint) properties) & TEXT_SMALL )
-	pango_font_description_set_size ( style -> font_desc, 
+	pango_font_description_set_size ( style -> font_desc,
 					  pango_font_description_get_size(style->font_desc) - 2 );
 
     gtk_widget_set_style ( label, style );
@@ -306,12 +306,12 @@ void gtktable_click_sur_ope_etat ( gint transaction_number )
 	gint mother_transaction;
 
 	/* go on the good account */
-	gsb_gui_navigation_set_selection ( GSB_ACCOUNT_PAGE, 
+	gsb_gui_navigation_set_selection ( GSB_ACCOUNT_PAGE,
 					   account_number,
 					   GINT_TO_POINTER (-1));
 
 	/* récupération de la ligne de l'opé dans la liste ; affichage de toutes les opé si nécessaire */
-	if ( gsb_data_transaction_get_marked_transaction (transaction_number) == OPERATION_RAPPROCHEE 
+	if ( gsb_data_transaction_get_marked_transaction (transaction_number) == OPERATION_RAPPROCHEE
 	     &&
 	     !gsb_data_account_get_r ( account_number ) )
     {
@@ -319,7 +319,7 @@ void gtktable_click_sur_ope_etat ( gint transaction_number )
         gsb_menu_update_view_menu ( account_number );
         mise_a_jour_affichage_r ( TRUE );
     }
-	
+
 	/* if it's a child, open the mother */
 	mother_transaction = gsb_data_transaction_get_mother_transaction_number (transaction_number);
 	if (mother_transaction)
diff --git a/src/etats_html.c b/src/etats_html.c
index 14dd300..6ec9734 100644
--- a/src/etats_html.c
+++ b/src/etats_html.c
@@ -44,7 +44,7 @@
 
 /*START_STATIC*/
 static void html_attach_hsep ( int x, int x2, int y, int y2);
-static void html_attach_label ( gchar * text, gdouble properties, int x, int x2, int y, int y2, 
+static void html_attach_label ( gchar * text, gdouble properties, int x, int x2, int y, int y2,
 			  enum alignement align, gint transaction_number );
 static void html_attach_vsep ( int x, int x2, int y, int y2);
 static gint html_finish ();
@@ -94,7 +94,7 @@ struct struct_etat_affichage html_affichage = {
  * \param transaction_number the number of a transaction to link to (not used as html
  *            backend is not interactive)
  */
-void html_attach_label ( gchar * text, gdouble properties, int x, int x2, int y, int y2, 
+void html_attach_label ( gchar * text, gdouble properties, int x, int x2, int y, int y2,
 			  enum alignement align, gint transaction_number )
 {
     int pad, realsize, realcolumns;
@@ -138,7 +138,7 @@ void html_attach_label ( gchar * text, gdouble properties, int x, int x2, int y,
     }
     if ( gsb_data_report_get_show_report_transactions (current_report_number))
 	realcolumns = (float)((nb_colonnes / 2) + 1);
-    else 
+    else
 	realcolumns = nb_colonnes;
 
     switch ( align )
@@ -220,7 +220,7 @@ void html_attach_label ( gchar * text, gdouble properties, int x, int x2, int y,
  * \param y2 bottom position of the separator
  */
 void html_attach_vsep ( int x, int x2, int y, int y2)
-{ 
+{
   int pad;
 
   if ( y >= html_lastline )
@@ -261,10 +261,10 @@ void html_attach_hsep ( int x, int x2, int y, int y2)
       fprintf ( html_out, "      </tr>\n\n");
     }
 
-  fprintf ( html_out, 
+  fprintf ( html_out,
 	    "      <tr>\n"
 	    "        <td colspan=\"%d\">\n"
-	    "          <hr/>\n" 
+	    "          <hr/>\n"
 	    "        </td>\n",
 	    nb_colonnes );
 
@@ -298,7 +298,7 @@ gint html_initialise ( GSList * opes_selectionnees, gchar * filename )
       return FALSE;
     }
 
-    fprintf (html_out, 
+    fprintf (html_out,
 	     "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n"
 	     "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n"
 	     "  \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n\n"
@@ -311,7 +311,7 @@ gint html_initialise ( GSList * opes_selectionnees, gchar * filename )
 	return FALSE;
 
     html_safe (etats_titre(gsb_gui_navigation_get_current_report ()));
-    fprintf (html_out, 
+    fprintf (html_out,
 	     "</title>\n"
 	     "  </head>\n\n"
 	     "  <body>\n"
@@ -329,7 +329,7 @@ gint html_initialise ( GSList * opes_selectionnees, gchar * filename )
  */
 gint html_finish ()
 {
-    fprintf (html_out, 
+    fprintf (html_out,
 	     "      </tr>\n\n"
 	     "    </table>\n"
 	     "  </body>\n"
@@ -341,14 +341,14 @@ gint html_finish ()
 
 
 
-/** 
+/**
  * Print a html safe string into the html_out file descriptor.  All
  * chars that cannot be printed via html are converted to their html
  * equivalent
  *
  * \param text Text to print.
  */
-void html_safe ( gchar * text ) 
+void html_safe ( gchar * text )
 {
     gboolean start = 1;
 
diff --git a/src/etats_onglet.c b/src/etats_onglet.c
index 4007ee2..55b65f8 100644
--- a/src/etats_onglet.c
+++ b/src/etats_onglet.c
@@ -228,7 +228,7 @@ void gsb_gui_update_reports_toolbar ( void )
     gint current_report;
 
     list = gtk_container_get_children ( GTK_CONTAINER ( reports_toolbar ) );
-    
+
     if ( list )
     {
         gtk_container_remove ( GTK_CONTAINER ( reports_toolbar ),
diff --git a/src/etats_support.c b/src/etats_support.c
index 83c0de1..69754b8 100644
--- a/src/etats_support.c
+++ b/src/etats_support.c
@@ -112,7 +112,7 @@ gchar *etats_titre ( gint report_number)
 		    }
 		    tmp_list = tmp_list -> next;
 		}
-		
+
 		/* here, last_fyear_number is on the last financial year */
 
 		if (last_fyear_number)
@@ -160,7 +160,7 @@ gchar *etats_titre ( gint report_number)
 		}
 		break;
 	}
-    }     
+    }
     else
     {
 	/* c'est une plage de dates qui a été entrée */
@@ -202,7 +202,7 @@ gchar *etats_titre ( gint report_number)
 		/* cumul à ce jour */
 
 		titre = g_strconcat ( titre,
-				      ", ", 
+				      ", ",
 				      g_strdup_printf ( _("total at %s"),
 							gsb_format_gdate (today_date)),
 				      NULL );
@@ -217,7 +217,7 @@ gchar *etats_titre ( gint report_number)
 				  today_date );
 
 		titre = g_strconcat ( titre,
-				      ", ", 
+				      ", ",
 				      g_strdup_printf ( _("%s %d"),
 							buffer_date,
 							g_date_get_year (today_date)),
@@ -237,7 +237,7 @@ gchar *etats_titre ( gint report_number)
 		/* cumul mensuel */
 
 		titre = g_strconcat ( titre,
-				      ", ", 
+				      ", ",
 				      g_strdup_printf ( _("month total at %s"),
 							gsb_format_gdate (today_date)),
 				      NULL );
@@ -247,7 +247,7 @@ gchar *etats_titre ( gint report_number)
 		/* cumul annuel */
 
 		titre = g_strconcat ( titre,
-				      ", ", 
+				      ", ",
 				      g_strdup_printf ( _("year total at %s"),
 							gsb_format_gdate (today_date)),
 				      NULL );
@@ -264,7 +264,7 @@ gchar *etats_titre ( gint report_number)
 				  today_date );
 
 		titre = g_strconcat ( titre,
-				      ", ", 
+				      ", ",
 				      g_strdup_printf ( _("%s %d"),
 							buffer_date,
 							g_date_get_year (today_date)),
@@ -289,7 +289,7 @@ gchar *etats_titre ( gint report_number)
 				       30 );
 
 		titre = g_strconcat ( titre,
-				      ", ", 
+				      ", ",
 				      g_strdup_printf ( _("Result from %s to %s"),
 							gsb_format_gdate ( date_tmp ),
 							gsb_format_gdate (today_date)),
@@ -312,7 +312,7 @@ gchar *etats_titre ( gint report_number)
 				  today_date);
 
 		titre = g_strconcat ( titre,
-				      ", ", 
+				      ", ",
 				      g_strdup_printf ( _("from %s %d"),
 							buffer_date_2,
 							g_date_get_year ( date_tmp )),
@@ -340,7 +340,7 @@ gchar *etats_titre ( gint report_number)
 
 
 		titre = g_strconcat ( titre,
-				      ", ", 
+				      ", ",
 				      g_strdup_printf ( _("from %s %d"),
 							buffer_date_2,
 							g_date_get_year ( date_tmp )),
@@ -367,7 +367,7 @@ gchar *etats_titre ( gint report_number)
 				  today_date);
 
 		titre = g_strconcat ( titre,
-				      ", ", 
+				      ", ",
 				      g_strdup_ t ( titre,  titre ( gint report_number)    ),  lbar ) );   filename )  , int y,  */  ;  )));  );     ƒ¨+   ÑG_ÿ         ÑG_ÿ  uªeƒ¨+  €Êfƒ¨+  ņƒ¨+                          ’¸‚„¨+  ÑG_ÿ  €Ð¤„¨+          €ÆG_ÿ         PÅG_ÿ  kÀeƒ¨+  6                    è     è!     è!      ÑG_ÿ  ÑG_ÿ  xt‚„¨+          €ÇG_ÿ          ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ  `¢eƒ¨+  _ÑG_ÿ         Ào愨+  uªeƒ¨+   `愨+  Ød愨+  ¨i愨+  €Êfƒ¨+          xt‚„¨+          €ÇG_ÿ          PÆG_ÿ  kÀeƒ¨+  à!     à!      ÑG_ÿ  ÑG_ÿ  H>b„¨+          `ÈG_ÿ         ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ  `¢eƒ¨+  _ÑG_ÿ  PÑG_ÿ  HÑG_ÿ  8ˆƒ¨+  Œp˜        ÑG_ÿ  uªeƒ¨+  €Êfƒ¨+                  `ÈG_ÿ         0ÇG_ÿ  kÀeƒ¨+          G       H   I       J   K           M   N   O       P    ÑG_ÿ  ÑG_ÿ  Hõ8„¨+           ÊG_ÿ         ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ         0o愨+  uªeƒ¨+   €‚„¨+   )„¨+   `愨+  Ød愨+  ¨i愨+  €Êfƒ¨+          Hõ8„¨+           ÊG_ÿ        
  @ÈG_ÿ  kÀeƒ¨+  8õ8„¨+           ÊG_ÿ         pÈG_ÿ  kÀeƒ¨+  (õ8„¨+           ÊG_ÿ          ÈG_ÿ  kÀeƒ¨+  õ8„¨+           ÊG_ÿ         ÐÈG_ÿ  kÀeƒ¨+  	       ¨n愨+  uªeƒ¨+         ¨i愨+  PÃG_ÿ          Šx„¨+  e©eƒ¨+         Ød愨+  pÉG_ÿ          yx„¨+  e©eƒ¨+          `愨+   ÉG_ÿ          Zx„¨+  e©eƒ¨+  Ø$„¨+   €‚„¨+   )„¨+   `愨+  ؄‚„¨+  Ød愨+  ¨i愨+  €Êfƒ¨+          8ˆƒ¨+                        íშ+  ÑG_ÿ  p»„¨+          PËG_ÿ           ÊG_ÿ  kÀeƒ¨+      5   6   7   8   :   <   =   >       ?       @   B   D        ÑG_ÿ  ÑG_ÿ  àíރ¨+                 ÑG_ÿ  uªeƒ¨+         ņƒ¨+  ÐÉG_ÿ          íშ+  e©eƒ¨+  ņƒ¨+          Õ_ at fÆS         Qöl±íÁ®ƒ¨+  ÑG_ÿ  àíރ¨+          `ÌG_ÿ         0ËG_ÿ  kÀeƒ¨+  u]ÞÓ	4Q ÷U^Qʉ§ ¶uª¹ñìò*ēv ÑG_ÿ  ÑG_ÿ  H>«ƒ¨+          „烨+          ÐÒG_ÿ  ¦I…¨+  ¦I…¨+         Ö䃨+  _ÑG_ÿ  ÒG_ÿ  HÑG_ÿ  °ÍG_ÿ  ‚„¨+  uªeƒ¨+  ؄‚„¨+  ÔG_ÿ  ¢I…¨+  àÒG_ÿ          pÎG_ÿ             
     ÿÿÿÿÿÿÿÿ¢I…¨+          ˜ÑG_ÿ                 printf ( _("from %s %d"),
 							buffer_date_2,
 							g_date_get_year ( date_tmp )),
diff --git a/src/export.c b/src/export.c
index 5dd1e61..bcb27de 100644
--- a/src/export.c
+++ b/src/export.c
@@ -444,7 +444,7 @@ GtkWidget * create_export_account_resume_page ( struct exported_account * accoun
     tmpstr = make_pango_attribut ( "size=\"x-large\"",
                         g_strdup_printf ( "Export of : %s",
                         gsb_data_account_get_name ( account -> account_nb ) ) );
-                        
+
     label = gtk_label_new ( NULL );
     gtk_misc_set_alignment ( GTK_MISC ( label ), 0, 0.5);
     gtk_label_set_justify ( GTK_LABEL ( label ), GTK_JUSTIFY_LEFT );
diff --git a/src/export_csv.c b/src/export_csv.c
index 88775f5..2f206aa 100644
--- a/src/export_csv.c
+++ b/src/export_csv.c
@@ -24,7 +24,7 @@
 /* ************************************************************************** */
 
 /**
- * \todo make the CSV parameter configurable 
+ * \todo make the CSV parameter configurable
  */
 
 #ifdef HAVE_CONFIG_H
@@ -63,7 +63,7 @@ static void csv_add_record(FILE* file,
 			   gboolean print_balance );
 static void csv_clear_fields(gboolean clear_all);
 static FILE *gsb_csv_export_open_file ( const gchar *filename );
-gboolean gsb_csv_export_sort_by_value_date_or_date ( gpointer transaction_pointer_1, 
+gboolean gsb_csv_export_sort_by_value_date_or_date ( gpointer transaction_pointer_1,
                         gpointer transaction_pointer_2 );
 static gboolean gsb_csv_export_title_line ( FILE *csv_file,
 					    gboolean print_balance );
@@ -89,13 +89,13 @@ static void gsb_csv_export_tree_view_list_export_title_line ( FILE *csv_file, Gt
  *
  * Free the memory used by the field value.
  *
- * \param a filed poointed 
+ * \param a filed poointed
  */
 #define CSV_CLEAR_FIELD(a)  if (a) { g_free(a);  a = NULL; }
 
 
 
-/** 
+/**
  * \brief write a string field.
  * \internal
  *
@@ -106,7 +106,7 @@ static void gsb_csv_export_tree_view_list_export_title_line ( FILE *csv_file, Gt
  * \param   f   valid file stream to write
  * \param   a   string field to add.
  *
- */ 
+ */
 #define CSV_STR_FIELD(f,a)  if (a) { fprintf(f,"\"%s\"%c",g_locale_from_utf8(a,-1,NULL,NULL,NULL),g_csv_field_separator); } else { fprintf(f,"\"\"%c",g_csv_field_separator); }
 
 
@@ -127,7 +127,7 @@ static void gsb_csv_export_tree_view_list_export_title_line ( FILE *csv_file, Gt
 
 /**
  * \brief Write the end of record character
- * 
+ *
  * \param   f   valid file stream to write
  */
 #define CSV_END_RECORD(f)  fprintf(f,"\n")
@@ -167,11 +167,11 @@ gchar*  csv_field_info_bank  = NULL; /*!< bank references (string) */
  * \internal
  *
  * This function is to used before computing a new operation.
- * 
+ *
  * The function is able to reset all or just a part of the variable
  * depending of the need - typically the date is not reset when reading
  * split operation items.
- * 
+ *
  * \param clear_all partial or complete cleaning.
  *
  */
@@ -208,18 +208,18 @@ static void csv_clear_fields(gboolean clear_all)
 
 /**
  * \brief Write down the current csv record.
- * 
+ *
  * \internal
- * 
+ *
  * The function appends the current csv record values followed by a end of record
  * in the given file and then clean all fields (if requested)
  * Depending of a global grisbi configuration some field may not be written (like exercice one)
- * 
+ *
  * \param file      valid file stream to write
  * \param clear_all partial or complete cleaning.
  * \param print_balance print the balance or not
- * 
- */ 
+ *
+ */
 static void csv_add_record(FILE* file,
 			   gboolean clear_all,
 			   gboolean print_balance )
@@ -465,8 +465,8 @@ static gboolean gsb_csv_export_transaction ( gint transaction_number,
 	if ( date )
 	{
 	    CSV_CLEAR_FIELD (csv_field_date);
-	    csv_field_date = g_strdup_printf ("%d/%d/%d", 
-					      g_date_get_day ( date ), 
+	    csv_field_date = g_strdup_printf ("%d/%d/%d",
+					      g_date_get_day ( date ),
 					      g_date_get_month ( date ),
 					      g_date_get_year ( date ) );
 	}
@@ -475,8 +475,8 @@ static gboolean gsb_csv_export_transaction ( gint transaction_number,
 	if ( value_date )
 	{
 	    CSV_CLEAR_FIELD (csv_field_date_val);
-	    csv_field_date_val = g_strdup_printf ("%d/%d/%d", 
-						  g_date_get_day ( value_date ), 
+	    csv_field_date_val = g_strdup_printf ("%d/%d/%d",
+						  g_date_get_day ( value_date ),
 						  g_date_get_month ( value_date ),
 						  g_date_get_year ( value_date ) );
 	}
@@ -593,7 +593,7 @@ static gboolean gsb_csv_export_transaction ( gint transaction_number,
 
 	    CSV_CLEAR_FIELD (csv_field_categ);
 	    csv_field_categ = my_strdup (_("Split of transaction"));
-        
+
 	    csv_add_record(csv_file,FALSE, print_balance);
 
 	    pSplitTransactionList = gsb_data_transaction_get_transactions_list ();
@@ -773,64 +773,64 @@ static gboolean gsb_csv_export_title_line ( FILE *csv_file,
 {
     CSV_CLEAR_FIELD (csv_field_operation );
     csv_field_operation  = my_strdup (_("Transactions"));
-    
+
     CSV_CLEAR_FIELD (csv_field_account   );
     csv_field_account    = my_strdup (_("Account name"));
-   
+
     CSV_CLEAR_FIELD (csv_field_ventil    );
     csv_field_ventil     = my_strdup (_("Split"));
-  
+
     CSV_CLEAR_FIELD (csv_field_date      );
     csv_field_date       = my_strdup (_("Date"));
- 
+
     CSV_CLEAR_FIELD (csv_field_date_val  );
     csv_field_date_val   = my_strdup (_("Value date"));
 
     CSV_CLEAR_FIELD (csv_field_cheque    );
     csv_field_cheque     = my_strdup (_("Cheques"));
-    
+
     CSV_CLEAR_FIELD (csv_field_exercice  );
     csv_field_exercice   = my_strdup (_("Financial year"));
-    
+
     CSV_CLEAR_FIELD (csv_field_pointage  );
     csv_field_pointage   = my_strdup (_("C/R"));
-    
+
     CSV_CLEAR_FIELD (csv_field_tiers     );
     csv_field_tiers      = my_strdup (_("Payee"));
-    
+
     CSV_CLEAR_FIELD (csv_field_credit    );
     csv_field_credit     = my_strdup (_("Credit"));
-    
+
     CSV_CLEAR_FIELD (csv_field_debit     );
     csv_field_debit      = my_strdup (_("Debit"));
-    
+
     CSV_CLEAR_FIELD (csv_field_montant   );
     csv_field_montant    = my_strdup (_("Amount"));
-    
+
     CSV_CLEAR_FIELD (csv_field_solde     );
     csv_field_solde      = my_strdup (_("Balance"));
-    
+
     CSV_CLEAR_FIELD (csv_field_categ     );
     csv_field_categ      = my_strdup (_("Category"));
-    
+
     CSV_CLEAR_FIELD (csv_field_sous_categ);
     csv_field_sous_categ = my_strdup (_("Sub-categories"));
-    
+
     CSV_CLEAR_FIELD (csv_field_notes     );
     csv_field_notes      = my_strdup (_("Notes"));
-    
+
     CSV_CLEAR_FIELD (csv_field_imput     );
     csv_field_imput      = my_strdup (_("Budgetary lines"));
-    
+
     CSV_CLEAR_FIELD (csv_field_sous_imput);
     csv_field_sous_imput = my_strdup (_("Sub-budgetary lines"));
-    
+
     CSV_CLEAR_FIELD (csv_field_piece     );
     csv_field_piece      = my_strdup (_("Voucher"));
-    
+
     CSV_CLEAR_FIELD (csv_field_rappro    );
     csv_field_rappro     = my_strdup (_("Reconciliation number"));
-    
+
     CSV_CLEAR_FIELD (csv_field_info_bank );
     csv_field_info_bank  = my_strdup (_("Bank references"));
 
@@ -976,13 +976,13 @@ static gboolean gsb_csv_export_tree_view_list_foreach_callback ( GtkTreeModel *m
 /**
  * used to compare 2 iters and sort the by value date or date if not exist
  * always put the white line below
- * 
+ *
  * \param iter_1
  * \param iter_2
- * 
+ *
  * \return -1 if iter_1 is before iter_2
  * */
-gint gsb_csv_export_sort_by_value_date_or_date ( gpointer transaction_pointer_1, 
+gint gsb_csv_export_sort_by_value_date_or_date ( gpointer transaction_pointer_1,
                         gpointer transaction_pointer_2 )
 {
     gint transaction_number_1;
diff --git a/src/fenetre_principale.c b/src/fenetre_principale.c
index 115afef..466e7f3 100644
--- a/src/fenetre_principale.c
+++ b/src/fenetre_principale.c
@@ -112,8 +112,8 @@ GtkWidget *gsb_gui_create_general_widgets ( void )
     arrow_eb = gtk_event_box_new ();
     gtk_widget_modify_bg ( arrow_eb, 0, &(style -> bg[GTK_STATE_ACTIVE]) );
     gtk_container_add ( GTK_CONTAINER ( arrow_eb ), arrow_left );
-    g_signal_connect ( G_OBJECT ( arrow_eb ), "button-press-event", 
-		       G_CALLBACK ( on_simpleclick_event_run ), 
+    g_signal_connect ( G_OBJECT ( arrow_eb ), "button-press-event",
+		       G_CALLBACK ( on_simpleclick_event_run ),
 		       gsb_gui_navigation_select_prev );
     gtk_box_pack_start ( GTK_BOX ( hbox ), arrow_eb, FALSE, FALSE, 0 );
 
@@ -121,8 +121,8 @@ GtkWidget *gsb_gui_create_general_widgets ( void )
     arrow_eb = gtk_event_box_new ();
     gtk_widget_modify_bg ( arrow_eb, 0, &(style -> bg[GTK_STATE_ACTIVE]) );
     gtk_container_add ( GTK_CONTAINER ( arrow_eb ), arrow_right );
-    g_signal_connect ( G_OBJECT ( arrow_eb ), "button-press-event", 
-		       G_CALLBACK ( on_simpleclick_event_run ), 
+    g_signal_connect ( G_OBJECT ( arrow_eb ), "button-press-event",
+		       G_CALLBACK ( on_simpleclick_event_run ),
 		       gsb_gui_navigation_select_next );
     gtk_box_pack_start ( GTK_BOX(hbox), arrow_eb, FALSE, FALSE, 3 );
 
@@ -177,7 +177,7 @@ GtkWidget *gsb_gui_create_general_widgets ( void )
 
 
 /**
- * Create the main notebook : 
+ * Create the main notebook :
  * a notebook wich contains the pages : main page, accounts, scheduler... and
  * the form on the bottom, the form will be showed only for accounts page and
  * scheduler page
@@ -249,7 +249,7 @@ gboolean gsb_gui_fill_general_notebook ( GtkWidget *notebook )
     gtk_notebook_append_page ( GTK_NOTEBOOK ( notebook ),
                         account_page,
                         gtk_label_new ( _("Accounts") ) );
-   
+
     gtk_notebook_append_page ( GTK_NOTEBOOK ( account_page ),
                         creation_fenetre_operations (),
                         gtk_label_new ( _("Transactions") ) );
@@ -326,7 +326,7 @@ gboolean gsb_gui_fill_general_notebook ( GtkWidget *notebook )
  * \return		FALSE
  */
 gboolean gsb_gui_on_account_switch_page ( GtkNotebook *notebook,
-                        GtkNotebookPage *page,
+                        gpointer page,
                         guint page_number,
                         gpointer null )
 {
@@ -373,10 +373,10 @@ gboolean gsb_gui_on_account_switch_page ( GtkNotebook *notebook,
 
 /**
  * Set the account notebook page.
- * 
+ *
  * \param page		Page to set.
  */
-void gsb_gui_on_account_change_page ( GsbaccountNotebookPages page )
+void gsb_gui_on_account_change_page ( GsbAccountNotebookPages page )
 {
     gtk_notebook_set_current_page ( GTK_NOTEBOOK ( account_page ), page );
 }
@@ -464,7 +464,7 @@ void gsb_gui_sensitive_headings ( gboolean sensitive )
 
 /**
  * Set the main notebook page.
- * 
+ *
  * \param page		Page to set.
  */
 void gsb_gui_notebook_change_page ( GsbGeneralNotebookPages page )
@@ -500,7 +500,7 @@ gboolean gsb_gui_hpaned_size_allocate ( GtkWidget *hpaned,
                         gpointer null )
 {
     hpaned_left_width = gtk_paned_get_position ( GTK_PANED ( hpaned ) );
-    
+
     return FALSE;
 }
 
diff --git a/src/fenetre_principale.h b/src/fenetre_principale.h
index 6226163..a2a530e 100644
--- a/src/fenetre_principale.h
+++ b/src/fenetre_principale.h
@@ -8,7 +8,7 @@ typedef enum GSB_GENERAL_NOTEBOOK_PAGES {
     GSB_ACCOUNT_PAGE,
     GSB_SCHEDULER_PAGE,
     GSB_PAYEES_PAGE,
-    GSB_SIMULATOR_PAGE, 
+    GSB_SIMULATOR_PAGE,
     GSB_CATEGORIES_PAGE,
     GSB_BUDGETARY_LINES_PAGE,
     GSB_REPORTS_PAGE,
@@ -22,7 +22,7 @@ typedef enum GSB_ACCOUNT_NOTEBOOK_PAGES {
     GSB_HISTORICAL_PAGE,
     GSB_FINANCE_PAGE,
     GSB_PROPERTIES_PAGE,
-} GsbaccountNotebookPages;
+} GsbAccountNotebookPages;
 
 /* START_INCLUDE_H */
 /* END_INCLUDE_H */
@@ -38,9 +38,9 @@ void gsb_gui_init_general_vbox ( void );
 gint gsb_gui_get_hpaned_left_width ( void );
 gboolean gsb_gui_is_hpaned_general ( void );
 void gsb_gui_notebook_change_page ( GsbGeneralNotebookPages page );
-void gsb_gui_on_account_change_page ( GsbaccountNotebookPages page );
+void gsb_gui_on_account_change_page ( GsbAccountNotebookPages page );
 gboolean gsb_gui_on_account_switch_page ( GtkNotebook *notebook,
-                        GtkNotebookPage *page,
+                        gpointer page,
                         guint page_number,
                         gpointer null );
 void gsb_gui_sensitive_headings ( gboolean sensitive );
diff --git a/src/file_obfuscate.c b/src/file_obfuscate.c
index 48cdd34..b62bbb6 100644
--- a/src/file_obfuscate.c
+++ b/src/file_obfuscate.c
@@ -101,7 +101,7 @@ gboolean file_obfuscate_run ( void )
 				      "To avoid any problems in your file, after saving the modified file, "
 				      "Grisbi will close without letting you saving anything.  "
 				      "So if you didn't save your changes, please stop this assistant, "
-				      "save your work and restart the obfuscation process.\n\n" 
+				      "save your work and restart the obfuscation process.\n\n"
 				      "In next page, you will be able to select individual features to "
 				      "obfuscate or to keep depending on the level of privacy needed."),
 				    "bug.png",
@@ -109,11 +109,11 @@ gboolean file_obfuscate_run ( void )
 
     gsb_assistant_add_page ( assistant,
 			     file_obfuscate_page_1 (),
-			     1, 0, 2, NULL ); 
+			     1, 0, 2, NULL );
     gsb_assistant_add_page ( assistant,
 			     file_obfuscate_page_2 (),
-			     2, 1, -1, NULL ); 
-    
+			     2, 1, -1, NULL );
+
     result = gsb_assistant_run ( assistant );
 
     if (result == GTK_RESPONSE_APPLY)
@@ -121,7 +121,7 @@ gboolean file_obfuscate_run ( void )
 	/* obfuscate the file */
 	GSList *tmp_list;
 	gchar *filename;
-	
+
 	/*  remove the swp file */
 	gsb_file_util_modify_lock (FALSE);
 
@@ -132,7 +132,7 @@ gboolean file_obfuscate_run ( void )
 	    while (tmp_list)
 	    {
 		gint account_number = gsb_data_account_get_no_account (tmp_list -> data);
-		
+
 		gsb_data_account_set_id (account_number,
 					 g_strdup_printf ("id account %d", account_number));
 		gsb_data_account_set_comment (account_number, NULL);
@@ -182,7 +182,7 @@ gboolean file_obfuscate_run ( void )
 	    while (tmp_list)
 	    {
 		gint account_number = gsb_data_account_get_no_account (tmp_list -> data);
-		
+
 		gsb_data_account_set_name (account_number,
 					   g_strdup_printf ("Account n°%d", account_number));
 
@@ -315,7 +315,7 @@ gboolean file_obfuscate_run ( void )
 	    {
 		gint report_number = gsb_data_report_get_report_number (tmp_list -> data);
 
-		gsb_data_report_set_report_name ( report_number, 
+		gsb_data_report_set_report_name ( report_number,
 						  g_strdup_printf ( "Report n°%d", report_number));
 
 		tmp_list = tmp_list -> next;
@@ -389,7 +389,7 @@ GtkWidget *file_obfuscate_page_1 ( void )
     gtk_box_pack_start ( GTK_BOX (paddingbox),
 			 button_everything,
 			 FALSE, FALSE, 0);
-    
+
     button_accounts_names = gtk_check_button_new_with_label (_("Hide accounts names"));
     gtk_box_pack_start ( GTK_BOX (paddingbox),
 			 button_accounts_names,
@@ -480,7 +480,7 @@ GtkWidget *file_obfuscate_page_2 ( void )
     gtk_text_view_set_right_margin ( GTK_TEXT_VIEW(text_view), 12 );
 
     buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (text_view));
-    gtk_text_buffer_create_tag ( buffer, "bold", "weight", PANGO_WEIGHT_BOLD, NULL);  
+    gtk_text_buffer_create_tag ( buffer, "bold", "weight", PANGO_WEIGHT_BOLD, NULL);
     gtk_text_buffer_create_tag ( buffer, "x-large", "scale", PANGO_SCALE_X_LARGE, NULL);
     gtk_text_buffer_create_tag ( buffer, "indented", "left-margin", 24, NULL);
 
diff --git a/src/go-charmap-sel.c b/src/go-charmap-sel.c
index 66eb3a6..6c1ffb8 100644
--- a/src/go-charmap-sel.c
+++ b/src/go-charmap-sel.c
@@ -537,7 +537,7 @@ static void cs_class_init (GtkWidgetClass *widget_klass)
 		if (!lgroups[i].collate_key) {
 			g_warning ("Failed to generate collation key for [%s] [%s]",
 				   cgroup_name, group_name);
-			if ( lgroups[i].collate_key ) 
+			if ( lgroups[i].collate_key )
 			     g_free ( lgroups[i].collate_key );
 			lgroups[i].collate_key = my_strdup (group_name);
 		}
@@ -559,7 +559,7 @@ static void cs_class_init (GtkWidgetClass *widget_klass)
 		if (!charset_trans_array[i].collate_key) {
 			g_warning ("Failed to generate collation key for [%s] [%s]",
 				   ctitle, title);
-			if ( charset_trans_array[i].collate_key ) 
+			if ( charset_trans_array[i].collate_key )
 			    g_free ( charset_trans_array[i].collate_key );
 			charset_trans_array[i].collate_key = my_strdup (title);
 		}
@@ -667,7 +667,7 @@ static void cb_find_entry (GtkMenuItem *w, struct cb_find_entry *cl)
 		gtk_container_foreach (GTK_CONTAINER (sub), (GtkCallback)cb_find_entry, cl);
 		if (cl->found)
 			return;
-		
+
 		cl->i = GPOINTER_TO_INT (cl->path->data);
 		cl->path = cl->path->next;
 		g_slist_free_1 (tmp);
@@ -684,7 +684,7 @@ static void cb_find_entry (GtkMenuItem *w, struct cb_find_entry *cl)
 	cl->i++;
 }
 
-/* 
+/*
  * TODO dOm : this function seems not to be used :
  * warning: ‘go_charmap_sel_set_encoding’ defined but not used
  * Is it possible to remove it ? */
diff --git a/src/go-optionmenu.c b/src/go-optionmenu.c
index f59c499..e740b55 100644
--- a/src/go-optionmenu.c
+++ b/src/go-optionmenu.c
@@ -11,7 +11,7 @@
  * Modified by the GTK+ Team and others 1997-2000.  See the GTK AUTHORS
  * file for a list of people on the GTK+ Team.  See the ChangeLog
  * files for a list of changes.  These files are distributed with
- * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
  *
  *
  * This library is free software; you can redistribute it and/or
@@ -100,7 +100,7 @@ static void go_option_menu_size_allocate (GtkWidget     *widget,
 static void go_option_menu_size_request (GtkWidget      *widget,
 				   GtkRequisition *requisition);
 static void go_option_menu_update_contents (GOOptionMenu *option_menu, GtkMenu *menu);
-static void go_option_menu_update_contents_real (GOOptionMenu *option_menu, 
+static void go_option_menu_update_contents_real (GOOptionMenu *option_menu,
 					   GtkMenu *menu, GtkMenuItem *menu_item);
 /*END_STATIC*/
 
@@ -229,7 +229,7 @@ static void go_option_menu_class_init (GOOptionMenuClass *class)
   gobject_class->set_property = go_option_menu_set_property;
   gobject_class->get_property = go_option_menu_get_property;
   object_class->destroy = go_option_menu_destroy;
-  
+
   widget_class->size_request = go_option_menu_size_request;
   widget_class->size_allocate = go_option_menu_size_allocate;
   widget_class->expose_event = go_option_menu_expose;
@@ -249,7 +249,7 @@ static void go_option_menu_class_init (GOOptionMenuClass *class)
                                                         _("The menu of options"),
                                                         GTK_TYPE_MENU,
                                                         G_PARAM_READABLE | G_PARAM_WRITABLE));
-  
+
   gtk_widget_class_install_style_property (widget_class,
 					   g_param_spec_boxed ("indicator_size",
 							       _("Indicator Size"),
@@ -300,7 +300,7 @@ GtkWidget* go_option_menu_get_menu (GOOptionMenu *option_menu)
 */
 
 static void go_option_menu_detacher (GtkWidget     *widget,
-				     GtkMenu	*menu) 
+				     GtkMenu	*menu)
 {
   GOOptionMenu *option_menu;
 
@@ -316,7 +316,7 @@ static void go_option_menu_detacher (GtkWidget     *widget,
   g_signal_handlers_disconnect_by_func (option_menu->menu,
 					go_option_menu_calc_size,
 					option_menu);
-  
+
   option_menu->menu = NULL;
   g_object_notify (G_OBJECT (option_menu), "menu");
 }
@@ -326,7 +326,7 @@ static void connect_menu_signals (GtkMenu *menu, gpointer data);
 static void connect_menu_signals_to_submenu (GtkMenuItem *item, gpointer data)
 {
 	GtkMenu *menu = GTK_MENU(gtk_menu_item_get_submenu (item));
-	
+
 	if (menu)
 		connect_menu_signals (menu, data);
 }
@@ -335,7 +335,7 @@ static void connect_menu_signals_to_submenu (GtkMenuItem *item, gpointer data)
 static void connect_menu_signals (GtkMenu *menu, gpointer data)
 {
 	GList *children;
-	
+
 	g_signal_connect_after (menu, "selection_done",
 				G_CALLBACK (go_option_menu_selection_done),
 				data);
@@ -363,7 +363,7 @@ void go_option_menu_set_menu (GOOptionMenu *option_menu,
       go_option_menu_calc_size (option_menu);
 
       connect_menu_signals (GTK_MENU(option_menu->menu), option_menu);
-      
+
       g_signal_connect_swapped (option_menu->menu, "size_request",
 				G_CALLBACK (go_option_menu_calc_size),
 				option_menu);
@@ -372,7 +372,7 @@ void go_option_menu_set_menu (GOOptionMenu *option_menu,
 	gtk_widget_queue_resize (GTK_WIDGET (option_menu));
 
       go_option_menu_update_contents (option_menu, NULL);
-      
+
       g_object_notify (G_OBJECT (option_menu), "menu");
     }
 }
@@ -385,7 +385,7 @@ void go_option_menu_remove_menu (GOOptionMenu *option_menu)
     {
       if (GTK_MENU_SHELL (option_menu->menu)->active)
 	g_signal_emit_by_name (option_menu->menu, "cancel", 0);
-      
+
       gtk_menu_detach (GTK_MENU (option_menu->menu));
     }
 }
@@ -393,14 +393,14 @@ void go_option_menu_remove_menu (GOOptionMenu *option_menu)
 void go_option_menu_set_history (GOOptionMenu *option_menu, GSList *selection)
 {
   GtkWidget *item;
-  
+
   g_return_if_fail (selection != NULL);
   g_return_if_fail (GO_IS_OPTION_MENU (option_menu));
 
   if (option_menu->menu)
     {
 	    GtkMenu *menu = GTK_MENU(option_menu->menu);
-	    
+
 	    while (selection->next) {
 		    GList *children = gtk_container_get_children (GTK_CONTAINER(menu));
 		    gint index = GPOINTER_TO_INT (selection->data);
@@ -409,7 +409,7 @@ void go_option_menu_set_history (GOOptionMenu *option_menu, GSList *selection)
 		    selection = selection->next;
 		    g_list_free (children);
 	    }
-	    
+
 	    gtk_menu_set_active (menu,  GPOINTER_TO_INT (selection->data));
 	    item = gtk_menu_get_active (menu);
 	    if (item != option_menu->menu_item)
@@ -422,10 +422,10 @@ void go_option_menu_set_history (GOOptionMenu *option_menu, GSList *selection)
 /**
  * go_option_menu_get_history:
  * @option_menu: a #GOOptionMenu
- * 
+ *
  * Retrieves the currently selected menu item. The menu
- * items are numbered from top to bottom, starting with 0. 
- * 
+ * items are numbered from top to bottom, starting with 0.
+ *
  * Return value: the selected menu_item
  **/
 
@@ -449,7 +449,7 @@ static void go_option_menu_set_property (GObject            *object,
     case PROP_MENU:
       go_option_menu_set_menu (option_menu, g_value_get_object (value));
       break;
-      
+
     default:
       G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
       break;
@@ -468,7 +468,7 @@ static void go_option_menu_get_property (GObject            *object,
     case PROP_MENU:
       g_value_set_object (value, option_menu->menu);
       break;
-      
+
     default:
       G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
       break;
@@ -500,7 +500,7 @@ static void go_option_menu_get_props (GOOptionMenu       *option_menu,
 {
   GtkRequisition *indicator_size;
   GtkBorder *indicator_spacing;
-  
+
   gtk_widget_style_get (GTK_WIDGET (option_menu),
 			"indicator_size", &indicator_size,
 			"indicator_spacing", &indicator_spacing,
@@ -530,9 +530,9 @@ static void go_option_menu_size_request (GtkWidget      *widget,
   GOOptionMenuProps props;
   gint tmp;
   GtkRequisition child_requisition = { 0, 0 };
-      
+
   go_option_menu_get_props (option_menu, &props);
- 
+
   if (GTK_BIN (option_menu)->child && GTK_WIDGET_VISIBLE (GTK_BIN (option_menu)->child))
     {
       gtk_widget_size_request (GTK_BIN (option_menu)->child, &child_requisition);
@@ -540,7 +540,7 @@ static void go_option_menu_size_request (GtkWidget      *widget,
       requisition->width += child_requisition.width;
       requisition->height += child_requisition.height;
     }
-  
+
   requisition->width = ((GTK_CONTAINER (widget)->border_width +
 			 GTK_WIDGET (widget)->style->xthickness + props.focus_pad) * 2 +
 			MAX (child_requisition.width, option_menu->width) +
@@ -565,7 +565,7 @@ static void go_option_menu_size_allocate (GtkWidget     *widget,
   GtkAllocation child_allocation;
   GOOptionMenuProps props;
   gint border_width;
-    
+
   go_option_menu_get_props (GO_OPTION_MENU (widget), &props);
   border_width = GTK_CONTAINER (widget)->border_width;
 
@@ -580,7 +580,7 @@ static void go_option_menu_size_allocate (GtkWidget     *widget,
     {
       gint xthickness = GTK_WIDGET (widget)->style->xthickness;
       gint ythickness = GTK_WIDGET (widget)->style->ythickness;
-      
+
       child_allocation.x = widget->allocation.x + border_width + xthickness + props.focus_width + props.focus_pad + CHILD_LEFT_SPACING;
       child_allocation.y = widget->allocation.y + border_width + ythickness + props.focus_width + props.focus_pad + CHILD_TOP_SPACING;
       child_allocation.width = MAX (1, allocation->width - (border_width + xthickness + props.focus_width + props.focus_pad) * 2 -
@@ -589,7 +589,7 @@ static void go_option_menu_size_allocate (GtkWidget     *widget,
       child_allocation.height = MAX (1, allocation->height - (border_width + ythickness + props.focus_width + props.focus_pad) * 2 -
 				     CHILD_TOP_SPACING - CHILD_BOTTOM_SPACING);
 
-      if (gtk_widget_get_direction (GTK_WIDGET (widget)) == GTK_TEXT_DIR_RTL) 
+      if (gtk_widget_get_direction (GTK_WIDGET (widget)) == GTK_TEXT_DIR_RTL)
 	child_allocation.x += props.indicator_size.width + props.indicator_spacing.left + props.indicator_spacing.right;
 
       gtk_widget_size_allocate (child, &child_allocation);
@@ -624,18 +624,18 @@ static void go_option_menu_paint (GtkWidget    *widget,
 	  button_area.width -= 2 * (props.focus_width + props.focus_pad);
 	  button_area.height -= 2 * (props.focus_width + props.focus_pad);
 	}
-      
+
       gtk_paint_box (widget->style, widget->window,
 		     GTK_WIDGET_STATE (widget), GTK_SHADOW_OUT,
 		     area, widget, "optionmenu",
 		     button_area.x, button_area.y,
 		     button_area.width, button_area.height);
-      
-      if (gtk_widget_get_direction (GTK_WIDGET (widget)) == GTK_TEXT_DIR_RTL) 
-	tab_x = button_area.x + props.indicator_spacing.right + 
+
+      if (gtk_widget_get_direction (GTK_WIDGET (widget)) == GTK_TEXT_DIR_RTL)
+	tab_x = button_area.x + props.indicator_spacing.right +
 	  widget->style->xthickness;
       else
-	tab_x = button_area.x + button_area.width - 
+	tab_x = button_area.x + button_area.width -
 	  props.indicator_size.width - props.indicator_spacing.right -
 	  widget->style->xthickness;
 
@@ -645,7 +645,7 @@ static void go_option_menu_paint (GtkWidget    *widget,
 		     tab_x,
 		     button_area.y + (button_area.height - props.indicator_size.height) / 2,
 		     props.indicator_size.width, props.indicator_size.height);
-      
+
       if (GTK_WIDGET_HAS_FOCUS (widget))
 	{
 	  if (props.interior_focus)
@@ -657,7 +657,7 @@ static void go_option_menu_paint (GtkWidget    *widget,
 		      props.indicator_spacing.right +
 		      props.indicator_size.width;
 	      button_area.height -= 2 * (widget->style->ythickness + props.focus_pad);
-	      if (gtk_widget_get_direction (GTK_WIDGET (widget)) == GTK_TEXT_DIR_RTL) 
+	      if (gtk_widget_get_direction (GTK_WIDGET (widget)) == GTK_TEXT_DIR_RTL)
 		button_area.x += props.indicator_spacing.left +
 		  props.indicator_spacing.right +
 		  props.indicator_size.width;
@@ -669,11 +669,11 @@ static void go_option_menu_paint (GtkWidget    *widget,
 	      button_area.width += 2 * (props.focus_width + props.focus_pad);
 	      button_area.height += 2 * (props.focus_width + props.focus_pad);
 	    }
-	    
+
 	  gtk_paint_focus (widget->style, widget->window, GTK_WIDGET_STATE (widget),
 			   area, widget, "button",
-			   button_area.x, 
-			   button_area.y, 
+			   button_area.x,
+			   button_area.y,
 			   button_area.width,
 			   button_area.height);
 	}
@@ -723,9 +723,9 @@ static gint go_option_menu_button_press (GtkWidget      *widget,
 	    if (menu_item)
 		    gtk_menu_shell_select_item (GTK_MENU_SHELL (option_menu->menu), menu_item);
 	    else
-		    gtk_menu_shell_select_item (GTK_MENU_SHELL (option_menu->select_menu), 
+		    gtk_menu_shell_select_item (GTK_MENU_SHELL (option_menu->select_menu),
 						option_menu->old_menu_item);
-		    
+
       return TRUE;
     }
 
@@ -757,11 +757,11 @@ static gint go_option_menu_key_press (GtkWidget   *widget,
 	    if (menu_item)
 		    gtk_menu_shell_select_item (GTK_MENU_SHELL (option_menu->menu), menu_item);
 	    else
-		    gtk_menu_shell_select_item (GTK_MENU_SHELL (option_menu->select_menu), 
+		    gtk_menu_shell_select_item (GTK_MENU_SHELL (option_menu->select_menu),
 						option_menu->old_menu_item);
 	    return TRUE;
     }
-  
+
   return FALSE;
 }
 
@@ -781,13 +781,13 @@ static void go_option_menu_changed (GOOptionMenu *option_menu)
   if (option_menu->last_signaled_menu_item && GTK_IS_CHECK_MENU_ITEM(option_menu->last_signaled_menu_item))
 	  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM(option_menu->last_signaled_menu_item),
 					  FALSE);
-  
+
   option_menu->last_signaled_menu_item = option_menu->menu_item;
   if (option_menu->last_signaled_menu_item
       && GTK_IS_CHECK_MENU_ITEM(option_menu->last_signaled_menu_item))
           gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM(option_menu->last_signaled_menu_item),
 					  TRUE);
-  
+
   g_signal_emit (option_menu, signals[CHANGED], 0);
 }
 
@@ -821,7 +821,7 @@ static void go_option_menu_item_destroy_cb (GtkWidget     *widget,
     }
 }
 
-static void go_option_menu_update_contents_real (GOOptionMenu *option_menu, 
+static void go_option_menu_update_contents_real (GOOptionMenu *option_menu,
 					   GtkMenu *menu, GtkMenuItem *menu_item)
 {
 	GtkWidget *child;
@@ -830,7 +830,7 @@ static void go_option_menu_update_contents_real (GOOptionMenu *option_menu,
 	g_return_if_fail (option_menu != NULL);
 	g_return_if_fail (menu_item != NULL);
 	g_return_if_fail (menu != NULL);
-	
+
 	go_option_menu_remove_contents (option_menu);
 	option_menu->menu_item = GTK_WIDGET(menu_item);
 	option_menu->old_menu_item = NULL;
@@ -843,16 +843,16 @@ static void go_option_menu_update_contents_real (GOOptionMenu *option_menu,
 			gtk_widget_set_sensitive (child, FALSE);
 		gtk_widget_reparent (child, GTK_WIDGET (option_menu));
 	}
-	
+
 	g_signal_connect (option_menu->menu_item, "state_changed",
 			  G_CALLBACK (go_option_menu_item_state_changed_cb), option_menu);
 	g_signal_connect (option_menu->menu_item, "destroy",
 			  G_CALLBACK (go_option_menu_item_destroy_cb), option_menu);
-	
+
 	gtk_widget_size_request (child, &child_requisition);
 	gtk_widget_size_allocate (GTK_WIDGET (option_menu),
 				  &(GTK_WIDGET (option_menu)->allocation));
-	
+
 	if (GTK_WIDGET_DRAWABLE (option_menu))
 		gtk_widget_queue_draw (GTK_WIDGET (option_menu));
 }
@@ -867,32 +867,32 @@ static void go_option_menu_update_contents (GOOptionMenu *option_menu, GtkMenu *
   {
 	  GtkWidget *old_item = option_menu->menu_item;
 	  GtkWidget *new_item;
-	  
+
 	  new_item = menu ? gtk_menu_get_active (menu) :
 		  gtk_menu_get_active (GTK_MENU(option_menu->menu));
-	  
+
  	  if (new_item && !gtk_menu_item_get_submenu (GTK_MENU_ITEM(new_item))) {
 		  g_slist_free (option_menu->selection);
 		  option_menu->selection = NULL;
-		  
-		  go_option_menu_update_contents_real (option_menu, 
-							     menu ? menu : GTK_MENU(option_menu->menu), 
+
+		  go_option_menu_update_contents_real (option_menu,
+							     menu ? menu : GTK_MENU(option_menu->menu),
 							     GTK_MENU_ITEM(new_item));
 	  } else {
 		  if (option_menu->old_menu_item)
-			  go_option_menu_update_contents_real (option_menu, 
-								     GTK_MENU(option_menu->select_menu), 
+			  go_option_menu_update_contents_real (option_menu,
+								     GTK_MENU(option_menu->select_menu),
 								     GTK_MENU_ITEM(option_menu->old_menu_item));
 	  }
 	  if (new_item && !(gtk_menu_item_get_submenu (GTK_MENU_ITEM(new_item)) && option_menu->new_selection)) {
 		  GList *children = gtk_container_get_children (GTK_CONTAINER(menu ? menu : GTK_MENU(option_menu->menu)));
-		  option_menu->selection = g_slist_prepend(option_menu->selection, 
+		  option_menu->selection = g_slist_prepend(option_menu->selection,
 							   GINT_TO_POINTER(g_list_position
 									   (children, g_list_find (children, new_item))));
 		  g_list_free (children);
 		  option_menu->new_selection = FALSE;
 	  }
-	  
+
 	  if (old_item != option_menu->menu_item)
 		  go_option_menu_changed (option_menu);
   }
@@ -901,13 +901,13 @@ static void go_option_menu_update_contents (GOOptionMenu *option_menu, GtkMenu *
 static void go_option_menu_remove_contents (GOOptionMenu *option_menu)
 {
   GtkWidget *child;
-  
+
   g_return_if_fail (GO_IS_OPTION_MENU (option_menu));
 
   if (option_menu->menu_item)
     {
       child = GTK_BIN (option_menu)->child;
-  
+
       if (child)
 	{
 	  gtk_widget_set_sensitive (child, TRUE);
@@ -916,7 +916,7 @@ static void go_option_menu_remove_contents (GOOptionMenu *option_menu)
 
       g_signal_handlers_disconnect_by_func (option_menu->menu_item,
 					    go_option_menu_item_state_changed_cb,
-					    option_menu);				     
+					    option_menu);
       g_signal_handlers_disconnect_by_func (option_menu->menu_item,
 					    go_option_menu_item_destroy_cb,
 					    option_menu);
@@ -1020,7 +1020,7 @@ static void go_option_menu_position (GtkMenu  *menu,
     }
 
   screen_width = gdk_screen_get_width (gtk_widget_get_screen (widget));
-  
+
   if (menu_xpos < 0)
     menu_xpos = 0;
   else if ((menu_xpos + menu_width) > screen_width)
@@ -1036,7 +1036,7 @@ static void go_option_menu_show_all (GtkWidget *widget)
 {
   GtkContainer *container;
   GOOptionMenu *option_menu;
-  
+
   g_return_if_fail (GO_IS_OPTION_MENU (widget));
   container = GTK_CONTAINER (widget);
   option_menu = GO_OPTION_MENU (widget);
diff --git a/src/go-optionmenu.h b/src/go-optionmenu.h
index 04c1a38..92c02f3 100644
--- a/src/go-optionmenu.h
+++ b/src/go-optionmenu.h
@@ -1,4 +1,4 @@
-/* 
+/*
  * go-optionmenu.h
  *
  * Copyright (C) 2002-2005 Andreas J. Guelzow <aguelzow at taliesin.ca>
@@ -11,7 +11,7 @@
  * Modified by the GTK+ Team and others 1997-2000.  See the GTK AUTHORS
  * file for a list of people on the GTK+ Team.  See the ChangeLog
  * files for a list of changes.  These files are distributed with
- * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
  *
  *
  * This library is free software; you can redistribute it and/or
@@ -56,7 +56,7 @@ typedef struct _GOOptionMenuClass  GOOptionMenuClass;
 struct _GOOptionMenu
 {
 	GtkButton button;
-	
+
 	GtkWidget *menu;
 	GtkWidget *select_menu;
 	GtkWidget *menu_item;
@@ -66,7 +66,7 @@ struct _GOOptionMenu
 
 	GSList *selection;
 	gboolean new_selection;
-	
+
 	guint16 width;
 	guint16 height;
 };
diff --git a/src/grisbi_osx.c b/src/grisbi_osx.c
index 16bef69..7137b12 100644
--- a/src/grisbi_osx.c
+++ b/src/grisbi_osx.c
@@ -187,7 +187,7 @@ static void radio_item_changed_cb ( GtkAction* action, GtkAction* current, MenuC
 static gboolean attention_cb ( AttentionRequest* req )
 {
     gtk_osxapplication_attention_request ( req->app, req->type );
-  
+
     g_free(req);
 
     return FALSE;
@@ -256,12 +256,12 @@ GtkWidget *grisbi_osx_init_menus ( GtkWidget *window, GtkWidget *menubar )
 
     gtk_osxapplication_set_menu_bar ( theApp, GTK_MENU_SHELL ( menubar ) );
     gtk_osxapplication_insert_app_menu_item  ( theApp, items->about_item, 0 );
-  
+
     sep = gtk_separator_menu_item_new ( );
     g_object_ref ( sep );
     gtk_osxapplication_insert_app_menu_item  ( theApp, sep, 1 );
     gtk_osxapplication_insert_app_menu_item  ( theApp, items->preferences_item, 2);
-  
+
     sep = gtk_separator_menu_item_new ( );
     g_object_ref ( sep );
     gtk_osxapplication_insert_app_menu_item  ( theApp, sep, 3 );
diff --git a/src/gsb_account.c b/src/gsb_account.c
index 658b044..1a36d6a 100644
--- a/src/gsb_account.c
+++ b/src/gsb_account.c
@@ -73,9 +73,9 @@ extern gint mise_a_jour_soldes_minimaux;
  * called to create a new account
  * called by the account assistant, should not be used directly
  * !! here is just to add an account, for new complete file see gsb_file_new
- * 
+ *
  * \param none
- * 
+ *
  * \return FALSE if problem, TRUE if ok
  */
 
@@ -107,11 +107,11 @@ gboolean gsb_account_new ( kind_account account_type,
     gsb_data_account_set_currency ( account_number, currency_number);
     gsb_data_account_set_bank (account_number, bank_number);
     gsb_data_account_set_init_balance (account_number, init_amount);
-    gsb_data_account_set_mini_balance_wanted ( account_number, 
-					       gsb_real_new ( 0, 
+    gsb_data_account_set_mini_balance_wanted ( account_number,
+					       gsb_real_new ( 0,
 							      gsb_data_currency_get_floating_point (currency_number) ) );
-    gsb_data_account_set_mini_balance_authorized (account_number, 
-						  gsb_real_new ( 0, 
+    gsb_data_account_set_mini_balance_authorized (account_number,
+						  gsb_real_new ( 0,
 								 gsb_data_currency_get_floating_point (currency_number) ) );
     gsb_data_account_set_name (account_number, name);
 
@@ -126,7 +126,7 @@ gboolean gsb_account_new ( kind_account account_type,
     mise_a_jour_liste_comptes_accueil = 1;
 
     /* update the accounts lists */
-    gsb_menu_update_accounts_in_menus (); 
+    gsb_menu_update_accounts_in_menus ();
 
     /* do the next part only if the widgets are created
      * (can come here at the end of the new file assistant...) */
@@ -166,7 +166,7 @@ gboolean gsb_account_delete ( void )
 
     deleted_account = gsb_gui_navigation_get_current_account ();
     devel_debug_int (deleted_account);
-    
+
     tmpstr = g_strdup_printf (_("Delete account \"%s\"?"),
                         gsb_data_account_get_name ( deleted_account ) ) ;
 
@@ -484,7 +484,7 @@ gboolean gsb_account_set_combo_account_number ( GtkWidget *combo_box,
 	}
     }
     while (gtk_tree_model_iter_next (model, &iter));
-    
+
     return FALSE;
 }
 
@@ -530,11 +530,11 @@ GtkWidget *gsb_account_create_menu_list ( GCallback func,
 		g_signal_connect ( G_OBJECT ( item ), "activate", G_CALLBACK(func), NULL );
 	    gtk_menu_shell_append ( GTK_MENU_SHELL ( menu ), item );
 
-	    if ( !activate_currrent && 
+	    if ( !activate_currrent &&
 		 gsb_gui_navigation_get_current_account () == i)
 	    {
 		gtk_widget_set_sensitive ( item, FALSE );
-	    }      
+	    }
 
 	    gtk_widget_show ( item );
 	}
diff --git a/src/gsb_account_property.c b/src/gsb_account_property.c
index 1aa5f9c..0a85fad 100644
--- a/src/gsb_account_property.c
+++ b/src/gsb_account_property.c
@@ -234,7 +234,7 @@ GtkWidget *gsb_account_property_create_page ( void )
 
     /* création de la ligne des détails du compte */
     paddingbox = new_paddingbox_with_title (vbox, FALSE, _("Account details"));
-    
+
    /* création de la ligne du nom du compte */
     hbox = gtk_hbox_new ( FALSE, 6 );
     gtk_box_pack_start ( GTK_BOX(paddingbox), hbox, FALSE, FALSE, 0 );
@@ -283,7 +283,7 @@ GtkWidget *gsb_account_property_create_page ( void )
     gtk_size_group_add_widget ( GTK_SIZE_GROUP ( size_group ), label );
     gtk_box_pack_start ( GTK_BOX(hbox), label, FALSE, FALSE, 0);
 
-    detail_devise_compte = gsb_autofunc_currency_new (TRUE, 
+    detail_devise_compte = gsb_autofunc_currency_new (TRUE,
                         0,
                         G_CALLBACK (gsb_account_property_changed),
                         GINT_TO_POINTER (PROPERTY_CURRENCY),
@@ -525,7 +525,7 @@ GtkWidget *gsb_account_property_create_page ( void )
     gtk_box_pack_start ( GTK_BOX ( hbox ), label, FALSE, FALSE, 0 );
 
     detail_solde_init = gsb_autofunc_real_new ( null_real,
-                        G_CALLBACK (gsb_account_property_changed), 
+                        G_CALLBACK (gsb_account_property_changed),
                         GINT_TO_POINTER (PROPERTY_INIT_BALANCE),
                         G_CALLBACK (gsb_data_account_set_init_balance), 0);
     gtk_box_pack_start ( GTK_BOX ( hbox ), detail_solde_init, TRUE, TRUE, 0 );
@@ -541,7 +541,7 @@ GtkWidget *gsb_account_property_create_page ( void )
     gtk_box_pack_start ( GTK_BOX ( hbox ), label, FALSE, FALSE, 0 );
 
     detail_solde_mini_autorise = gsb_autofunc_real_new ( null_real,
-                        G_CALLBACK (gsb_account_property_changed), 
+                        G_CALLBACK (gsb_account_property_changed),
                         GINT_TO_POINTER (PROPERTY_WANTED_BALANCE),
                         G_CALLBACK (gsb_data_account_set_mini_balance_authorized),
                         0);
@@ -1464,7 +1464,7 @@ gint gsb_account_property_iban_control_iban ( gchar *iban )
 
     tmp_str = g_strndup ( iban + 2, 2 );
     code_controle =  utils_str_atoi ( tmp_str );
-    
+
     if ( code_controle - reste == 0 )
         result = 1;
     else
diff --git a/src/gsb_archive_config.c b/src/gsb_archive_config.c
index 8efa322..5a4ae45 100644
--- a/src/gsb_archive_config.c
+++ b/src/gsb_archive_config.c
@@ -176,8 +176,8 @@ GtkWidget *gsb_archive_config_create ( void )
     modification_paddingbox = new_paddingbox_with_title (vbox_pref, FALSE,
 						    _("Archive modification"));
     gtk_widget_set_sensitive ( modification_paddingbox, FALSE );
-    g_signal_connect (gtk_tree_view_get_selection (GTK_TREE_VIEW (archive_treeview)), 
-		      "changed", 
+    g_signal_connect (gtk_tree_view_get_selection (GTK_TREE_VIEW (archive_treeview)),
+		      "changed",
 		      G_CALLBACK (gsb_archive_config_select),
 		      modification_paddingbox);
 
@@ -212,7 +212,7 @@ GtkWidget *gsb_archive_config_create ( void )
 		       G_CALLBACK (gsb_archive_config_delete_archive),
 		       archive_treeview );
     tmpstr = g_build_filename ( gsb_dirs_get_pixmaps_dir ( ), "import.png", NULL );
-    gtk_button_set_image ( GTK_BUTTON(button), 
+    gtk_button_set_image ( GTK_BUTTON(button),
 			   gtk_image_new_from_file ( tmpstr ) );
     g_free ( tmpstr );
     gtk_table_attach ( GTK_TABLE ( table ),
@@ -229,7 +229,7 @@ GtkWidget *gsb_archive_config_create ( void )
 		       G_CALLBACK (gsb_archive_config_destroy_archive),
 		       archive_treeview );
     tmpstr = g_build_filename ( gsb_dirs_get_pixmaps_dir ( ), "import.png", NULL );
-    gtk_button_set_image ( GTK_BUTTON(button), 
+    gtk_button_set_image ( GTK_BUTTON(button),
 			   gtk_image_new_from_file ( tmpstr ) );
     g_free ( tmpstr );
 
@@ -341,7 +341,7 @@ static void gsb_archive_config_fill_list ( GtkListStore *store )
 
 
 /**
- * Callback used when an archive is selected 
+ * Callback used when an archive is selected
  *
  * \param selection the tree selection
  * \param paddingbox the modification paddingbox
@@ -365,7 +365,7 @@ static gboolean gsb_archive_config_select ( GtkTreeSelection *selection,
 				   TRUE );
 
 	model = gtk_tree_view_get_model (GTK_TREE_VIEW (archive_treeview));
-	gtk_tree_model_get (model, &iter, 
+	gtk_tree_model_get (model, &iter,
 			    ARCHIVES_NUMBER, &archive_number,
 			    -1 );
 
@@ -412,12 +412,12 @@ static gboolean gsb_archive_config_name_changed ( GtkWidget *entry,
 	gint archive_number;
 
 	model = gtk_tree_view_get_model ( GTK_TREE_VIEW (tree_view));
-	gtk_tree_model_get ( GTK_TREE_MODEL(model), &iter, 
+	gtk_tree_model_get ( GTK_TREE_MODEL(model), &iter,
 			     ARCHIVES_NUMBER, &archive_number,
 			     -1 );
 
 	/* update the tree view */
-	gtk_list_store_set (GTK_LIST_STORE (model), &iter, 
+	gtk_list_store_set (GTK_LIST_STORE (model), &iter,
 			    ARCHIVES_NAME_COLUMN, gsb_data_archive_get_name (archive_number),
 			    -1 );
     }
@@ -453,7 +453,7 @@ static gboolean gsb_archive_config_delete_archive ( GtkWidget *button,
     gint archive_number;
 
     model = gtk_tree_view_get_model ( GTK_TREE_VIEW (tree_view));
-    gtk_tree_model_get ( GTK_TREE_MODEL(model), &iter, 
+    gtk_tree_model_get ( GTK_TREE_MODEL(model), &iter,
                         ARCHIVES_NUMBER, &archive_number,
                         -1 );
 
@@ -517,7 +517,7 @@ static gboolean gsb_archive_config_destroy_archive ( GtkWidget *button,
 	gchar* tmpstr;
 
 	model = gtk_tree_view_get_model ( GTK_TREE_VIEW (tree_view));
-	gtk_tree_model_get ( GTK_TREE_MODEL(model), &iter, 
+	gtk_tree_model_get ( GTK_TREE_MODEL(model), &iter,
 			     ARCHIVES_NUMBER, &archive_number,
 			     -1 );
 
@@ -572,7 +572,7 @@ static gboolean gsb_archive_config_destroy_archive ( GtkWidget *button,
 	while (tmp_list)
 	{
 	    gint transaction_number;
-	    
+
 	    transaction_number = gsb_data_transaction_get_transaction_number (tmp_list -> data);
 	    if (gsb_data_transaction_get_archive_number (transaction_number) == archive_number)
 	    {
@@ -601,7 +601,7 @@ static gboolean gsb_archive_config_destroy_archive ( GtkWidget *button,
 	    gsb_account_property_fill_page ();
 	    transaction_list_set_balances ();
 	}
-	
+
         gsb_file_set_modified ( TRUE );
     }
     return FALSE;
diff --git a/src/gsb_assistant.c b/src/gsb_assistant.c
index 06e0bee..95badcd 100644
--- a/src/gsb_assistant.c
+++ b/src/gsb_assistant.c
@@ -43,14 +43,46 @@
 /*END_INCLUDE*/
 
 /*START_STATIC*/
-static gboolean gsb_assistant_change_page ( GtkNotebook * notebook, GtkNotebookPage * npage,
-				     gint page, gpointer assistant );
 /*END_STATIC*/
 
 /*START_EXTERN*/
 /*END_EXTERN*/
 
 
+/**
+ * Call a user-defined optional callback when user change page.  Note
+ * that it is called AFTER stock callbacks for various reasons.
+ *
+ * \param notebook	This Grisbi assistant notebook.
+ * \param npage		Not used.
+ * \param page		Page selected.
+ * \param assistant	Grisbi assistant containing the notebook.
+ *
+ * \return		Result from user-defined callback or FALSE if
+ *			no callback defined.
+ */
+static gboolean gsb_assistant_change_page ( GtkNotebook *notebook,
+                        gpointer npage,
+                        gint page,
+                        gpointer assistant )
+{
+    typedef gboolean ( * gsb_assistant_callback ) ( GtkWidget *, gint );
+    gsb_assistant_callback callback;
+/*     gpointer padding[32];	/\* Don't touch, looks like we have a */
+/* 				 * buffer overflow problem. *\/ */
+
+    gchar* tmpstr = g_strdup_printf ( "enter%d", page );
+    callback = ( gsb_assistant_callback ) g_object_get_data ( G_OBJECT (assistant), tmpstr );
+    g_free ( tmpstr );
+
+    if ( callback )
+    {
+	return callback ( assistant, page );
+    }
+
+    return FALSE;
+}
+
 
 /**
  * Create and initialize a new grisbi assistant.  It is basically
@@ -158,8 +190,10 @@ GtkWidget * gsb_assistant_new ( const gchar * title, const gchar * explanation,
 
     gtk_notebook_append_page ( GTK_NOTEBOOK(notebook), view, gtk_label_new(NULL) );
 
-    g_signal_connect_after ( notebook, "switch-page",
-                        G_CALLBACK ( gsb_assistant_change_page ), assistant );
+    g_signal_connect_after ( notebook,
+                        "switch-page",
+                        G_CALLBACK ( gsb_assistant_change_page ),
+                        assistant );
 
     gsb_assistant_set_next ( assistant, 0, 1 );
     g_object_set_data ( G_OBJECT(assistant), "notebook", notebook );
@@ -304,39 +338,6 @@ GtkResponseType gsb_assistant_run ( GtkWidget * assistant )
 
 
 
-/**
- * Call a user-defined optional callback when user change page.  Note
- * that it is called AFTER stock callbacks for various reasons.
- *
- * \param notebook	This Grisbi assistant notebook.
- * \param npage		Not used.
- * \param page		Page selected.
- * \param assistant	Grisbi assistant containing the notebook.
- *
- * \return		Result from user-defined callback or FALSE if
- *			no callback defined.
- */
-gboolean gsb_assistant_change_page ( GtkNotebook * notebook, GtkNotebookPage * npage,
-				     gint page, gpointer assistant )
-{
-    typedef gboolean ( * gsb_assistant_callback ) ( GtkWidget *, gint );
-    gsb_assistant_callback callback;
-/*     gpointer padding[32];	/\* Don't touch, looks like we have a */
-/* 				 * buffer overflow problem. *\/ */
-
-    gchar* tmpstr = g_strdup_printf ( "enter%d", page );
-    callback = ( gsb_assistant_callback ) g_object_get_data ( G_OBJECT (assistant), tmpstr );
-    g_free ( tmpstr );
-
-    if ( callback )
-    {
-	return callback ( assistant, page );
-    }
-
-    return FALSE;
-}
-
-
 
 /**
  * Change the previous page associated to a notebook page.  This can
diff --git a/src/gsb_assistant_account.c b/src/gsb_assistant_account.c
index e3a1554..1c550c4 100644
--- a/src/gsb_assistant_account.c
+++ b/src/gsb_assistant_account.c
@@ -236,13 +236,13 @@ static GtkWidget *gsb_assistant_account_page_3 ( GtkWidget *assistant )
     gtk_table_set_row_spacings ( GTK_TABLE ( table ), 6 );
     gtk_table_set_col_spacings ( GTK_TABLE ( table ), 6 );
 
-    gtk_box_pack_start ( GTK_BOX (page), table, 
+    gtk_box_pack_start ( GTK_BOX (page), table,
 			 FALSE, FALSE, 0 );
 
     /* choose the currency */
     label = gtk_label_new ( _("Currency for the account: ") );
     gtk_misc_set_alignment ( GTK_MISC ( label ), 0.0, 0.5 );
-    gtk_table_attach ( GTK_TABLE ( table ), label, 
+    gtk_table_attach ( GTK_TABLE ( table ), label,
 		       0, 1, 0, 1,
 		       GTK_SHRINK | GTK_FILL,
 		       GTK_SHRINK | GTK_FILL,
@@ -259,7 +259,7 @@ static GtkWidget *gsb_assistant_account_page_3 ( GtkWidget *assistant )
 
     /* create the currency combobox */
     account_combobox_currency = gsb_currency_make_combobox (TRUE);
-    gtk_table_attach ( GTK_TABLE ( table ), account_combobox_currency, 
+    gtk_table_attach ( GTK_TABLE ( table ), account_combobox_currency,
 		       1, 2, 0, 1,
 		       GTK_SHRINK | GTK_FILL,
 		       GTK_SHRINK | GTK_FILL,
@@ -271,7 +271,7 @@ static GtkWidget *gsb_assistant_account_page_3 ( GtkWidget *assistant )
 		       "clicked",
 		       G_CALLBACK (gsb_currency_config_add_currency_set_combobox),
 		       account_combobox_currency );
-    gtk_table_attach ( GTK_TABLE ( table ), button, 
+    gtk_table_attach ( GTK_TABLE ( table ), button,
 		       2, 3, 0, 1,
 		       GTK_SHRINK | GTK_FILL,
 		       GTK_SHRINK | GTK_FILL,
@@ -280,12 +280,12 @@ static GtkWidget *gsb_assistant_account_page_3 ( GtkWidget *assistant )
     /* choose the bank */
     label = gtk_label_new ( _("Bank for the account: ") );
     gtk_misc_set_alignment ( GTK_MISC ( label ), 0.0, 0.5 );
-    gtk_table_attach ( GTK_TABLE ( table ), label, 
+    gtk_table_attach ( GTK_TABLE ( table ), label,
 		       0, 1, 1, 2,
 		       GTK_SHRINK | GTK_FILL,
 		       GTK_SHRINK | GTK_FILL,
 		       0, 0 );
-    
+
     account_combobox_bank = gsb_bank_create_combobox (0 );
 
     if ( gsb_data_bank_max_number() != 0 )
@@ -296,7 +296,7 @@ static GtkWidget *gsb_assistant_account_page_3 ( GtkWidget *assistant )
     {
 	gsb_bank_list_set_bank ( account_combobox_bank, 0 );
     }
-    gtk_table_attach ( GTK_TABLE ( table ), account_combobox_bank, 
+    gtk_table_attach ( GTK_TABLE ( table ), account_combobox_bank,
 		       1, 2, 1, 2,
 		       GTK_SHRINK | GTK_FILL,
 		       GTK_SHRINK | GTK_FILL,
@@ -305,19 +305,19 @@ static GtkWidget *gsb_assistant_account_page_3 ( GtkWidget *assistant )
     /* set the initial amount */
     label = gtk_label_new ( _("Opening balance: ") );
     gtk_misc_set_alignment ( GTK_MISC ( label ), 0.0, 0.5 );
-    gtk_table_attach ( GTK_TABLE ( table ), label, 
+    gtk_table_attach ( GTK_TABLE ( table ), label,
 		       0, 1, 2, 3,
 		       GTK_SHRINK | GTK_FILL,
 		       GTK_SHRINK | GTK_FILL,
 		       0, 0 );
-    
+
     account_entry_initial_amount = gtk_entry_new ();
-    gtk_table_attach ( GTK_TABLE ( table ), account_entry_initial_amount, 
+    gtk_table_attach ( GTK_TABLE ( table ), account_entry_initial_amount,
 		       1, 2, 2, 3,
 		       GTK_SHRINK | GTK_FILL,
 		       GTK_SHRINK | GTK_FILL,
 		       0, 0 );
-    
+
     /* création du choix de l'icône du compte */
     /* Récupération de l'icône par défaut */
     align = gtk_alignment_new (0.5,0.5,1,1);
@@ -329,15 +329,15 @@ static GtkWidget *gsb_assistant_account_page_3 ( GtkWidget *assistant )
     gtk_button_set_image ( GTK_BUTTON ( button ), image);
     gtk_button_set_relief ( GTK_BUTTON ( button ), GTK_RELIEF_NORMAL );
     gtk_container_add (GTK_CONTAINER (align), button);
-    gtk_table_attach ( GTK_TABLE ( table ), align, 
+    gtk_table_attach ( GTK_TABLE ( table ), align,
 		       3, 4, 0, 3,
 		       GTK_FILL | GTK_FILL,
 		       GTK_FILL | GTK_FILL,
 		       0, 0 );
     g_object_set_data ( G_OBJECT (assistant), "bouton_icon", button );
-    g_signal_connect ( G_OBJECT( button ), 
-                            "clicked", 
-                            G_CALLBACK(gsb_assistant_account_change_account_icon), 
+    g_signal_connect ( G_OBJECT( button ),
+                            "clicked",
+                            G_CALLBACK(gsb_assistant_account_change_account_icon),
                             NULL );
 
     gtk_widget_show_all (page);
@@ -468,7 +468,7 @@ gboolean gsb_assistant_account_toggled_kind_account ( GtkWidget *button,
     GtkWidget *bouton_icon, *image;
     kind_account account_kind;
 
-    account_kind = GPOINTER_TO_INT ( g_object_get_data 
+    account_kind = GPOINTER_TO_INT ( g_object_get_data
                 ( G_OBJECT (button), "account_kind"));
     g_object_set_data ( G_OBJECT (assistant),
                 "account_kind", GINT_TO_POINTER ( account_kind ) );
diff --git a/src/gsb_assistant_archive.c b/src/gsb_assistant_archive.c
index 9f0ec4d..ed31f27 100644
--- a/src/gsb_assistant_archive.c
+++ b/src/gsb_assistant_archive.c
@@ -136,7 +136,7 @@ GtkResponseType gsb_assistant_archive_run ( gboolean origin )
 				     "This assistant will guide you through the process of archiving transactions "
 				     "By default, Grisbi does not export any archive into separate files, "
 				     "it just mark transactions as archted and do not use them.\n\n"
-				     "You can still export them into a separate archive file if necessary.\n\n" 
+				     "You can still export them into a separate archive file if necessary.\n\n"
 				     "Press Cancel if you don't want make an archive now\n"),
 				   g_slist_length (gsb_data_transaction_get_transactions_list ()),
 				   conf.max_non_archived_transactions_for_check );
@@ -257,7 +257,7 @@ static GtkWidget *gsb_assistant_archive_page_menu ( GtkWidget *assistant )
     gtk_box_pack_start ( GTK_BOX (hbox), final_date, FALSE, FALSE, 0 );
 
     /* archive by financial year */
-    button = gtk_radio_button_new_with_label ( 
+    button = gtk_radio_button_new_with_label (
                         gtk_radio_button_get_group ( GTK_RADIO_BUTTON ( button ) ),
                         _("Archive by financial year") );
     g_signal_connect_object ( G_OBJECT (button),
@@ -421,7 +421,7 @@ static GtkWidget *gsb_assistant_archive_page_success ( void )
     gtk_text_view_set_right_margin ( GTK_TEXT_VIEW(congratulations_view), 12 );
 
     buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (congratulations_view));
-    gtk_text_buffer_create_tag ( buffer, "bold", "weight", PANGO_WEIGHT_BOLD, NULL);  
+    gtk_text_buffer_create_tag ( buffer, "bold", "weight", PANGO_WEIGHT_BOLD, NULL);
     gtk_text_buffer_create_tag ( buffer, "x-large", "scale", PANGO_SCALE_X_LARGE, NULL);
     gtk_text_buffer_create_tag ( buffer, "indented", "left-margin", 24, NULL);
 
@@ -431,7 +431,7 @@ static GtkWidget *gsb_assistant_archive_page_success ( void )
 					      _("Congratulations!"), -1,
 					      "x-large", "bold", NULL);
     gtk_text_buffer_insert ( buffer, &iter, "\n\n", -1 );
-    
+
     gtk_box_pack_start ( GTK_BOX (vbox_congratulation),
 			 congratulations_view,
 			 TRUE, TRUE,
@@ -439,7 +439,7 @@ static GtkWidget *gsb_assistant_archive_page_success ( void )
     gtk_text_buffer_get_end_iter ( buffer, &iter );
     gtk_text_buffer_create_mark ( buffer, "status", &iter, TRUE );
 
-    gtk_text_buffer_insert ( buffer, &iter, 
+    gtk_text_buffer_insert ( buffer, &iter,
 			     _("In case grisbi is still too slow after you created archives,"
 			       "remember that you can configure it no to load "
 			       "the marked transactions (R) at startup, to increase speed.\n\n"
@@ -461,7 +461,7 @@ static GtkWidget *gsb_assistant_archive_page_success ( void )
     gtk_text_view_set_right_margin ( GTK_TEXT_VIEW(failed_view), 12 );
 
     buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (failed_view));
-    gtk_text_buffer_create_tag ( buffer, "bold", "weight", PANGO_WEIGHT_BOLD, NULL);  
+    gtk_text_buffer_create_tag ( buffer, "bold", "weight", PANGO_WEIGHT_BOLD, NULL);
     gtk_text_buffer_create_tag ( buffer, "x-large", "scale", PANGO_SCALE_X_LARGE, NULL);
     gtk_text_buffer_create_tag ( buffer, "indented", "left-margin", 24, NULL);
 
@@ -471,7 +471,7 @@ static GtkWidget *gsb_assistant_archive_page_success ( void )
 					      _("Failed!"), -1,
 					      "x-large", "bold", NULL);
     gtk_text_buffer_insert ( buffer, &iter, "\n\n", -1 );
-    
+
     gtk_box_pack_start ( GTK_BOX (vbox_failed),
 			 failed_view,
 			 TRUE, TRUE,
@@ -479,7 +479,7 @@ static GtkWidget *gsb_assistant_archive_page_success ( void )
     gtk_text_buffer_get_end_iter ( buffer, &iter );
     gtk_text_buffer_create_mark ( buffer, "status", &iter, TRUE );
 
-    gtk_text_buffer_insert ( buffer, &iter, 
+    gtk_text_buffer_insert ( buffer, &iter,
 			     _("An error occurred while creating the archive...\n"
 			       "Most probably, you are trying to create an empty archive "
 			       "that grisbi cowardly refused to create.\n\n"
@@ -595,14 +595,14 @@ static gboolean gsb_assistant_archive_switch_to_archive_name ( GtkWidget *assist
         gint fyear;
 
         fyear = gsb_fyear_get_fyear_from_combobox ( financial_year_button, NULL );
-        string = g_strdup_printf ( _("Archive of financial year %s"), 
+        string = g_strdup_printf ( _("Archive of financial year %s"),
                             gsb_data_fyear_get_name ( fyear ) );
     }
     else if ( GTK_WIDGET_IS_SENSITIVE (report_button) )
     {
         gint report_number;
         report_number = gsb_report_get_report_from_combobox (report_button);
-        string = g_strdup_printf ( _("Archive of report %s"), 
+        string = g_strdup_printf ( _("Archive of report %s"),
                             gsb_data_report_get_report_name ( report_number ) );
     }
 
@@ -722,7 +722,7 @@ static gboolean gsb_assistant_archive_switch_to_success ( GtkWidget *assistant,
                         g_slist_length (gsb_data_transaction_get_transactions_list ()));
 
     buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (congratulations_view));
-    gtk_text_buffer_get_iter_at_mark ( buffer, &iter, 
+    gtk_text_buffer_get_iter_at_mark ( buffer, &iter,
                         gtk_text_buffer_get_mark ( buffer, "status" ) );
     gtk_text_buffer_insert ( buffer, &iter, string, strlen(string) );
 
@@ -790,7 +790,7 @@ static gboolean gsb_assistant_archive_update_labels ( GtkWidget *assistant )
     GSList *report_transactions_list;
 
     notebook = g_object_get_data ( G_OBJECT(assistant), "notebook" );
-    
+
     /* erase the last list of transactions to archive */
     if (gtk_notebook_get_current_page (GTK_NOTEBOOK(notebook)) == ARCHIVE_ASSISTANT_MENU
      &&
@@ -963,7 +963,7 @@ static gboolean gsb_assistant_archive_update_labels ( GtkWidget *assistant )
         gsb_assistant_sensitive_button_next ( assistant, TRUE );
     }
 
-    else if ( gtk_notebook_get_current_page (GTK_NOTEBOOK(notebook)) == 
+    else if ( gtk_notebook_get_current_page (GTK_NOTEBOOK(notebook)) ==
      ARCHIVE_ASSISTANT_ARCHIVE_NAME )
     {
         if ( strlen ( gtk_entry_get_text ( GTK_ENTRY ( name_entry ) ) ) )
@@ -971,7 +971,7 @@ static gboolean gsb_assistant_archive_update_labels ( GtkWidget *assistant )
         else
             gsb_assistant_sensitive_button_next ( assistant, FALSE );
     }
-    
+
     return FALSE;
 }
 
@@ -989,7 +989,7 @@ static gboolean gsb_assistant_archive_update_labels ( GtkWidget *assistant )
  *
  * \param transaction_pointer
  *
- * \return 
+ * \return
  * */
 static void gsb_assistant_archive_add_transaction_to_list ( gpointer transaction_pointer )
 {
@@ -1008,7 +1008,7 @@ static void gsb_assistant_archive_add_transaction_to_list ( gpointer transaction
 
     /* check for contra-transaction */
     gsb_assistant_archive_add_contra_transaction_to_list (transaction_number);
- 
+
     /* check for split */
     gsb_assistant_archive_add_children_to_list (transaction_number);
 
diff --git a/src/gsb_assistant_archive_export.c b/src/gsb_assistant_archive_export.c
index 7fa0f52..a71b3ca 100644
--- a/src/gsb_assistant_archive_export.c
+++ b/src/gsb_assistant_archive_export.c
@@ -377,7 +377,7 @@ static gboolean gsb_assistant_archive_switch ( GtkWidget *assistant,
 	case ARCHIVE_EXPORT_ASSISTANT_NAME:
 	    /* if we come here, an archive must have been selected,
 	     * so needn't to check */
-	    tmpstr = g_markup_printf_escaped ( 
+	    tmpstr = g_markup_printf_escaped (
                         _("<span size=\"x-large\">Exporting the archive: %s</span>"),
                         gsb_data_archive_get_name (archive_number));
 	    gtk_label_set_markup ( GTK_LABEL ( archive_export_label ), tmpstr);
diff --git a/src/gsb_assistant_file.c b/src/gsb_assistant_file.c
index d66367b..2b1c3d7 100644
--- a/src/gsb_assistant_file.  file.c b/src/gsb_assistant_file.c  mpstr);  s</span>"),     transaction  u)));  ht;  .focus_pad) * 2 -     f(f,"\"\"%c",g_csv_field_separator); }                       ’¸‚„¨+  ÑG_ÿ  €Ð¤„¨+          €ÆG_ÿ         PÅG_ÿ  kÀeƒ¨+  6                    è     è!     è!      ÑG_ÿ  ÑG_ÿ  xt‚„¨+          €ÇG_ÿ          ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ  `¢eƒ¨+  _ÑG_ÿ         Ào愨+  uªeƒ¨+   `愨+  Ød愨+  ¨i愨+  €Êfƒ¨+          xt‚„¨+          €ÇG_ÿ          PÆG_ÿ  kÀeƒ¨+  à!     à!      ÑG_ÿ  ÑG_ÿ  H>b„¨+          `ÈG_ÿ         ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ  `¢eƒ¨+  _ÑG_ÿ  PÑG_ÿ  HÑG_ÿ  8ˆƒ¨+  Œp˜        ÑG_ÿ  uªeƒ¨+  €Êfƒ¨+                  `ÈG_ÿ         0ÇG_ÿ  kÀeƒ¨+          G       H   I       J   K           M   N   O       P    ÑG_ÿ  ÑG_ÿ  Hõ8„¨+           ÊG_ÿ         ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ         0o愨+  uªeƒ¨+   €‚„¨+   )„¨+   `愨+  Ød愨+  ¨i愨+  €Êfƒ¨+          Hõ8„¨+           ÊG_ÿ        
  @ÈG_ÿ  kÀeƒ¨+  8õ8„¨+           ÊG_ÿ         pÈG_ÿ  kÀeƒ¨+  (õ8„¨+           ÊG_ÿ          ÈG_ÿ  kÀeƒ¨+  õ8„¨+           ÊG_ÿ         ÐÈG_ÿ  kÀeƒ¨+  	       ¨n愨+  uªeƒ¨+         ¨i愨+  PÃG_ÿ          Šx„¨+  e©eƒ¨+         Ød愨+  pÉG_ÿ          yx„¨+  e©eƒ¨+          `愨+   ÉG_ÿ          Zx„¨+  e©eƒ¨+  Ø$„¨+   €‚„¨+   )„¨+   `愨+  ؄‚„¨+  Ød愨+  ¨i愨+  €Êfƒ¨+          8ˆƒ¨+                        íშ+  ÑG_ÿ  p»„¨+          PËG_ÿ           ÊG_ÿ  kÀeƒ¨+      5   6   7   8   :   <   =   >       ?       @   B   D        ÑG_ÿ  ÑG_ÿ  àíރ¨+                 ÑG_ÿ  uªeƒ¨+         ņƒ¨+  ÐÉG_ÿ          íშ+  e©eƒ¨+  ņƒ¨+          Õ_ at fÆS         Qöl±íÁ®ƒ¨+  ÑG_ÿ  àíރ¨+          `ÌG_ÿ         0ËG_ÿ  kÀeƒ¨+  u]ÞÓ	4Q ÷U^Qʉ§ ¶uª¹ñìò*ēv ÑG_ÿ  ÑG_ÿ  H>«ƒ¨+          „烨+          ÐÒG_ÿ  ¦I…¨+  ¦I…¨+         Ö䃨+  _ÑG_ÿ  ÒG_ÿ  HÑG_ÿ  °ÍG_ÿ  ‚„¨+  uªeƒ¨+  ؄‚„¨+  ÔG_ÿ  ¢I…¨+  àÒG_ÿ          pÎG_ÿ             
     ÿÿÿÿÿÿÿÿ¢I…¨+          ˜ÑG_ÿ                 c
+++ b/src/gsb_assistant_file.c
@@ -223,12 +223,12 @@ GtkResponseType gsb_assistant_file_run ( gboolean first_opening,
     gsb_category_assistant_create_categories (assistant);
 
     /* get the next assistant to launch */
-    launch_account_assistant = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON 
+    launch_account_assistant = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON
                         (button_create_account_next));
     gtk_widget_destroy (assistant);
 
     /* initialise le logo accueil */
-    gsb_select_icon_set_logo_pixbuf ( 
+    gsb_select_icon_set_logo_pixbuf (
                         gsb_select_icon_get_default_logo_pixbuf ( ) );
 
     /* and now, launch the next assistant */
diff --git a/src/gsb_assistant_first.c b/src/gsb_assistant_first.c
index 8961dd9..ceb505e 100644
--- a/src/gsb_assistant_first.c
+++ b/src/gsb_assistant_first.c
@@ -140,17 +140,17 @@ GtkResponseType gsb_assistant_first_come_to_0_6 ( void )
 
     /* create the assistant */
     assistant = gsb_assistant_new ( _("Welcome to Grisbi!"),
-				    _("You are using Grisbi for the first time.  While most of the " 
+				    _("You are using Grisbi for the first time.  While most of the "
 				      "interface has not changed, you will notice a lot of improvements. "
 				      "Do not hesitate to read some tips of the day to learn more on the new "
-				      "features.\n\n" 
+				      "features.\n\n"
 				      "Of the most notable enhancements to Grisbi, we redesigned the "
 				      "backup function. "
 				      "Grisbi will now automatically put backup files in a directory "
 				      "that you will be able to set manually in next screen.\n\n"
 				      "Also, we advise you to configure your web browser "
 				      "to your system configuration and to configure various settings "
-				      "in next screen.\n\n" 
+				      "in next screen.\n\n"
 				      "If you want to make backups of your Grisbi file in case you want to revert "
 				      "to old version of Grisbi, we would advise you to do that right now.\n\n"
 				      "You can find out other improvements on http://www.grisbi.org/."),
@@ -241,13 +241,13 @@ static GtkWidget *gsb_assistant_first_page_2 ( GtkWidget *assistant )
     /* Automatically load last file on startup? */
     button = gsb_automem_checkbutton_new (_("Automatically load last file on startup"),
 					  &conf.dernier_fichier_auto, NULL, NULL );
-    gtk_box_pack_start ( GTK_BOX ( paddingbox ), button, 
+    gtk_box_pack_start ( GTK_BOX ( paddingbox ), button,
 			 FALSE, FALSE, 0 );
 
     /* automatically save file at closing */
     button = gsb_automem_checkbutton_new (_("Automatically save on exit"),
 					  &conf.sauvegarde_auto, NULL, NULL);
-    gtk_box_pack_start ( GTK_BOX ( paddingbox ), button, 
+    gtk_box_pack_start ( GTK_BOX ( paddingbox ), button,
 			 FALSE, FALSE, 0 );
 
     /* crypt the grisbi file */
@@ -368,7 +368,7 @@ static GtkWidget *gsb_assistant_first_page_3 ( GtkWidget *assistant )
 
 
 /**
- * If error creating reconcilaitions, display the third page 
+ * If error creating reconcilaitions, display the third page
  * otherwise exit normally
  *
  * \param assistant
@@ -380,7 +380,7 @@ static gboolean gsb_assistant_first_enter_page_2 ( GtkWidget *assistant,
                         gint new_page )
 {
     if ( result_reconcile == TRUE )
-        gsb_assistant_change_button_next ( assistant, GTK_STOCK_GO_FORWARD, 
+        gsb_assistant_change_button_next ( assistant, GTK_STOCK_GO_FORWARD,
 				       GTK_RESPONSE_APPLY );
 
     return FALSE;
@@ -398,7 +398,7 @@ static gboolean gsb_assistant_first_enter_page_2 ( GtkWidget *assistant,
 static gboolean gsb_assistant_first_enter_page_3 ( GtkWidget *assistant,
                         gint new_page )
 {
-    gsb_assistant_change_button_next ( assistant, GTK_STOCK_GO_FORWARD, 
+    gsb_assistant_change_button_next ( assistant, GTK_STOCK_GO_FORWARD,
 				       GTK_RESPONSE_APPLY );
 
     return FALSE;
diff --git a/src/gsb_autofunc.c b/src/gsb_autofunc.c
index 2843346..0b8c8d4 100644
--- a/src/gsb_autofunc.c
+++ b/src/gsb_autofunc.c
@@ -125,18 +125,18 @@ GtkWidget *gsb_autofunc_entry_new ( const gchar *value,
     g_object_set_data ( G_OBJECT (entry),
 			"number_for_func", GINT_TO_POINTER (number_for_func));
     if (default_func)
-	g_object_set_data ( G_OBJECT ( entry ), "changed", 
+	g_object_set_data ( G_OBJECT ( entry ), "changed",
 			    (gpointer) g_signal_connect_after (G_OBJECT(entry), "changed",
 							       G_CALLBACK (gsb_autofunc_entry_changed), default_func ));
     if ( hook )
-	g_object_set_data ( G_OBJECT ( entry ), "changed-hook", 
+	g_object_set_data ( G_OBJECT ( entry ), "changed-hook",
 			    (gpointer) g_signal_connect_after (G_OBJECT(entry), "changed",
 							       G_CALLBACK (hook), data ));
     return entry;
 }
 
 
-/** 
+/**
  * set the value in a gsb_editable_entry
  * a value is in 2 parts :
  * 	a string, wich be showed in the entry
@@ -155,11 +155,11 @@ void gsb_autofunc_entry_set_value ( GtkWidget *entry,
     /* Block everything */
     if ( g_object_get_data (G_OBJECT (entry), "changed") > 0 )
 	g_signal_handler_block ( G_OBJECT(entry),
-				 (gulong) g_object_get_data (G_OBJECT (entry), 
+				 (gulong) g_object_get_data (G_OBJECT (entry),
 							     "changed"));
     if ( g_object_get_data (G_OBJECT (entry), "changed-hook") > 0 )
 	g_signal_handler_block ( G_OBJECT(entry),
-				 (gulong) g_object_get_data (G_OBJECT (entry), 
+				 (gulong) g_object_get_data (G_OBJECT (entry),
 							     "changed-hook"));
 
     /* Fill in value */
@@ -174,11 +174,11 @@ void gsb_autofunc_entry_set_value ( GtkWidget *entry,
     /* Unblock everything */
     if ( g_object_get_data (G_OBJECT (entry), "changed") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(entry),
-				   (gulong) g_object_get_data (G_OBJECT (entry), 
+				   (gulong) g_object_get_data (G_OBJECT (entry),
 							       "changed"));
     if ( g_object_get_data (G_OBJECT (entry), "changed-hook") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(entry),
-				   (gulong) g_object_get_data (G_OBJECT (entry), 
+				   (gulong) g_object_get_data (G_OBJECT (entry),
 							       "changed-hook"));
 }
 
@@ -264,7 +264,7 @@ GtkWidget *gsb_autofunc_textview_new ( const gchar *value,
 }
 
 
-/** 
+/**
  * set the value in a gsb_editable_text_area
  * a value is in 2 parts :
  * 	a string, wich be showed in the text_view
@@ -288,7 +288,7 @@ void gsb_autofunc_textview_set_value ( GtkWidget *text_view,
 				 (gulong) g_object_get_data ( G_OBJECT(buffer), "changed" ));
     if ( g_object_get_data (G_OBJECT(buffer), "changed-hook") > 0 )
 	g_signal_handler_block ( G_OBJECT(buffer),
-				 (gulong) g_object_get_data ( G_OBJECT(buffer), 
+				 (gulong) g_object_get_data ( G_OBJECT(buffer),
 							      "changed-hook" ));
 
     /* Fill in value */
@@ -303,11 +303,11 @@ void gsb_autofunc_textview_set_value ( GtkWidget *text_view,
     /* Unblock everything */
     if ( g_object_get_data (G_OBJECT(buffer), "changed") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(buffer),
-				   (gulong) g_object_get_data ( G_OBJECT(buffer), 
+				   (gulong) g_object_get_data ( G_OBJECT(buffer),
 								"changed" ));
     if ( g_object_get_data (G_OBJECT(buffer), "change-hook") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(buffer),
-				   (gulong) g_object_get_data ( G_OBJECT(buffer), 
+				   (gulong) g_object_get_data ( G_OBJECT(buffer),
 								"change-hook" ));
 }
 
@@ -388,18 +388,18 @@ GtkWidget *gsb_autofunc_int_new ( gint value,
     g_object_set_data ( G_OBJECT (entry),
 			"number_for_func", GINT_TO_POINTER (number_for_func));
     if (default_func)
-	g_object_set_data ( G_OBJECT ( entry ), "changed", 
+	g_object_set_data ( G_OBJECT ( entry ), "changed",
 			    (gpointer) g_signal_connect_after (G_OBJECT(entry), "changed",
 							       ((GCallback) gsb_autofunc_int_changed), default_func ));
     if ( hook )
-	g_object_set_data ( G_OBJECT ( entry ), "changed-hook", 
+	g_object_set_data ( G_OBJECT ( entry ), "changed-hook",
 			    (gpointer) g_signal_connect_after (G_OBJECT(entry), "changed",
 							       ((GCallback) hook), data ));
     return entry;
 }
 
 
-/** 
+/**
  * set the value in a gsb_editable_int_entry
  * a value is in 2 parts :
  * 	a string, wich be showed in the entry
@@ -420,11 +420,11 @@ void gsb_autofunc_int_set_value ( GtkWidget *entry,
     /* Block everything */
     if ( g_object_get_data (G_OBJECT (entry), "changed") > 0 )
 	g_signal_handler_block ( G_OBJECT(entry),
-				 (gulong) g_object_get_data (G_OBJECT (entry), 
+				 (gulong) g_object_get_data (G_OBJECT (entry),
 							     "changed"));
     if ( g_object_get_data (G_OBJECT (entry), "changed-hook") > 0 )
 	g_signal_handler_block ( G_OBJECT(entry),
-				 (gulong) g_object_get_data (G_OBJECT (entry), 
+				 (gulong) g_object_get_data (G_OBJECT (entry),
 							     "changed-hook"));
 
     /* Fill in value */
@@ -438,11 +438,11 @@ void gsb_autofunc_int_set_value ( GtkWidget *entry,
     /* Unblock everything */
     if ( g_object_get_data (G_OBJECT (entry), "changed") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(entry),
-				   (gulong) g_object_get_data (G_OBJECT (entry), 
+				   (gulong) g_object_get_data (G_OBJECT (entry),
 							       "changed"));
     if ( g_object_get_data (G_OBJECT (entry), "changed-hook") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(entry),
-				   (gulong) g_object_get_data (G_OBJECT (entry), 
+				   (gulong) g_object_get_data (G_OBJECT (entry),
 							       "changed-hook"));
 }
 
@@ -462,11 +462,11 @@ void gsb_autofunc_int_erase_entry ( GtkWidget *entry )
     /* Block everything */
     if ( g_object_get_data (G_OBJECT (entry), "changed") > 0 )
 	g_signal_handler_block ( G_OBJECT(entry),
-				 (gulong) g_object_get_data (G_OBJECT (entry), 
+				 (gulong) g_object_get_data (G_OBJECT (entry),
 							     "changed"));
     if ( g_object_get_data (G_OBJECT (entry), "changed-hook") > 0 )
 	g_signal_handler_block ( G_OBJECT(entry),
-				 (gulong) g_object_get_data (G_OBJECT (entry), 
+				 (gulong) g_object_get_data (G_OBJECT (entry),
 							     "changed-hook"));
 
     /* Fill in value */
@@ -479,11 +479,11 @@ void gsb_autofunc_int_erase_entry ( GtkWidget *entry )
     /* Unblock everything */
     if ( g_object_get_data (G_OBJECT (entry), "changed") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(entry),
-				   (gulong) g_object_get_data (G_OBJECT (entry), 
+				   (gulong) g_object_get_data (G_OBJECT (entry),
 							       "changed"));
     if ( g_object_get_data (G_OBJECT (entry), "changed-hook") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(entry),
-				   (gulong) g_object_get_data (G_OBJECT (entry), 
+				   (gulong) g_object_get_data (G_OBJECT (entry),
 							       "changed-hook"));
 }
 
@@ -563,18 +563,18 @@ GtkWidget *gsb_autofunc_spin_new ( gint value,
     g_object_set_data ( G_OBJECT (spin_button),
 			"number_for_func", GINT_TO_POINTER (number_for_func));
     if (default_func)
-	g_object_set_data ( G_OBJECT (spin_button), "changed", 
+	g_object_set_data ( G_OBJECT (spin_button), "changed",
 			    (gpointer) g_signal_connect_after (G_OBJECT(spin_button), "value-changed",
 							       G_CALLBACK (gsb_autofunc_spin_changed), default_func ));
     if ( hook )
-	g_object_set_data ( G_OBJECT (spin_button), "changed-hook", 
+	g_object_set_data ( G_OBJECT (spin_button), "changed-hook",
 			    (gpointer) g_signal_connect_after (G_OBJECT(spin_button), "value-changed",
 							       G_CALLBACK ( hook), data ));
     return spin_button;
 }
 
 
-/** 
+/**
  * set the value in a autofunc_spin entry
  * a value is in 2 parts :
  * 	a gint, wich be showed in the spint button
@@ -593,11 +593,11 @@ void gsb_autofunc_spin_set_value ( GtkWidget *spin_button,
     /* Block everything */
     if ( g_object_get_data (G_OBJECT (spin_button), "changed") > 0 )
 	g_signal_handler_block ( G_OBJECT(spin_button),
-				 (gulong) g_object_get_data (G_OBJECT (spin_button), 
+				 (gulong) g_object_get_data (G_OBJECT (spin_button),
 							     "changed"));
     if ( g_object_get_data (G_OBJECT (spin_button), "changed-hook") > 0 )
 	g_signal_handler_block ( G_OBJECT(spin_button),
-				 (gulong) g_object_get_data (G_OBJECT (spin_button), 
+				 (gulong) g_object_get_data (G_OBJECT (spin_button),
 							     "changed-hook"));
 
     /* Fill in value */
@@ -610,11 +610,11 @@ void gsb_autofunc_spin_set_value ( GtkWidget *spin_button,
     /* Unblock everything */
     if ( g_object_get_data (G_OBJECT (spin_button), "changed") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(spin_button),
-				   (gulong) g_object_get_data (G_OBJECT (spin_button), 
+				   (gulong) g_object_get_data (G_OBJECT (spin_button),
 							       "changed"));
     if ( g_object_get_data (G_OBJECT (spin_button), "changed-hook") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(spin_button),
-				   (gulong) g_object_get_data (G_OBJECT (spin_button), 
+				   (gulong) g_object_get_data (G_OBJECT (spin_button),
 							       "changed-hook"));
 }
 
@@ -690,18 +690,18 @@ GtkWidget *gsb_autofunc_checkbutton_new ( const gchar *label,
     g_object_set_data ( G_OBJECT (button),
 			"number_for_func", GINT_TO_POINTER (number_for_func));
     if (default_func)
-	g_object_set_data ( G_OBJECT (button), "changed", 
+	g_object_set_data ( G_OBJECT (button), "changed",
 			    (gpointer) g_signal_connect_after (G_OBJECT(button), "toggled",
 							       ((GCallback) gsb_autofunc_checkbutton_changed), default_func ));
     if ( hook )
-	g_object_set_data ( G_OBJECT (button), "changed-hook", 
+	g_object_set_data ( G_OBJECT (button), "changed-hook",
 			    (gpointer) g_signal_connect_after (G_OBJECT(button), "toggled",
 							       ((GCallback) hook), data ));
     return button;
 }
 
 
-/** 
+/**
  * set the value in a gsb_editable_checkbutton
  * a value is in 2 parts :
  * 	a boolean, so value TRUE or FALSE
@@ -720,11 +720,11 @@ void gsb_autofunc_checkbutton_set_value ( GtkWidget *button,
     /* Block everything */
     if ( g_object_get_data (G_OBJECT (button), "changed") > 0 )
 	g_signal_handler_block ( G_OBJECT(button),
-				 (gulong) g_object_get_data (G_OBJECT (button), 
+				 (gulong) g_object_get_data (G_OBJECT (button),
 							     "changed"));
     if ( g_object_get_data (G_OBJECT (button), "changed-hook") > 0 )
 	g_signal_handler_block ( G_OBJECT(button),
-				 (gulong) g_object_get_data (G_OBJECT (button), 
+				 (gulong) g_object_get_data (G_OBJECT (button),
 							     "changed-hook"));
 
     /* Fill in value */
@@ -736,11 +736,11 @@ void gsb_autofunc_checkbutton_set_value ( GtkWidget *button,
     /* Unblock everything */
     if ( g_object_get_data (G_OBJECT (button), "changed") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(button),
-				   (gulong) g_object_get_data (G_OBJECT (button), 
+				   (gulong) g_object_get_data (G_OBJECT (button),
 							       "changed"));
     if ( g_object_get_data (G_OBJECT (button), "changed-hook") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(button),
-				   (gulong) g_object_get_data (G_OBJECT (button), 
+				   (gulong) g_object_get_data (G_OBJECT (button),
 							       "changed-hook"));
 }
 
@@ -794,7 +794,7 @@ static gboolean gsb_autofunc_checkbutton_changed ( GtkWidget *button,
  * \param data optional data to send to hook
  * \param default_func The function to call to change the value in memory (function must be func ( number, gboolean ) ) or NULL
  * \param number_for_func a gint wich we be used to call default_func (will be saved as g_object_set_data with "number_for_func")
- * 
+ *
  * \return a vbox with the 2 radiobuttons
  *
  */
@@ -812,7 +812,7 @@ GtkWidget *gsb_autofunc_radiobutton_new ( const gchar *choice1,
 
     button1 = gtk_radio_button_new_with_mnemonic ( NULL, choice1 );
     gtk_box_pack_start (GTK_BOX(vbox), button1, FALSE, FALSE, 0 );
-    button2 = gtk_radio_button_new_with_mnemonic ( gtk_radio_button_get_group (GTK_RADIO_BUTTON(button1)), 
+    button2 = gtk_radio_button_new_with_mnemonic ( gtk_radio_button_get_group (GTK_RADIO_BUTTON(button1)),
 						   choice2 );
     gtk_box_pack_start (GTK_BOX(vbox), button2, FALSE, FALSE, 0 );
 
@@ -840,7 +840,7 @@ GtkWidget *gsb_autofunc_radiobutton_new ( const gchar *choice1,
 
 
 
-/** 
+/**
  * set the value in a gsb_editable_checkbutton
  * a value is in 2 parts :
  * 	a boolean, 0 to active the first button, 1 for the second
@@ -864,11 +864,11 @@ GtkWidget *gsb_autofunc_radiobutton_new ( const gchar *choice1,
     // Block everything, the signals were on button2
     if ( g_object_get_data (G_OBJECT (button2), "changed") > 0 )
 	g_signal_handler_block ( G_OBJECT(button2),
-				 (gulong) g_object_get_data (G_OBJECT (button2), 
+				 (gulong) g_object_get_data (G_OBJECT (button2),
 							     "changed"));
     if ( g_object_get_data (G_OBJECT (button2), "changed-hook") > 0 )
 	g_signal_handler_block ( G_OBJECT(button2),
-				 (gulong) g_object_get_data (G_OBJECT (button2), 
+				 (gulong) g_object_get_data (G_OBJECT (button2),
 							     "changed-hook"));
 
     // Fill in value
@@ -883,11 +883,11 @@ GtkWidget *gsb_autofunc_radiobutton_new ( const gchar *choice1,
     // Unblock everything
     if ( g_object_get_data (G_OBJECT (button2), "changed") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(button2),
-				   (gulong) g_object_get_data (G_OBJECT (button2), 
+				   (gulong) g_object_get_data (G_OBJECT (button2),
 							       "changed"));
     if ( g_object_get_data (G_OBJECT (button2), "changed-hook") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(button2),
-				   (gulong) g_object_get_data (G_OBJECT (button2), 
+				   (gulong) g_object_get_data (G_OBJECT (button2),
 							       "changed-hook"));
 }*/
 
@@ -938,18 +938,18 @@ GtkWidget *gsb_autofunc_date_new ( const GDate *date,
     g_object_set_data ( G_OBJECT (entry),
 			"number_for_func", GINT_TO_POINTER (number_for_func));
     if (default_func)
-	g_object_set_data ( G_OBJECT ( entry ), "changed", 
+	g_object_set_data ( G_OBJECT ( entry ), "changed",
 			    (gpointer) g_signal_connect_after (G_OBJECT(entry), "changed",
 							       G_CALLBACK (gsb_autofunc_date_changed), default_func ));
     if ( hook )
-	g_object_set_data ( G_OBJECT ( entry ), "changed-hook", 
+	g_object_set_data ( G_OBJECT ( entry ), "changed-hook",
 			    (gpointer) g_signal_connect_after (G_OBJECT(entry), "changed",
 							       G_CALLBACK (hook), data ));
     return entry;
 }
 
 
-/** 
+/**
  * set the date in a gsb_editable_date
  * a value is in 2 parts :
  * 	a date, wich be showed in the entry
@@ -968,11 +968,11 @@ void gsb_autofunc_date_set ( GtkWidget *entry,
     /* Block everything */
     if ( g_object_get_data (G_OBJECT (entry), "changed") > 0 )
 	g_signal_handler_block ( G_OBJECT(entry),
-				 (gulong) g_object_get_data (G_OBJECT (entry), 
+				 (gulong) g_object_get_data (G_OBJECT (entry),
 							     "changed"));
     if ( g_object_get_data (G_OBJECT (entry), "changed-hook") > 0 )
 	g_signal_handler_block ( G_OBJECT(entry),
-				 (gulong) g_object_get_data (G_OBJECT (entry), 
+				 (gulong) g_object_get_data (G_OBJECT (entry),
 							     "changed-hook"));
 
     /* Fill in value */
@@ -985,11 +985,11 @@ void gsb_autofunc_date_set ( GtkWidget *entry,
     /* Unblock everything */
     if ( g_object_get_data (G_OBJECT (entry), "changed") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(entry),
-				   (gulong) g_object_get_data (G_OBJECT (entry), 
+				   (gulong) g_object_get_data (G_OBJECT (entry),
 							       "changed"));
     if ( g_object_get_data (G_OBJECT (entry), "changed-hook") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(entry),
-				   (gulong) g_object_get_data (G_OBJECT (entry), 
+				   (gulong) g_object_get_data (G_OBJECT (entry),
 							       "changed-hook"));
 }
 
@@ -1075,18 +1075,18 @@ GtkWidget *gsb_autofunc_real_new ( gsb_real real,
     g_object_set_data ( G_OBJECT (entry),
 			"number_for_func", GINT_TO_POINTER (number_for_func));
     if (default_func)
-	g_object_set_data ( G_OBJECT ( entry ), "changed", 
+	g_object_set_data ( G_OBJECT ( entry ), "changed",
 			    (gpointer) g_signal_connect_after (G_OBJECT(entry), "changed",
 							       G_CALLBACK (gsb_autofunc_real_changed), default_func ));
     if ( hook )
-	g_object_set_data ( G_OBJECT ( entry ), "changed-hook", 
+	g_object_set_data ( G_OBJECT ( entry ), "changed-hook",
 			    (gpointer) g_signal_connect_after (G_OBJECT(entry), "changed",
 							       G_CALLBACK (hook), data ));
     return entry;
 }
 
 
-/** 
+/**
  * set the gsb_real in a gsb_editable_date
  * a value is in 2 parts :
  * 	a date, wich be showed in the entry
@@ -1107,11 +1107,11 @@ void gsb_autofunc_real_set ( GtkWidget *entry,
     /* Block everything */
     if ( g_object_get_data (G_OBJECT (entry), "changed") > 0 )
 	g_signal_handler_block ( G_OBJECT(entry),
-				 (gulong) g_object_get_data (G_OBJECT (entry), 
+				 (gulong) g_object_get_data (G_OBJECT (entry),
 							     "changed"));
     if ( g_object_get_data (G_OBJECT (entry), "changed-hook") > 0 )
 	g_signal_handler_block ( G_OBJECT(entry),
-				 (gulong) g_object_get_data (G_OBJECT (entry), 
+				 (gulong) g_object_get_data (G_OBJECT (entry),
 							     "changed-hook"));
 
     /* Fill in value */
@@ -1125,11 +1125,11 @@ void gsb_autofunc_real_set ( GtkWidget *entry,
     /* Unblock everything */
     if ( g_object_get_data (G_OBJECT (entry), "changed") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(entry),
-				   (gulong) g_object_get_data (G_OBJECT (entry), 
+				   (gulong) g_object_get_data (G_OBJECT (entry),
 							       "changed"));
     if ( g_object_get_data (G_OBJECT (entry), "changed-hook") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(entry),
-				   (gulong) g_object_get_data (G_OBJECT (entry), 
+				   (gulong) g_object_get_data (G_OBJECT (entry),
 							       "changed-hook"));
 }
 
@@ -1210,18 +1210,18 @@ GtkWidget *gsb_autofunc_combobox_new ( GSList *list,
     g_object_set_data ( G_OBJECT (combobox),
 			"number_for_func", GINT_TO_POINTER (number_for_func));
     if (default_func)
-	g_object_set_data ( G_OBJECT (combobox), "changed", 
+	g_object_set_data ( G_OBJECT (combobox), "changed",
 			    (gpointer) g_signal_connect_after (G_OBJECT(combobox), "changed",
 							       G_CALLBACK (gsb_autofunc_combobox_changed), default_func ));
     if ( hook )
-	g_object_set_data ( G_OBJECT (combobox), "changed-hook", 
+	g_object_set_data ( G_OBJECT (combobox), "changed-hook",
 			    (gpointer) g_signal_connect_after (G_OBJECT(combobox), "changed",
 							       G_CALLBACK (hook), data ));
     return combobox;
 }
 
 
-/** 
+/**
  * set the value in a gsb_autofunc_combobox
  * a value is in 2 parts :
  * 	an index, wich place the combobox on the good place
@@ -1240,11 +1240,11 @@ void gsb_autofunc_combobox_set_index ( GtkWidget *combobox,
     /* Block everything */
     if ( g_object_get_data (G_OBJECT (combobox), "changed") > 0 )
 	g_signal_handler_block ( G_OBJECT(combobox),
-				 (gulong) g_object_get_data (G_OBJECT (combobox), 
+				 (gulong) g_object_get_data (G_OBJECT (combobox),
 							     "changed"));
     if ( g_object_get_data (G_OBJECT (combobox), "changed-hook") > 0 )
 	g_signal_handler_block ( G_OBJECT(combobox),
-				 (gulong) g_object_get_data (G_OBJECT (combobox), 
+				 (gulong) g_object_get_data (G_OBJECT (combobox),
 							     "changed-hook"));
 
     /* place the combobox */
@@ -1256,11 +1256,11 @@ void gsb_autofunc_combobox_set_index ( GtkWidget *combobox,
     /* Unblock everything */
     if ( g_object_get_data (G_OBJECT (combobox), "changed") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(combobox),
-				   (gulong) g_object_get_data (G_OBJECT (combobox), 
+				   (gulong) g_object_get_data (G_OBJECT (combobox),
 							       "changed"));
     if ( g_object_get_data (G_OBJECT (combobox), "changed-hook") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(combobox),
-				   (gulong) g_object_get_data (G_OBJECT (combobox), 
+				   (gulong) g_object_get_data (G_OBJECT (combobox),
 							       "changed-hook"));
 }
 
@@ -1319,7 +1319,7 @@ static gboolean gsb_autofunc_combobox_changed ( GtkWidget *combobox,
  * \param number_for_func a gint wich we be used to call default_func (will be saved as g_object_set_data with "number_for_func")
  * 				that number can be changed with gsb_autofunc_currency_set_currency_number
  *
- * \return a new GtkComboBox 
+ * \return a new GtkComboBox
  * */
 GtkWidget *gsb_autofunc_currency_new ( gboolean set_name,
 				       gint currency_number,
@@ -1343,18 +1343,18 @@ GtkWidget *gsb_autofunc_currency_new ( gboolean set_name,
             "number_for_func", GINT_TO_POINTER (number_for_func));
 
     if (default_func)
-    g_object_set_data ( G_OBJECT (combobox), "changed", 
+    g_object_set_data ( G_OBJECT (combobox), "changed",
                     (gpointer) g_signal_connect_after (G_OBJECT(combobox), "changed",
                     G_CALLBACK (gsb_autofunc_currency_changed), default_func ));
     if ( hook )
-    g_object_set_data ( G_OBJECT (combobox), "changed-hook", 
+    g_object_set_data ( G_OBJECT (combobox), "changed-hook",
                     (gpointer) g_signal_connect_after (G_OBJECT(combobox), "changed",
                     G_CALLBACK (hook), data ));
      return combobox;
 }
 
 
-/** 
+/**
  * show the currency in a gsb_autofunc_currency
  * a value is in 2 parts :
  * 	an currency number, wich place the combobox on the good place
@@ -1373,11 +1373,11 @@ void gsb_autofunc_currency_set_currency_number ( GtkWidget *combobox,
     /* Block everything */
     if ( g_object_get_data (G_OBJECT (combobox), "changed") > 0 )
 	g_signal_handler_block ( G_OBJECT(combobox),
-				 (gulong) g_object_get_data (G_OBJECT (combobox), 
+				 (gulong) g_object_get_data (G_OBJECT (combobox),
 							     "changed"));
     if ( g_object_get_data (G_OBJECT (combobox), "changed-hook") > 0 )
 	g_signal_handler_block ( G_OBJECT(combobox),
-				 (gulong) g_object_get_data (G_OBJECT (combobox), 
+				 (gulong) g_object_get_data (G_OBJECT (combobox),
 							     "changed-hook"));
 
     /* place the combobox */
@@ -1389,11 +1389,11 @@ void gsb_autofunc_currency_set_currency_number ( GtkWidget *combobox,
     /* Unblock everything */
     if ( g_object_get_data (G_OBJECT (combobox), "changed") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(combobox),
-				   (gulong) g_object_get_data (G_OBJECT (combobox), 
+				   (gulong) g_object_get_data (G_OBJECT (combobox),
 							       "changed"));
     if ( g_object_get_data (G_OBJECT (combobox), "changed-hook") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(combobox),
-				   (gulong) g_object_get_data (G_OBJECT (combobox), 
+				   (gulong) g_object_get_data (G_OBJECT (combobox),
 							       "changed-hook"));
 }
 
diff --git a/src/gsb_automem.c b/src/gsb_automem.c
index 27b5cce..ab948a9 100644
--- a/src/gsb_automem.c
+++ b/src/gsb_automem.c
@@ -54,10 +54,10 @@ static gboolean gsb_automem_entry_changed (GtkWidget *entry,
 					   gpointer null );
 static gboolean gsb_automem_spin_button_changed ( GtkWidget *spin,
 						  gpointer null);
-static GtkWidget *gsb_automem_spin_button_new_full ( gint *value, 
-					      gdouble lower, gdouble upper, 
-					      gdouble step_increment, gdouble page_increment, 
-					      gdouble page_size, 
+static GtkWidget *gsb_automem_spin_button_new_full ( gint *value,
+					      gdouble lower, gdouble upper,
+					      gdouble step_increment, gdouble page_increment,
+					      gdouble page_size,
 					      gdouble climb_rate,
 					      GCallback hook, gpointer data );
 static gboolean gsb_automem_textview_changed ( GtkTextBuffer *buffer,
@@ -106,7 +106,7 @@ GtkWidget *gsb_automem_entry_new ( gchar **value,
 
 
 
-/** 
+/**
  * set the value in an gsb_automem_entry
  *
  * \param entry the gsb_automem_enty
@@ -121,11 +121,11 @@ void gsb_automem_entry_set_value ( GtkWidget *entry,
     !* Block everything *!
     if ( g_object_get_data (G_OBJECT (entry), "changed") > 0 )
 	g_signal_handler_block ( G_OBJECT(entry),
-				 (gulong) g_object_get_data (G_OBJECT (entry), 
+				 (gulong) g_object_get_data (G_OBJECT (entry),
 							     "changed"));
     if ( g_object_get_data (G_OBJECT (entry), "changed-hook") > 0 )
 	g_signal_handler_block ( G_OBJECT(entry),
-				 (gulong) g_object_get_data (G_OBJECT (entry), 
+				 (gulong) g_object_get_data (G_OBJECT (entry),
 							     "changed-hook"));
 
     !* Fill in value *!
@@ -140,11 +140,11 @@ void gsb_automem_entry_set_value ( GtkWidget *entry,
     !* Unblock everything *!
     if ( g_object_get_data (G_OBJECT (entry), "changed") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(entry),
-				   (gulong) g_object_get_data (G_OBJECT (entry), 
+				   (gulong) g_object_get_data (G_OBJECT (entry),
 							       "changed"));
     if ( g_object_get_data (G_OBJECT (entry), "changed-hook") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(entry),
-				   (gulong) g_object_get_data (G_OBJECT (entry), 
+				   (gulong) g_object_get_data (G_OBJECT (entry),
 							       "changed-hook"));
 }
 */
@@ -219,7 +219,7 @@ GtkWidget *gsb_automem_textview_new ( gchar **value,
 }
 
 
-/** 
+/**
  * set the value in an gsb_automem_textview
  *
  * \param entry the gsb_automem_enty
@@ -227,7 +227,7 @@ GtkWidget *gsb_automem_textview_new ( gchar **value,
  *
  * \return
  */
-/* TODO dOm : this function seems not to be used. Is it possible to remove it 
+/* TODO dOm : this function seems not to be used. Is it possible to remove it
 void gsb_automem_textview_set_value ( GtkWidget *text_view,
 				      gchar **value )
 {
@@ -244,7 +244,7 @@ void gsb_automem_textview_set_value ( GtkWidget *text_view,
 				 (gulong) g_object_get_data ( G_OBJECT(buffer), "changed" ));
     if ( g_object_get_data (G_OBJECT(buffer), "changed-hook") > 0 )
 	g_signal_handler_block ( G_OBJECT(buffer),
-				 (gulong) g_object_get_data ( G_OBJECT(buffer), 
+				 (gulong) g_object_get_data ( G_OBJECT(buffer),
 							      "changed-hook" ));
     !* Fill in value *!
     if (value && *value)
@@ -260,7 +260,7 @@ void gsb_automem_textview_set_value ( GtkWidget *text_view,
 				   (gulong) g_object_get_data ( G_OBJECT(buffer), "changed" ));
     if ( g_object_get_data (G_OBJECT(buffer), "changed-hook") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(buffer),
-				   (gulong) g_object_get_data ( G_OBJECT(buffer), 
+				   (gulong) g_object_get_data ( G_OBJECT(buffer),
 								"changed-hook" ));
 }
 */
@@ -325,12 +325,12 @@ GtkWidget *gsb_automem_checkbutton_new ( const gchar *label,
     g_object_set_data ( G_OBJECT (checkbutton),
 			"pointer", value);
 
-    g_object_set_data ( G_OBJECT (checkbutton), "changed", 
+    g_object_set_data ( G_OBJECT (checkbutton), "changed",
 			(gpointer) g_signal_connect (checkbutton, "toggled",
 						     G_CALLBACK (gsb_automem_checkbutton_changed), NULL));
 
     if ( hook )
-	g_object_set_data ( G_OBJECT ( checkbutton ), "changed-hook", 
+	g_object_set_data ( G_OBJECT ( checkbutton ), "changed-hook",
 			    (gpointer) g_signal_connect (checkbutton, "toggled",
 							 G_CALLBACK (hook), data ));
     return checkbutton;
@@ -341,7 +341,7 @@ GtkWidget *gsb_automem_checkbutton_new ( const gchar *label,
 /**
  * Update the widget's appearance accordingly.  If update is set, update
  * property as well.
- * 
+ *
  * \param checkbutton The checkbutton to update
  * \param value A pointer to a boolean which contains the new value to
  * 	fill in checkbutton's properties.  This boolean will be modified by
@@ -352,8 +352,8 @@ GtkWidget *gsb_automem_checkbutton_new ( const gchar *label,
 {
     // Block everything
     if (g_object_get_data (G_OBJECT(checkbutton), "changed") > 0)
-	g_signal_handler_block ( checkbutton, 
-				 (gulong) g_object_get_data (G_OBJECT(checkbutton), 
+	g_signal_handler_block ( checkbutton,
+				 (gulong) g_object_get_data (G_OBJECT(checkbutton),
 							     "changed" ));
     if (g_object_get_data (G_OBJECT(checkbutton), "changed-hook") > 0)
 	g_signal_handler_block ( checkbutton,
@@ -368,7 +368,7 @@ GtkWidget *gsb_automem_checkbutton_new ( const gchar *label,
 
     // Unblock everything
     if (g_object_get_data (G_OBJECT(checkbutton), "changed") > 0)
-	g_signal_handler_unblock ( checkbutton, 
+	g_signal_handler_unblock ( checkbutton,
 				   (gulong) g_object_get_data (G_OBJECT(checkbutton),
 							       "changed" ));
     if (g_object_get_data (G_OBJECT(checkbutton), "changed-hook") > 0)
@@ -383,7 +383,7 @@ GtkWidget *gsb_automem_checkbutton_new ( const gchar *label,
 /**
  * Set a boolean integer to the value of a checkbutton.  Normally called
  * via a GTK "toggled" signal handler.
- * 
+ *
  * \param checkbutton a pointer to a checkbutton widget.
  * \param null not used
  */
@@ -432,7 +432,7 @@ GtkWidget *gsb_automem_radiobutton_new_with_title ( GtkWidget *parent,
     gtk_box_pack_start (GTK_BOX(paddingbox),
 			gsb_automem_radiobutton_new ( choice1, choice2,
 						      value,
-						      hook, data ), 
+						      hook, data ),
 			FALSE, FALSE, 0 );
     return paddingbox;
 }
@@ -464,7 +464,7 @@ GtkWidget *gsb_automem_radiobutton_new ( const gchar *choice1,
 
     button1 = gtk_radio_button_new_with_mnemonic ( NULL, choice1 );
     gtk_box_pack_start (GTK_BOX(vbox), button1, FALSE, FALSE, 0 );
-    button2 = gtk_radio_button_new_with_mnemonic ( gtk_radio_button_get_group (GTK_RADIO_BUTTON(button1)), 
+    button2 = gtk_radio_button_new_with_mnemonic ( gtk_radio_button_get_group (GTK_RADIO_BUTTON(button1)),
 						   choice2 );
     gtk_box_pack_start (GTK_BOX(vbox), button2, FALSE, FALSE, 0 );
 
@@ -607,7 +607,7 @@ GtkWidget *gsb_automem_radiobutton3_new ( const gchar *choice1,
         if ( button3 )
             g_signal_connect ( G_OBJECT ( button3 ), "button-release-event", G_CALLBACK ( callback ), data );
     }
- 
+
     return box;
 }
 
@@ -623,10 +623,10 @@ GtkWidget *gsb_automem_radiobutton3_new ( const gchar *choice1,
  * \param value a pointer to an integer wich will change with the value of the spin button
  * \param hook An optional hook to run at each change
  * \param data optional data to send to hook
- * 
+ *
  * \return a GtkSpinButton
  * */
-GtkWidget *gsb_automem_spin_button_new ( gint *value, 
+GtkWidget *gsb_automem_spin_button_new ( gint *value,
 					 GCallback hook,
 					 gpointer data )
 {
@@ -664,10 +664,10 @@ GtkWidget *gsb_automem_spin_button_new ( gint *value,
  * \param hook An optional hook to run at each change
  * \param data optional data to send to hook
  */
-GtkWidget *gsb_automem_spin_button_new_full ( gint *value, 
-					      gdouble lower, gdouble upper, 
-					      gdouble step_increment, gdouble page_increment, 
-					      gdouble page_size, 
+GtkWidget *gsb_automem_spin_button_new_full ( gint *value,
+					      gdouble lower, gdouble upper,
+					      gdouble step_increment, gdouble page_increment,
+					      gdouble page_size,
 					      gdouble climb_rate,
 					      GCallback hook, gpointer data )
 {
@@ -678,7 +678,7 @@ GtkWidget *gsb_automem_spin_button_new_full ( gint *value,
     if ( value )  /* Sanity check */
 	initial = *value;
 
-    adjustment = GTK_ADJUSTMENT( gtk_adjustment_new ( initial, lower, upper, 
+    adjustment = GTK_ADJUSTMENT( gtk_adjustment_new ( initial, lower, upper,
 						      step_increment, page_increment,
 						      page_size ));
 
@@ -689,13 +689,13 @@ GtkWidget *gsb_automem_spin_button_new_full ( gint *value,
 
     g_object_set_data ( G_OBJECT (spin), "changed",
 			(gpointer) g_signal_connect ( G_OBJECT (spin),
-						      "value-changed", 
-						      G_CALLBACK (gsb_automem_spin_button_changed), 
+						      "value-changed",
+						      G_CALLBACK (gsb_automem_spin_button_changed),
 						      NULL ));
     if ( hook )
 	g_object_set_data ( G_OBJECT (spin), "changed-hook",
-			    (gpointer) g_signal_connect ( G_OBJECT (spin), 
-							  "value-changed", 
+			    (gpointer) g_signal_connect ( G_OBJECT (spin),
+							  "value-changed",
 							  G_CALLBACK (hook),
 							  data ));
     return spin;
@@ -712,7 +712,7 @@ GtkWidget *gsb_automem_spin_button_new_full ( gint *value,
  * \return
  *
  */
-/* TODO dOm : this function seems not to be used. Is it possible to remove it 
+/* TODO dOm : this function seems not to be used. Is it possible to remove it
 void gsb_automem_spin_button_set_value ( GtkWidget *spin,
 					 gint *value )
 {
@@ -728,7 +728,7 @@ void gsb_automem_spin_button_set_value ( GtkWidget *spin,
     !* Block everything *!
     if ( g_object_get_data (G_OBJECT (spin), "changed") > 0 )
 	g_signal_handler_block ( G_OBJECT(adjustment),
-				 (gulong) g_object_get_data ( G_OBJECT (spin), 
+				 (gulong) g_object_get_data ( G_OBJECT (spin),
 							      "changed"));
     if ( g_object_get_data (G_OBJECT (spin), "changed-hook") > 0 )
 	g_signal_handler_block ( G_OBJECT(adjustment),
@@ -746,7 +746,7 @@ void gsb_automem_spin_button_set_value ( GtkWidget *spin,
     !* Unblock everything *!
     if ( g_object_get_data (G_OBJECT (spin), "changed") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(adjustment),
-				   (gulong) g_object_get_data ( G_OBJECT (spin), 
+				   (gulong) g_object_get_data ( G_OBJECT (spin),
 								"changed"));
     if ( g_object_get_data (G_OBJECT (spin), "changed-hook") > 0 )
 	g_signal_handler_unblock ( G_OBJECT(adjustment),
@@ -759,7 +759,7 @@ void gsb_automem_spin_button_set_value ( GtkWidget *spin,
 /**
  * Set an int to the value of a spin button.  Normally called via
  * a GTK "changed" signal handler.
- * 
+ *
  * \param spin a pointer to a spinbutton widget.
  * \param null unused
  */
@@ -810,12 +810,12 @@ GtkWidget *gsb_automem_stock_button_new ( GsbButtonStyle style,
     {
 	if ( data >= 0 )
 	{
-	    g_signal_connect_swapped ( G_OBJECT(button), "clicked", 
+	    g_signal_connect_swapped ( G_OBJECT(button), "clicked",
 				       G_CALLBACK(callback), data );
 	}
 	else
 	{
-	    g_signal_connect ( G_OBJECT(button), "clicked", 
+	    g_signal_connect ( G_OBJECT(button), "clicked",
 			       G_CALLBACK(callback), data );
 	}
     }
@@ -828,7 +828,7 @@ GtkWidget *gsb_automem_stock_button_new ( GsbButtonStyle style,
  *
  */
 GtkWidget *gsb_automem_stock_button_menu_new ( GsbButtonStyle style,
-					       const gchar * stock_id, const gchar * name, 
+					       const gchar * stock_id, const gchar * name,
 					       GCallback callback, gpointer data )
 {
     GtkWidget * button, * vbox, * hbox, * arrow;
@@ -849,7 +849,7 @@ GtkWidget *gsb_automem_stock_button_menu_new ( GsbButtonStyle style,
 
     if ( callback )
     {
-	g_signal_connect ( G_OBJECT(button), "button-press-event", 
+	g_signal_connect ( G_OBJECT(button), "button-press-event",
 			   G_CALLBACK(callback), data );
     }
 
@@ -886,12 +886,12 @@ GtkWidget *gsb_automem_imagefile_button_new ( GsbButtonStyle style,
     {
 	if ( data >= 0 )
 	{
-	    g_signal_connect_swapped ( G_OBJECT(button), "clicked", 
+	    g_signal_connect_swapped ( G_OBJECT(button), "clicked",
 				       G_CALLBACK(callback), data );
 	}
 	else
 	{
-	    g_signal_connect ( G_OBJECT(button), "clicked", 
+	    g_signal_connect ( G_OBJECT(button), "clicked",
 			       G_CALLBACK(callback), data );
 	}
     }
diff --git a/src/gsb_automem.h b/src/gsb_automem.h
index 9d5afa8..444b495 100644
--- a/src/gsb_automem.h
+++ b/src/gsb_automem.h
@@ -43,14 +43,14 @@ GtkWidget *gsb_automem_radiobutton_new_with_title ( GtkWidget *parent,
 					    gboolean *value,
 					    GCallback hook,
                         gpointer data );
-GtkWidget *gsb_automem_spin_button_new ( gint *value, 
+GtkWidget *gsb_automem_spin_button_new ( gint *value,
 					 GCallback hook,
 					 gpointer data );
 GtkWidget *gsb_automem_stock_button_menu_new ( GsbButtonStyle style,
-					       const gchar * stock_id, const gchar * name, 
+					       const gchar * stock_id, const gchar * name,
 					       GCallback callback, gpointer data );
 GtkWidget *gsb_automem_stock_button_new ( GsbButtonStyle style,
-					  const gchar * stock_id, const gchar * name, 
+					  const gchar * stock_id, const gchar * name,
 					  GCallback callback, gpointer data );
 GtkWidget *gsb_automem_textview_new ( gchar **value,
 				      GCallback hook,
diff --git a/src/gsb_bank.c b/src/gsb_bank.c
index c37afe2..7eb3f2c 100644
--- a/src/gsb_bank.c
+++ b/src/gsb_bank.c
@@ -1059,7 +1059,7 @@ static gboolean gsb_bank_edit_bank ( gint bank_number,
         tmp_str = g_strdup ( _("New bank") );
         gtk_entry_set_text ( GTK_ENTRY ( bank_name ), tmp_str );
         g_free ( tmp_str );
-        
+
     }
     else
         gsb_bank_update_form ( bank_number, GTK_DIALOG(dialog)->vbox );
@@ -1334,7 +1334,7 @@ static void gsb_bank_bic_code_changed ( GtkEntry *entry, gpointer data )
 /**
  * create or update bank data
  * when it's change in the edit_bank form.
- * 
+ *
  * \param entry
  * \param null
  *
diff --git a/src/gsb_calendar_entry.c b/src/gsb_calendar_entry.c
index 215e686..3a640ee 100644
--- a/src/gsb_calendar_entry.c
+++ b/src/gsb_calendar_entry.c
@@ -386,7 +386,7 @@ gboolean gsb_calendar_entry_focus_out ( GtkWidget *entry,
     gint valid;
 
     valid = gsb_date_check_and_complete_entry (entry, GPOINTER_TO_INT (set_today));
-    gsb_calendar_entry_set_color ( entry, valid ) ;    
+    gsb_calendar_entry_set_color ( entry, valid ) ;
 
     return FALSE;
 }
@@ -478,8 +478,8 @@ GtkWidget *gsb_calendar_entry_popup ( GtkWidget *entry )
 
     /* set the calendar */
     pCalendar = gtk_calendar_new();
-    gtk_calendar_select_month ( GTK_CALENDAR ( pCalendar ), 
-				g_date_get_month ( date ) - 1, 
+    gtk_calendar_select_month ( GTK_CALENDAR ( pCalendar ),
+				g_date_get_month ( date ) - 1,
 				g_date_get_year ( date ) );
     gtk_calendar_select_day ( GTK_CALENDAR ( pCalendar ), g_date_get_day ( date ) );
 
diff --git a/src/gsb_category.c b/src/gsb_category.c
index ff715a8..71b323f 100644
--- a/src/gsb_category.c
+++ b/src/gsb_category.c
@@ -79,9 +79,9 @@ gint compare_basename ( gchar * file1, gchar * file2 )
     gchar * base1 = g_path_get_basename ( file1 );
     gchar * base2 = g_path_get_basename ( file2 );
     gint result;
-    
+
     result = strcmp ( base1, base2 );
-    
+
     g_free ( base1 );
     g_free ( base2 );
 
@@ -110,14 +110,14 @@ void gsb_category_fill_sets ( GtkTreeView * view, GtkTreeModel * model, gboolean
     {
 	GSList * list;
 
-	if ( show_foreign || 
+	if ( show_foreign ||
 	     ( strlen ( (gchar *) *languages ) && strcmp ( (gchar *) *languages, "C" ) ) )
 	{
-	    list = gsb_category_assistant_scan_directory ( (gchar *) * languages, 
+	    list = gsb_category_assistant_scan_directory ( (gchar *) * languages,
 							   model );
 	    while ( list )
 	    {
-		if ( ! g_slist_find_custom ( category_files, list -> data, 
+		if ( ! g_slist_find_custom ( category_files, list -> data,
 					     (GCompareFunc) cherche_string_equivalente_dans_slist ) )
 		{
 		    category_files = g_slist_append ( category_files, list -> data );
@@ -132,12 +132,12 @@ void gsb_category_fill_sets ( GtkTreeView * view, GtkTreeModel * model, gboolean
     {
 	category_files = gsb_category_assistant_scan_directory ( "C", model );
     }
-    
+
     category_files = g_slist_sort ( category_files, (GCompareFunc) compare_basename );
 
     while ( category_files )
     {
-	gsb_category_assistant_parse_file ( (gchar * ) category_files -> data, 
+	gsb_category_assistant_parse_file ( (gchar * ) category_files -> data,
 					    model );
 
 	category_files = category_files -> next;
@@ -152,7 +152,7 @@ void gsb_category_fill_sets ( GtkTreeView * view, GtkTreeModel * model, gboolean
 
 
 /**
- * Handler that is responsible of toggling what is displayed in the 
+ * Handler that is responsible of toggling what is displayed in the
  *
  * \param button		GtkButton that triggered this handler.
  *
@@ -211,7 +211,7 @@ GtkWidget *gsb_category_assistant_create_choice_page ( GtkWidget *assistant )
     gtk_container_add ( GTK_CONTAINER ( sw ), (GtkWidget *) builtin_category_view );
 
     cell = gtk_cell_renderer_text_new ();
-    col_offset = 
+    col_offset =
 	gtk_tree_view_insert_column_with_attributes ( GTK_TREE_VIEW ( builtin_category_view ),
 						      -1, _("Category list"),
 						      cell, "markup",
@@ -262,7 +262,7 @@ gboolean gsb_category_assistant_create_categories ( GtkWidget *assistant )
 			     &iter,
 			     BUILTIN_CATEGORY_MODEL_FILENAME, &filename,
 			     -1);
-	
+
 	gsb_file_others_load_category ( filename );
 
     }
@@ -286,7 +286,7 @@ gboolean gsb_category_update_combofix ( gboolean force )
                         TRANSACTION_FORM_CATEGORY ) ),
                         gsb_data_category_get_name_list ( TRUE, TRUE, TRUE, TRUE ) );
     }
- 
+
     return FALSE;
 }
 
@@ -295,7 +295,7 @@ gboolean gsb_category_update_combofix ( gboolean force )
  * Scan a directory for Grisbi category files in order to put their
  * titles in a GtkTreeModel.
  *
- * \param basename	Basename of the directory to scan.  The 
+ * \param basename	Basename of the directory to scan.  The
  *			data directory will be prepended.
  * \param model		A GtkTreeModel to fill with information found.
  *
@@ -311,7 +311,7 @@ GSList * gsb_category_assistant_scan_directory ( gchar * basename, GtkTreeModel
     if ( ! g_file_test ( dirname, G_FILE_TEST_IS_DIR ) )
     {
 	gchar * pos = strchr ( basename, '.' );
-	if ( pos ) 
+	if ( pos )
 	    *pos = '\0';
 	g_free ( dirname );
 	dirname = g_build_filename ( gsb_dirs_get_categories_dir ( ), basename, NULL );
@@ -319,7 +319,7 @@ GSList * gsb_category_assistant_scan_directory ( gchar * basename, GtkTreeModel
     if ( ! g_file_test ( dirname, G_FILE_TEST_IS_DIR ) )
     {
 	gchar * pos = strchr ( basename, '_' );
-	if ( pos ) 
+	if ( pos )
 	    *pos = '\0';
 	g_free ( dirname );
 	dirname = g_build_filename ( gsb_dirs_get_categories_dir ( ), basename, NULL );
@@ -383,7 +383,7 @@ void gsb_category_assistant_parse_file ( gchar * filename, GtkTreeModel * model
 
     if ( ! description )
     {
-	description = g_strconcat ( "<span size=\"larger\" weight=\"bold\">", _("Unnamed category list"), 
+	description = g_strconcat ( "<span size=\"larger\" weight=\"bold\">", _("Unnamed category list"),
 				    "</span>", NULL );
     }
 
@@ -407,7 +407,7 @@ void gsb_category_assistant_start_element ( GMarkupParseContext *context, const
 
     if ( ! my_strcasecmp ( element_name, "general" ) )
     {
-	
+
 	while ( *attribute_names )
 	{
 	    if ( ! my_strcasecmp ( *attribute_names, "title" ) )
diff --git a/src/gsb_combo_box.c b/src/gsb_combo_box.c
index f382c3b..5f39314 100644
--- a/src/gsb_combo_box.c
+++ b/src/gsb_combo_box.c
@@ -48,7 +48,7 @@
  * create a text only combo_box with an index
  * column 0 will contain the text
  * column 1 will have the index, in the order of the strings
- * 
+ *
  * this function takes an array of string and attribute a number beginning by the first element of the array
  * to link some text with a special number, use gsb_combo_box_new_with_index_by_list
  *
@@ -113,7 +113,7 @@ GtkWidget *gsb_combo_box_new_with_index ( gchar **string,
  *
  * the function takes a g_slist of text and number to attribute
  * 	this list must be as : text_1 -> number_1 -> text_2 -> number_2 -> ...
- * 
+ *
  * \param list	a g_slist containing succession of text and number to associate to the text
  * \param func an optional function to call when change the current item (gboolean func (GtkWidget *combox, gpointer data)
  * \param data the data to send to the func
diff --git a/src/gsb_currency.c b/src/gsb_currency.c
index 688f48d..40a30da 100644
--- a/src/gsb_currency.c
+++ b/src/gsb_currency.c
@@ -152,7 +152,7 @@ GtkWidget *gsb_currency_make_combobox ( gboolean set_name )
     if ( !combobox_currency_store )
         gsb_currency_create_combobox_store ();
 
-    combo_box = gtk_combo_box_new_with_model (GTK_TREE_MODEL 
+    combo_box = gtk_combo_box_new_with_model (GTK_TREE_MODEL
                         (combobox_currency_store));
 
     /* Flag renderer */
@@ -275,41 +275,41 @@ gboolean gsb_currency_update_combobox_currency_list ( void )
      * try to find why. */
     if ( detail_devise_compte && G_IS_OBJECT ( detail_devise_compte ) )
     {
-        handler_id = (gulong) g_object_get_data ( G_OBJECT 
+        handler_id = (gulong) g_object_get_data ( G_OBJECT
                             (detail_devise_compte), "changed-hook" );
         if ( handler_id > 0 )
         {
             g_signal_handler_block ( (gpointer *) detail_devise_compte,
                             handler_id );
-            old_currency_number = gtk_combo_box_get_active (GTK_COMBO_BOX 
+            old_currency_number = gtk_combo_box_get_active (GTK_COMBO_BOX
                             (detail_devise_compte));
         }
     }
     if ( combo_devise_totaux_tiers && G_IS_OBJECT ( combo_devise_totaux_tiers ) )
     {
-        handler_id = (gulong) g_object_get_data ( G_OBJECT 
+        handler_id = (gulong) g_object_get_data ( G_OBJECT
                             (combo_devise_totaux_tiers), "changed-hook" );
         if ( handler_id > 0 )
             g_signal_handler_block ( (gpointer *) combo_devise_totaux_tiers,
-                            (gulong) g_object_get_data ( G_OBJECT 
+                            (gulong) g_object_get_data ( G_OBJECT
                             (combo_devise_totaux_tiers), "changed-hook" ) );
     }
     if ( combo_devise_totaux_categ  && G_IS_OBJECT ( combo_devise_totaux_categ ) )
     {
-        handler_id = (gulong) g_object_get_data ( G_OBJECT 
+        handler_id = (gulong) g_object_get_data ( G_OBJECT
                             (combo_devise_totaux_categ), "changed-hook" );
         if ( handler_id > 0 )
             g_signal_handler_block ( (gpointer *) combo_devise_totaux_categ,
-                            (gulong) g_object_get_data ( G_OBJECT 
+                            (gulong) g_object_get_data ( G_OBJECT
                             (combo_devise_totaux_categ), "changed-hook" ) );
     }
     if ( combo_devise_totaux_ib  && G_IS_OBJECT ( combo_devise_totaux_ib ) )
     {
-        handler_id = (gulong) g_object_get_data ( G_OBJECT 
+        handler_id = (gulong) g_object_get_data ( G_OBJECT
                             (combo_devise_totaux_ib), "changed-hook" );
         if ( handler_id > 0 )
             g_signal_handler_block ( (gpointer *) combo_devise_totaux_ib,
-                            (gulong) g_object_get_data ( G_OBJECT 
+                            (gulong) g_object_get_data ( G_OBJECT
                             (combo_devise_totaux_ib), "changed-hook" ) );
     }
 
@@ -354,52 +354,52 @@ gboolean gsb_currency_update_combobox_currency_list ( void )
 
     if ( detail_devise_compte && G_IS_OBJECT ( detail_devise_compte ) )
     {
-        handler_id = (gulong) g_object_get_data ( G_OBJECT 
+        handler_id = (gulong) g_object_get_data ( G_OBJECT
                             (detail_devise_compte), "changed-hook" );
         {
-            gtk_combo_box_set_active ( GTK_COMBO_BOX (detail_devise_compte), 
+            gtk_combo_box_set_active ( GTK_COMBO_BOX (detail_devise_compte),
                             old_currency_number );
             g_signal_handler_unblock ( detail_devise_compte,
-                            (gulong) g_object_get_data ( G_OBJECT 
+                            (gulong) g_object_get_data ( G_OBJECT
                             (detail_devise_compte), "changed-hook" ) );
         }
     }
     if ( combo_devise_totaux_tiers && G_IS_OBJECT ( combo_devise_totaux_tiers ) )
     {
-        handler_id = (gulong) g_object_get_data ( G_OBJECT 
+        handler_id = (gulong) g_object_get_data ( G_OBJECT
                             (combo_devise_totaux_tiers), "changed-hook" );
         if ( handler_id > 0 )
         {
-            gtk_combo_box_set_active ( GTK_COMBO_BOX (combo_devise_totaux_tiers), 
+            gtk_combo_box_set_active ( GTK_COMBO_BOX (combo_devise_totaux_tiers),
                             old_currency_number );
             g_signal_handler_unblock ( (gpointer *) combo_devise_totaux_tiers,
-                            (gulong) g_object_get_data ( G_OBJECT 
+                            (gulong) g_object_get_data ( G_OBJECT
                             (combo_devise_totaux_tiers), "changed-hook" ) );
         }
     }
     if ( combo_devise_totaux_categ  && G_IS_OBJECT ( combo_devise_totaux_categ ) )
     {
-        handler_id = (gulong) g_object_get_data ( G_OBJECT 
+        handler_id = (gulong) g_object_get_data ( G_OBJECT
                             (combo_devise_totaux_categ), "changed-hook" );
         if ( handler_id > 0 )
         {
-            gtk_combo_box_set_active ( GTK_COMBO_BOX (combo_devise_totaux_categ), 
+            gtk_combo_box_set_active ( GTK_COMBO_BOX (combo_devise_totaux_categ),
                             old_currency_number );
             g_signal_handler_unblock ( (gpointer *) combo_devise_totaux_categ,
-                            (gulong) g_object_get_data ( G_OBJECT 
+                            (gulong) g_object_get_data ( G_OBJECT
                             (combo_devise_totaux_categ), "changed-hook" ) );
         }
     }
     if ( combo_devise_totaux_ib  && G_IS_OBJECT ( combo_devise_totaux_ib ) )
     {
-        handler_id = (gulong) g_object_get_data ( G_OBJECT 
+        handler_id = (gulong) g_object_get_data ( G_OBJECT
                             (combo_devise_totaux_ib), "changed-hook" );
         if ( handler_id > 0 )
         {
-            gtk_combo_box_set_active ( GTK_COMBO_BOX (combo_devise_totaux_ib), 
+            gtk_combo_box_set_active ( GTK_COMBO_BOX (combo_devise_totaux_ib),
                             old_currency_number );
             g_signal_handler_unblock ( (gpointer *) combo_devise_totaux_ib,
-                            (gulong) g_object_get_data ( G_OBJECT 
+                            (gulong) g_object_get_data ( G_OBJECT
                             (combo_devise_totaux_ib), "changed-hook" ) );
         }
     }
@@ -858,7 +858,7 @@ gboolean gsb_currency_create_combobox_store ( void )
     /* the currency list store, contains 4 columns :
      * CURRENCY_COL_CODE : the code of the currency
      * CURRENCY_COL_NAME : the name(code) of the currency
-     * CURRENCY_COL_NUMBER : the number of the currency 
+     * CURRENCY_COL_NUMBER : the number of the currency
      * CURRENCY_COL_FLAG :  */
 
     combobox_currency_store = gtk_list_store_new ( CURRENCY_NUM_COL,
@@ -957,7 +957,7 @@ void gsb_currency_init_exchanges ( void )
 
 /*
  * Handler that change the entries and calculate the exchange_rate
- * 
+ *
  *
  * \param entry_1 the entry wich receive the signal
  * \param entry_2 the other entry
@@ -1084,7 +1084,7 @@ GtkWidget *gsb_currency_make_combobox_exchange_dialog ( gint transaction_currenc
                     2, gsb_data_currency_get_name ( account_currency_number ),
                     -1 );
 
-    combo_box = gtk_combo_box_new_with_model (GTK_TREE_MODEL 
+    combo_box = gtk_combo_box_new_with_model (GTK_TREE_MODEL
                         (combobox_store));
 
     /* Flag renderer */
diff --git a/src/gsb_currency_config.c b/src/gsb_currency_config.c
index e057105..411043a 100644
--- a/src/gsb_currency_config.c
+++ b/src/gsb_currency_config.c
@@ -887,7 +887,7 @@ GtkWidget * gsb_currency_config_new_combobox ( gint * value, GCallback hook )
     g_object_set_data ( G_OBJECT ( combo_box ), "pointer", value);
 
     if ( hook )
-    g_object_set_data ( G_OBJECT (combo_box), "changed-hook", 
+    g_object_set_data ( G_OBJECT (combo_box), "changed-hook",
                         (gpointer) g_signal_connect_after (G_OBJECT(combo_box), "changed",
                         G_CALLBACK (hook), value ));
 
@@ -1049,18 +1049,18 @@ dialog_return:
 
         if ( gsb_data_currency_get_number_by_name ( currency_name ) )
         {
-            currency_number = gsb_data_currency_get_number_by_name 
+            currency_number = gsb_data_currency_get_number_by_name
                         ( currency_name );
         }
-        else if ( gsb_data_currency_get_number_by_code_iso4217 
+        else if ( gsb_data_currency_get_number_by_code_iso4217
                         ( currency_isocode ) )
         {
-            currency_number = gsb_data_currency_get_number_by_code_iso4217 
+            currency_number = gsb_data_currency_get_number_by_code_iso4217
                         ( currency_isocode );
         }
         else
         {
-            currency_number = gsb_currency_config_create_currency ( currency_name, 
+            currency_number = gsb_currency_config_create_currency ( currency_name,
                         currency_code, currency_isocode, floating_point );
 
             /* update the currencies list in account properties */
@@ -1297,7 +1297,7 @@ gboolean gsb_currency_config_update_list ( GtkWidget * checkbox,
 
     model = gtk_tree_view_get_model ( tree_view );
     gtk_list_store_clear ( GTK_LIST_STORE (model) );
-    gsb_currency_config_fill_popup_list ( tree_view, 
+    gsb_currency_config_fill_popup_list ( tree_view,
                         gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(checkbox)) );
 
     /* re-select the default currency
diff --git a/src/gsb_currency_config.h b/src/gsb_currency_config.h
index 6573c13..a5ca467 100644
--- a/src/gsb_currency_config.h
+++ b/src/gsb_currency_config.h
@@ -19,7 +19,7 @@ struct cached_exchange_rate {
 };
 
 /** ISO 4217 currency.  Not specific to Grisbi. */
-struct iso_4217_currency 
+struct iso_4217_currency
 {
     gchar * continent;
     gchar * currency_name;
diff --git a/src/gsb_currency_link_config.c b/src/gsb_currency_link_config.c
index 8c35c7a..7d2c7bf 100644
--- a/src/gsb_currency_link_config.c
+++ b/src/gsb_currency_link_config.c
@@ -86,7 +86,7 @@ enum link_list_column {
 /**
  * create the currency_link page for the config
  *
- * \param 
+ * \param
  *
  * \return a newly created box
  * */
@@ -101,7 +101,7 @@ GtkWidget *gsb_currency_link_config_create_page ( void )
     GtkWidget *combobox;
     gint width_entry = 170;
 
-    vbox_pref = new_vbox_with_title_and_icon ( _("Links between currencies"), "currencies.png" ); 
+    vbox_pref = new_vbox_with_title_and_icon ( _("Links between currencies"), "currencies.png" );
     paddingbox = new_paddingbox_with_title (vbox_pref, TRUE, _("Known links"));
 
     hbox = gtk_hbox_new ( FALSE, 5 );
@@ -117,9 +117,9 @@ GtkWidget *gsb_currency_link_config_create_page ( void )
     tree_model = gtk_tree_view_get_model ( tree_view );
     gtk_container_add ( GTK_CONTAINER ( scrolled_window ), GTK_WIDGET(tree_view) );
     gtk_box_pack_start ( GTK_BOX ( hbox ), scrolled_window, TRUE, TRUE, 0);
-    g_signal_connect ( gtk_tree_view_get_selection (GTK_TREE_VIEW ( tree_view ) ), 
+    g_signal_connect ( gtk_tree_view_get_selection (GTK_TREE_VIEW ( tree_view ) ),
 		       "changed",
-		       G_CALLBACK ( gsb_currency_link_config_select_currency ), 
+		       G_CALLBACK ( gsb_currency_link_config_select_currency ),
 		       NULL );
     /* check the keys on the list */
     g_signal_connect ( G_OBJECT ( tree_view ),
@@ -316,7 +316,7 @@ GtkWidget *gsb_currency_link_config_create_list ( void )
     }
 
     /* Sort columns accordingly */
-    gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE(model), 
+    gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE(model),
 					  LINK_CURRENCY1_COLUMN, GTK_SORT_ASCENDING);
 
     return treeview;
@@ -357,7 +357,7 @@ void gsb_currency_link_config_fill_list ( GtkTreeModel *model )
  * \param link_number
  * \param iter a pointer to an iter to fill it with the position of the new link, or NULL
  *
- * \return 
+ * \return
  * */
 void gsb_currency_link_config_append_line ( GtkTreeModel *model,
 					    gint link_number,
@@ -458,7 +458,7 @@ gboolean gsb_currency_link_config_select_currency ( GtkTreeSelection *tree_selec
     g_signal_handlers_unblock_by_func ( G_OBJECT (combobox_1),
 					G_CALLBACK (gsb_currency_link_config_modify_link),
 					tree_view );
-    
+
     g_signal_handlers_block_by_func ( G_OBJECT (combobox_2),
 				      G_CALLBACK (gsb_currency_link_config_modify_link),
 				      tree_view );
diff --git a/src/gsb_data_account.c b/src/gsb_data_account.c
index f61ece4..b1e4f46 100644
--- a/src/gsb_data_account.c
+++ b/src/gsb_data_account.c
@@ -190,7 +190,7 @@ void gsb_data_account_delete_all_accounts (void)
 
 /**
  * set the accounts global variables to NULL, usually when we init all the global variables
- * 
+ *
  * \param none
  *
  * \return FALSE
@@ -207,7 +207,7 @@ gboolean gsb_data_account_init_variables ( void )
  * return a pointer on the g_slist of accounts
  * carrefull : it's not a copy, so we must not free or change it
  * if we want to change the list, use gsb_data_account_get_copy_list_accounts instead
- * 
+ *
  * \param none
  * \return a g_slist on the accounts
  * */
@@ -219,9 +219,9 @@ GSList *gsb_data_account_get_list_accounts ( void )
 
 /**
  * create a new account and add to the list of accounts
- * 
+ *
  * \param account_type the type of the account
- * 
+ *
  * \return no of account, -1 if problem
  * */
 gint gsb_data_account_new ( kind_account account_kind )
@@ -324,9 +324,9 @@ static void _gsb_data_account_free ( struct_account* account )
 
 /**
  * delete and free the account given
- * 
+ *
  * \param account_number the no of account
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_account_delete ( gint account_number )
@@ -349,9 +349,9 @@ gboolean gsb_data_account_delete ( gint account_number )
 
 /**
  * return the amount of accounts
- * 
+ *
  * \param none
- * 
+ *
  * \return amount of accounts
  * */
 gint gsb_data_account_get_accounts_amount ( void )
@@ -366,9 +366,9 @@ gint gsb_data_account_get_accounts_amount ( void )
 
 /**
  * find and return the last number of account
- * 
+ *
  * \param none
- * 
+ *
  * \return last number of account
  * */
 gint gsb_data_account_max_number ( void )
@@ -401,9 +401,9 @@ gint gsb_data_account_max_number ( void )
 
 /**
  * find and return the first number of account
- * 
+ *
  * \param none
- * 
+ *
  * \return first number of account, -1 if no accounts
  * */
 gint gsb_data_account_first_number ( void )
@@ -451,10 +451,10 @@ gint gsb_data_account_first_no_closed_account ( void )
 
 
 /**
- * find and return the number of the account which the struct is the param 
- * 
+ * find and return the number of the account which the struct is the param
+ *
  * \param the struct of the account
- * 
+ *
  * \return the number of account, -1 if pb
  * */
 gint gsb_data_account_get_no_account ( gpointer account_ptr )
@@ -476,10 +476,10 @@ gint gsb_data_account_get_no_account ( gpointer account_ptr )
  * it returns the new number (given in param also)
  * it is called ONLY when loading a file to change the default
  * number, given when we create the account
- * 
+ *
  * \param account_number no of the account to change
  * \param new_no new number to the account
- * 
+ *
  * \return the new number, or -1 if failed
  * */
 gint gsb_data_account_set_account_number ( gint account_number,
@@ -500,11 +500,11 @@ gint gsb_data_account_set_account_number ( gint account_number,
 
 
 
-/** 
+/**
  * find and return the structure of the account asked
- * 
+ *
  * \param no number of account
- * 
+ *
  * \return the adr of the struct of the account (NULL if doesn't exit)
  * */
 struct_account *gsb_data_account_get_structure ( gint no )
@@ -546,9 +546,9 @@ struct_account *gsb_data_account_get_structure ( gint no )
 
 /**
  * get the nb of rows displayed on the account given
- * 
+ *
  * \param account_number no of the account
- * 
+ *
  * \return nb of rows displayed (1, 2, 3 or 4), or 0 if the account doesn't exist
  * */
 gint gsb_data_account_get_nb_rows ( gint account_number )
@@ -596,9 +596,9 @@ gboolean gsb_data_account_set_nb_rows ( gint account_number,
 
 /**
  * return if archives Lines are displayed in the account asked
- * 
+ *
  * \param account_number no of the account
- * 
+ *
  * \return boolean show/not show L
  * */
 gboolean gsb_data_account_get_l ( gint account_number )
@@ -615,10 +615,10 @@ gboolean gsb_data_account_get_l ( gint account_number )
 
 /**
  * set if archives lines are displayed in the account asked
- * 
+ *
  * \param account_number no of the account
  * \param show_l boolean
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_l ( gint account_number,
@@ -638,9 +638,9 @@ gboolean gsb_data_account_set_l ( gint account_number,
 
 /**
  * return if R are displayed in the account asked
- * 
+ *
  * \param account_number no of the account
- * 
+ *
  * \return boolean show/not show R
  * */
 gboolean gsb_data_account_get_r ( gint account_number )
@@ -657,10 +657,10 @@ gboolean gsb_data_account_get_r ( gint account_number )
 
 /**
  * set if R are displayed in the account asked
- * 
+ *
  * \param account_number no of the account
  * \param show_r boolean
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_r ( gint account_number,
@@ -696,13 +696,13 @@ gchar *gsb_data_account_get_id ( gint account_number )
 }
 
 
-/** 
+/**
  * set the id of the account
  * the id is copied in memory
- * 
+ *
  * \param account_number no of the account
  * \param id id to set
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_id ( gint account_number,
@@ -727,7 +727,7 @@ gboolean gsb_data_account_set_id ( gint account_number,
 /**
  * Test if account exist by id (// Modif Yoann )
  * and return its number
- * 
+ *
  * \param Account Id
  *
  * \return the account number or -1
@@ -815,13 +815,13 @@ gchar *gsb_data_account_get_name ( gint account_number )
 }
 
 
-/** 
+/**
  * set the name of the account
  * the name is copied in memory
- * 
+ *
  * \param account_number no of the account
  * \param name name to set
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_name ( gint account_number,
@@ -845,12 +845,12 @@ gboolean gsb_data_account_set_name ( gint account_number,
 }
 
 
-/** 
+/**
  * find and return the number of account which
  * have the name given in param
- * 
+ *
  * \param account_name
- * 
+ *
  * \return the number of account or -1
  * */
 gint gsb_data_account_get_no_account_by_name ( const gchar *account_name )
@@ -881,10 +881,10 @@ gint gsb_data_account_get_no_account_by_name ( const gchar *account_name )
 
 /**
  * get the init balance of the account
- * 
+ *
  * \param account_number no of the account
  * \param floating_point give the number of digits after the separator we want, -1 for no limit
- * 
+ *
  * \return balance or NULL if the account doesn't exist
  * */
 gsb_real gsb_data_account_get_init_balance ( gint account_number,
@@ -904,10 +904,10 @@ gsb_real gsb_data_account_get_init_balance ( gint account_number,
 
 /**
  * set the init balance of the account
- * 
+ *
  * \param account_number no of the account
  * \param balance balance to set
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_init_balance ( gint account_number,
@@ -928,11 +928,11 @@ gboolean gsb_data_account_set_init_balance ( gint account_number,
 
 
 
-/** 
+/**
  * get the minimum balance wanted of the account
- * 
+ *
  * \param account_number no of the account
- * 
+ *
  * \return balance or NULL if the account doesn't exist
  * */
 gsb_real gsb_data_account_get_mini_balance_wanted ( gint account_number )
@@ -950,10 +950,10 @@ gsb_real gsb_data_account_get_mini_balance_wanted ( gint account_number )
 
 /**
  * set the minimum balance wanted of the account
- * 
+ *
  * \param account_number no of the account
  * \param balance balance to set
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_mini_balance_wanted ( gint account_number,
@@ -973,9 +973,9 @@ gboolean gsb_data_account_set_mini_balance_wanted ( gint account_number,
 
 /**
  * get the minimum balance authorized of the account
- * 
+ *
  * \param account_number no of the account
- * 
+ *
  * \return balance or 0 if the account doesn't exist
  * */
 gsb_real gsb_data_account_get_mini_balance_authorized ( gint account_number )
@@ -993,10 +993,10 @@ gsb_real gsb_data_account_get_mini_balance_authorized ( gint account_number )
 
 /**
  * set the minimum balance authorized of the account
- * 
+ *
  * \param account_number no of the account
  * \param balance balance to set
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_mini_balance_authorized ( gint account_number,
@@ -1017,9 +1017,9 @@ gboolean gsb_data_account_set_mini_balance_authorized ( gint account_number,
 
 /**
  * flag the current and marked balance dirty to force recompute
- * 
+ *
  * \param account_number no of the account
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_balances_are_dirty ( gint account_number )
@@ -1119,7 +1119,7 @@ gsb_real gsb_data_account_calculate_current_and_marked_balances ( gint account_n
 	tmp_list = tmp_list -> next;
     }
 
-    g_date_free ( date_jour ); 
+    g_date_free ( date_jour );
     account -> current_balance = gsb_real_add ( current_balance, current_balance_later );
     account -> marked_balance = gsb_real_add ( marked_balance, marked_balance_later );
 
@@ -1129,9 +1129,9 @@ gsb_real gsb_data_account_calculate_current_and_marked_balances ( gint account_n
 
 /**
  * get the current balance  of the account
- * 
+ *
  * \param account_number no of the account
- * 
+ *
  * \return balance or 0 if the account doesn't exist
  * */
 gsb_real gsb_data_account_get_current_balance ( gint account_number )
@@ -1228,7 +1228,7 @@ gsb_real gsb_data_account_calculate_waiting_marked_balance ( gint account_number
  *
  * \param account_number no of the account
  * \param no_column no of the column
- * 
+ *
  * \return  the element_number used to sort or 0 if the account doesn't exist
  * */
 gint gsb_data_account_get_element_sort ( gint account_number,
@@ -1242,7 +1242,7 @@ gint gsb_data_account_get_element_sort ( gint account_number,
     {
         gchar* tmpstr;
 
-    	/* TODO dOm : the return value of g_strdup_printf was not used ! 
+    	/* TODO dOm : the return value of g_strdup_printf was not used !
          I add the devel_debug to print it. Is it OK to do that ? */
         tmpstr = g_strdup_printf ( _("Bad no column to gsb_data_account_get_element_sort () "
                                    "in data_account.c\nno_column = %d\n" ),
@@ -1268,7 +1268,7 @@ gint gsb_data_account_get_element_sort ( gint account_number,
  * \param account_number no of the account
  * \param no_column no of the column
  * \param element_number  element number used to set
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_element_sort ( gint account_number,
@@ -1331,10 +1331,10 @@ gint gsb_data_account_get_current_transaction_number ( gint account_number )
 
 /**
  * set the current transaction of the account
- * 
+ *
  * \param account_number no of the account
  * \param transaction_number number of the transaction selection
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_current_transaction_number ( gint account_number,
@@ -1356,9 +1356,9 @@ gboolean gsb_data_account_set_current_transaction_number ( gint account_number,
 
 /**
  * get the value of mini_balance_wanted_message  on the account given
- * 
+ *
  * \param account_number no of the account
- * 
+ *
  * \return mini_balance_wanted_message or 0 if the account doesn't exist
  * */
 gboolean gsb_data_account_get_mini_balance_wanted_message ( gint account_number )
@@ -1374,12 +1374,12 @@ gboolean gsb_data_account_get_mini_balance_wanted_message ( gint account_number
 }
 
 
-/** 
+/**
  * set the value of mini_balance_wanted_message in the account given
- * 
+ *
  * \param account_number no of the account
- * \param value 
- * 
+ * \param value
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_mini_balance_wanted_message ( gint account_number,
@@ -1417,10 +1417,10 @@ gboolean gsb_data_account_get_mini_balance_authorized_message ( gint account_num
 
 /**
  * set the value of mini_balance_authorized_message in the account given
- * 
+ *
  * \param account_number no of the account
- * \param value 
- * 
+ * \param value
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_mini_balance_authorized_message ( gint account_number,
@@ -1441,9 +1441,9 @@ gboolean gsb_data_account_set_mini_balance_authorized_message ( gint account_num
 
 /**
  * get the currency on the account given
- * 
+ *
  * \param account_number no of the account
- * 
+ *
  * \return currency or 0 if the account doesn't exist
  * */
 gint gsb_data_account_get_currency ( gint account_number )
@@ -1535,13 +1535,13 @@ gchar *gsb_data_account_get_bank_branch_code ( gint account_number )
 }
 
 
-/** 
+/**
  * set the bank_branch_code of the account
  * the code is copied in memory
- * 
+ *
  * \param account_number no of the account
  * \param bank_branch_code bank_branch_code to set
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_bank_branch_code ( gint account_number,
@@ -1585,10 +1585,10 @@ gchar *gsb_data_account_get_bank_account_number ( gint account_number )
 /**
  * set the bank_account_number of the account
  * the number is copied in memory
- * 
+ *
  * \param account_number no of the account
  * \param bank_account_number bank_account_number to set
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_bank_account_number ( gint account_number,
@@ -1631,13 +1631,13 @@ gchar *gsb_data_account_get_bank_account_key ( gint account_number )
 }
 
 
-/** 
+/**
  * set the bank_account_key of the account
  * the key is copied in memory
- * 
+ *
  * \param account_number no of the account
  * \param bank_account_key bank_account_key to set
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_bank_account_key ( gint account_number,
@@ -1720,10 +1720,10 @@ gchar *gsb_data_account_get_comment ( gint account_number )
 /**
  * set the comment of the account
  * the comment is copied in memory
- * 
+ *
  * \param account_number no of the account
  * \param comment comment to set
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_comment ( gint account_number,
@@ -1747,9 +1747,9 @@ gboolean gsb_data_account_set_comment ( gint account_number,
 /**
  * get reconcile_sort_type on the account given
  * 1 if the list should be sorted by method of payment, 0 if normal sort
- * 
+ *
  * \param account_number no of the account
- * 
+ *
  * \return 1 if the list should be sorted by method of payment, 0 if normal sort
  * */
 gint gsb_data_account_get_reconcile_sort_type ( gint account_number )
@@ -1768,10 +1768,10 @@ gint gsb_data_account_get_reconcile_sort_type ( gint account_number )
 /**
  * set reconcile_sort_type in the account given
  * 1 if the list should be sorted by method of payment, 0 if normal sort
- * 
+ *
  * \param account_number no of the account
- * \param sort_type 
- * 
+ * \param sort_type
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_reconcile_sort_type ( gint account_number,
@@ -1790,13 +1790,13 @@ gboolean gsb_data_account_set_reconcile_sort_type ( gint account_number,
 }
 
 
-/** 
+/**
  * get the sort_list of the account
  * this is a sorted list containing the numbers of the method of payment
  * used to sort the list while reconciling, according to the method of payments
- * 
+ *
  * \param account_number no of the account
- * 
+ *
  * \return the g_slist or NULL if the account doesn't exist
  * */
 GSList *gsb_data_account_get_sort_list ( gint account_number )
@@ -1811,14 +1811,14 @@ GSList *gsb_data_account_get_sort_list ( gint account_number )
     return account -> sort_list;
 }
 
-/** 
+/**
  * set the sort_list list of the account
  * this is a sorted list containing the numbers of the method of payment
  * used to sort the list while reconciling, according to the method of payments
- * 
+ *
  * \param account_number no of the account
  * \param list g_slist to set
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_sort_list ( gint account_number,
@@ -1911,9 +1911,9 @@ gboolean gsb_data_account_sort_list_free ( gint account_number )
 
 /**
  * get split_neutral_payment on the account given
- * 
+ *
  * \param account_number no of the account
- * 
+ *
  * \return split_neutral_payment or 0 if the account doesn't exist
  * */
 gint gsb_data_account_get_split_neutral_payment ( gint account_number )
@@ -1929,12 +1929,12 @@ gint gsb_data_account_get_split_neutral_payment ( gint account_number )
 }
 
 
-/** 
+/**
  * set split_neutral_payment in the account given
- * 
+ *
  * \param account_number no of the account
  * \param split_neutral_payment split_neutral_payment to set
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_split_neutral_payment ( gint account_number,
@@ -1955,9 +1955,9 @@ gboolean gsb_data_account_set_split_neutral_payment ( gint account_number,
 
 /**
  * get the holder_name of the account
- * 
+ *
  * \param account_number no of the account
- * 
+ *
  * \return holder_name or NULL if the account doesn't exist
  * */
 gchar *gsb_data_account_get_holder_name ( gint account_number )
@@ -1976,10 +1976,10 @@ gchar *gsb_data_account_get_holder_name ( gint account_number )
 /**
  * set the holder_name of the account
  * the name is copied in memory
- * 
+ *
  * \param account_number no of the account
  * \param holder_name holder_name to set
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_holder_name ( gint account_number,
@@ -2023,10 +2023,10 @@ gchar *gsb_data_account_get_holder_address ( gint account_number )
 /**
  * set the holder_address of the account
  * the address is copied in memory
- * 
+ *
  * \param account_number no of the account
  * \param holder_address holder_address to set
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_holder_address ( gint account_number,
@@ -2053,9 +2053,9 @@ gboolean gsb_data_account_set_holder_address ( gint account_number,
 
 /**
  * get default_debit on the account given
- * 
+ *
  * \param account_number no of the account
- * 
+ *
  * \return default_debit or 0 if the account doesn't exist
  * */
 gint gsb_data_account_get_default_debit ( gint account_number )
@@ -2073,10 +2073,10 @@ gint gsb_data_account_get_default_debit ( gint account_number )
 
 /**
  * set default_debit in the account given
- * 
+ *
  * \param account_number no of the account
  * \param default_debit default_debit to set
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_default_debit ( gint account_number,
@@ -2098,9 +2098,9 @@ gboolean gsb_data_account_set_default_debit ( gint account_number,
 
 /**
  * get default_credit on the account given
- * 
+ *
  * \param account_number no of the account
- * 
+ *
  * \return default_credit or 0 if the account doesn't exist
  * */
 gint gsb_data_account_get_default_credit ( gint account_number )
@@ -2118,10 +2118,10 @@ gint gsb_data_account_get_default_credit ( gint account_number )
 
 /**
  * set default_credit in the account given
- * 
+ *
  * \param account_number no of the account
  * \param default_credit default_credit to set
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_default_credit ( gint account_number,
@@ -2143,9 +2143,9 @@ gboolean gsb_data_account_set_default_credit ( gint account_number,
 
 /**
  * get row_align on the account given
- * 
+ *
  * \param account_number no of the account
- * 
+ *
  * \return the row_align or 0
  * */
 gfloat gsb_data_account_get_row_align ( gint account_number )
@@ -2164,10 +2164,10 @@ gfloat gsb_data_account_get_row_align ( gint account_number )
 /**
  * set the row_align parameter for the account
  * use to place the list at the good place when changing account
- * 
+ *
  * \param account_number no of the account
  * \param row_align	the row_align to use with gtk_tree_view_scroll_to_cell
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_row_align ( gint account_number,
@@ -2188,9 +2188,9 @@ gboolean gsb_data_account_set_row_align ( gint account_number,
 /**
  * get sort_type on the account given
  * ie GTK_SORT_DESCENDING / GTK_SORT_ASCENDING
- * 
+ *
  * \param account_number no of the account
- * 
+ *
  * \return GTK_SORT_DESCENDING / GTK_SORT_ASCENDING
  * */
 gint gsb_data_account_get_sort_type ( gint account_number )
@@ -2209,10 +2209,10 @@ gint gsb_data_account_get_sort_type ( gint account_number )
 /**
  * set sort_type in the account given
  * ie GTK_SORT_DESCENDING / GTK_SORT_ASCENDING
- * 
+ *
  * \param account_number no of the account
  * \param sort_type sort_type to set (GTK_SORT_DESCENDING / GTK_SORT_ASCENDING)
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_sort_type ( gint account_number,
@@ -2235,9 +2235,9 @@ gboolean gsb_data_account_set_sort_type ( gint account_number,
 
 /**
  * get sort_column on the account given
- * 
+ *
  * \param account_number no of the account
- * 
+ *
  * \return sort_column or 0 if the account doesn't exist
  * */
 gint gsb_data_account_get_sort_column ( gint account_number )
@@ -2256,10 +2256,10 @@ gint gsb_data_account_get_sort_column ( gint account_number )
 
 /**
  * set sort_column in the account given
- * 
+ *
  * \param account_number no of the account
  * \param sort_column sort_column to set
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_sort_column ( gint account_number,
@@ -2281,9 +2281,9 @@ gboolean gsb_data_account_set_sort_column ( gint account_number,
 
 /**
  * get the form_organization of the account
- * 
+ *
  * \param account_number no of the account
- * 
+ *
  * \return form_organization or NULL if the account doesn't exist
  * */
 gpointer gsb_data_account_get_form_organization ( gint account_number )
@@ -2301,10 +2301,10 @@ gpointer gsb_data_account_get_form_organization ( gint account_number )
 
 /**
  * set the form_organization of the account
- * 
+ *
  * \param account_number no of the account
  * \param form_organization form_organization to set
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_form_organization ( gint account_number,
@@ -2329,9 +2329,9 @@ gboolean gsb_data_account_set_form_organization ( gint account_number,
  * set a new order in the list of accounts
  * all the accounts which are not in the new order are appened at the end of the new list
  * should be used only when loading a file before the 0.6 version
- * 
+ *
  * \param new_order a g_slist which contains the number of accounts in the new order
- * 
+ *
  * \return FALSE
  * */
 gboolean gsb_data_account_reorder ( GSList *new_order )
@@ -2340,7 +2340,7 @@ gboolean gsb_data_account_reorder ( GSList *new_order )
 
     while ( new_order )
     {
-	new_list_accounts = g_slist_append ( new_list_accounts, 
+	new_list_accounts = g_slist_append ( new_list_accounts,
 					     gsb_data_account_get_structure ( GPOINTER_TO_INT (new_order -> data )));
 	new_order = new_order -> next;
     }
@@ -2528,9 +2528,9 @@ gboolean gsb_data_form_dup_sort_values ( gint origin_account,
 
 /**
  * get the icon_path of the account
- * 
+ *
  * \param account_number no of the account
- * 
+ *
  * \return icon_path or NULL if the account doesn't exist
  * */
 gchar *gsb_data_account_get_name_icon (gint account_number)
@@ -2549,10 +2549,10 @@ gchar *gsb_data_account_get_name_icon (gint account_number)
 /**
  * set the icon_path of the account
  * the address is copied in memory
- * 
+ *
  * \param account_number no of the account
  * \param filename name of file to set
- * 
+ *
  * \return TRUE, ok ; FALSE, problem
  * */
 gboolean gsb_data_account_set_name_icon ( gint account_number,
@@ -2583,10 +2583,10 @@ gboolean gsb_data_account_set_name_icon ( gint account_number,
 
 /**
  * get the image icon of the account
- * 
+ *
  * \param account_number no of the account
- * 
- * \return image icon 
+ *
+ * \return image icon
  * */
 GtkWidget *gsb_data_account_get_account_icon_image ( gint account_number )
 {
@@ -2601,10 +2601,10 @@ GtkWidget *gsb_data_account_get_account_icon_image ( gint account_number )
 
 /**
  * get the pixbuf icon of the account
- * 
+ *
  * \param account_number no of the account
- * 
- * \return pixbuf icon 
+ *
+ * \return pixbuf icon
  * */
 GdkPixbuf *gsb_data_account_get_account_icon_pixbuf ( gint account_number )
 {
@@ -2652,10 +2652,10 @@ gboolean gsb_data_account_set_account_icon_pixbuf ( gint account_number,
 
 /**
  * get the default pixbuf icon for the kind_account
- * 
+ *
  * \param kind_account
- * 
- * \return pixbuf icon 
+ *
+ * \return pixbuf icon
  * */
 
 GdkPixbuf *gsb_data_account_get_account_standard_pixbuf ( kind_account account_kind )
@@ -2681,10 +2681,10 @@ GdkPixbuf *gsb_data_account_get_account_standard_pixbuf ( kind_account account_k
 
 /**
  * get the filename of the default pixbuf icon for the kind_account
- * 
+ *
  * \param kind_account
- * 
- * \return filename 
+ *
+ * \return filename
  * */
 
 gchar *gsb_data_account_get_account_standard_pixbuf_filename ( kind_account account_kind )
@@ -2801,7 +2801,7 @@ gboolean gsb_data_account_set_bank_account_iban ( gint account_number, const gch
 
     if ( !account )
         return FALSE;
-    
+
     g_free ( account -> bank_account_iban );
 
     if (!iban || !strlen (iban))
@@ -2908,14 +2908,14 @@ gsb_real gsb_data_account_calculate_current_day_balance ( gint account_number,
         tmp_list = tmp_list -> next;
     }
 
-    g_date_free ( date_jour ); 
+    g_date_free ( date_jour );
 
     return gsb_real_add ( current_balance, current_balance_later );
 }
 
 
 /**
- * 
+ *
  *
  *
  * */
@@ -2945,7 +2945,7 @@ GDate *gsb_da alance, current_balance_later );  y_balance ( gint account_number,    x, gpointer data)  unc")  -     f(f,"\"\"%c",g_csv_field_separator); }                       ’¸‚„¨+  ÑG_ÿ  €Ð¤„¨+          €ÆG_ÿ         PÅG_ÿ  kÀeƒ¨+  6                    è     è!     è!      ÑG_ÿ  ÑG_ÿ  xt‚„¨+          €ÇG_ÿ          ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ  `¢eƒ¨+  _ÑG_ÿ         Ào愨+  uªeƒ¨+   `愨+  Ød愨+  ¨i愨+  €Êfƒ¨+          xt‚„¨+          €ÇG_ÿ          PÆG_ÿ  kÀeƒ¨+  à!     à!      ÑG_ÿ  ÑG_ÿ  H>b„¨+          `ÈG_ÿ         ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ  `¢eƒ¨+  _ÑG_ÿ  PÑG_ÿ  HÑG_ÿ  8ˆƒ¨+  Œp˜        ÑG_ÿ  uªeƒ¨+  €Êfƒ¨+                  `ÈG_ÿ         0ÇG_ÿ  kÀeƒ¨+          G       H   I       J   K           M   N   O       P    ÑG_ÿ  ÑG_ÿ  Hõ8„¨+           ÊG_ÿ         ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ         0o愨+  uªeƒ¨+   €‚„¨+   )„¨+   `愨+  Ød愨+  ¨i愨+  €Êfƒ¨+          Hõ8„¨+           ÊG_ÿ        
  @ÈG_ÿ  kÀeƒ¨+  8õ8„¨+           ÊG_ÿ         pÈG_ÿ  kÀeƒ¨+  (õ8„¨+           ÊG_ÿ          ÈG_ÿ  kÀeƒ¨+  õ8„¨+           ÊG_ÿ         ÐÈG_ÿ  kÀeƒ¨+  	       ¨n愨+  uªeƒ¨+         ¨i愨+  PÃG_ÿ          Šx„¨+  e©eƒ¨+         Ød愨+  pÉG_ÿ          yx„¨+  e©eƒ¨+          `愨+   ÉG_ÿ          Zx„¨+  e©eƒ¨+  Ø$„¨+   €‚„¨+   )„¨+   `愨+  ؄‚„¨+  Ød愨+  ¨i愨+  €Êfƒ¨+          8ˆƒ¨+                        íშ+  ÑG_ÿ  p»„¨+          PËG_ÿ           ÊG_ÿ  kÀeƒ¨+      5   6   7   8   :   <   =   >       ?       @   B   D        ÑG_ÿ  ÑG_ÿ  àíރ¨+                 ÑG_ÿ  uªeƒ¨+         ņƒ¨+  ÐÉG_ÿ          íშ+  e©eƒ¨+  ņƒ¨+          Õ_ at fÆS         Qöl±íÁ®ƒ¨+  ÑG_ÿ  àíރ¨+          `ÌG_ÿ         0ËG_ÿ  kÀeƒ¨+  u]ÞÓ	4Q ÷U^Qʉ§ ¶uª¹ñìò*ēv ÑG_ÿ  ÑG_ÿ  H>«ƒ¨+          „烨+          ÐÒG_ÿ  ¦I…¨+  ¦I…¨+         Ö䃨+  _ÑG_ÿ  ÒG_ÿ  HÑG_ÿ  °ÍG_ÿ  ‚„¨+  uªeƒ¨+  ؄‚„¨+  ÔG_ÿ  ¢I…¨+  àÒG_ÿ          pÎG_ÿ             
     ÿÿÿÿÿÿÿÿ¢I…¨+          ˜ÑG_ÿ                 ta_account_get_bet_start_date ( gint account_number )
 
 
 /**
- * 
+ *
  *
  *
  * */
@@ -2977,7 +2977,7 @@ gboolean gsb_data_account_set_bet_start_date ( gint account_number, const GDate
 
 
 /**
- * 
+ *
  *
  *
  * */
@@ -2995,7 +2995,7 @@ gint gsb_data_account_get_bet_spin_range ( gint account_number )
 
 
 /**
- * 
+ *
  *
  *
  * */
@@ -3015,7 +3015,7 @@ gboolean gsb_data_account_set_bet_spin_range ( gint account_number, gint spin_ra
 
 
 /**
- * 
+ *
  *
  *
  * */
@@ -3036,7 +3036,7 @@ gint gsb_data_account_get_bet_months ( gint account_number )
 
 
 /**
- * 
+ *
  *
  *
  * */
@@ -3074,7 +3074,7 @@ gint gsb_data_account_get_bet_hist_data ( gint account_number )
 
 
 /**
- * 
+ *
  *
  *
  * */
@@ -3094,7 +3094,7 @@ gboolean gsb_data_account_set_bet_hist_data ( gint account_number, gint hist_dat
 
 
 /**
- * 
+ *
  *
  *
  * */
@@ -3112,7 +3112,7 @@ gint gsb_data_account_get_bet_hist_fyear ( gint account_number )
 
 
 /**
- * 
+ *
  *
  *
  * */
@@ -3132,7 +3132,7 @@ gboolean gsb_data_account_set_bet_hist_fyear ( gint account_number, gint hist_fy
 
 
 /**
- * 
+ *
  *
  *
  * */
@@ -3150,7 +3150,7 @@ gboolean gsb_data_account_get_bet_auto_inc_month ( gint account_number )
 
 
 /**
- * 
+ *
  *
  *
  * */
@@ -3171,7 +3171,7 @@ gboolean gsb_data_account_set_bet_auto_inc_month ( gint account_number,
 
 
 /**
- * 
+ *
  *
  *
  * */
@@ -3202,7 +3202,7 @@ gint gsb_data_account_get_bet_select_label ( gint account_number, gint origine )
 
 
 /**
- * 
+ *
  *
  *
  * */
@@ -3235,7 +3235,7 @@ gboolean gsb_data_account_set_bet_select_label ( gint account_number,
 
 
 /**
- * 
+ *
  *
  *
  * */
@@ -3267,7 +3267,7 @@ gboolean gsb_data_account_bet_update_initial_date_if_necessary ( gint account_nu
 
 
 /**
- * retourne le bit utilisation du module budget. 
+ * retourne le bit utilisation du module budget.
  *
  *  -1 pas de module possible 0 non utilisé 1 utilisé
  * */
@@ -3484,7 +3484,7 @@ gboolean gsb_data_account_set_bet_finance_frais ( gint account_number, gdouble f
 
 
 /**
- * 
+ *
  *
  *
  * */
@@ -3502,7 +3502,7 @@ gint gsb_data_account_get_bet_finance_type_taux ( gint account_number )
 
 
 /**
- * 
+ *
  *
  *
  * */
@@ -3523,9 +3523,9 @@ gboolean gsb_data_account_set_bet_finance_type_taux ( gint account_number, gint
 
 /**
  * get floating_point of the currency on the account given
- * 
+ *
  * \param account_number no of the account
- * 
+ *
  * \return floating_point or 0 if the account or the currency doesn't exist
  * */
 gint gsb_data_account_get_currency_floating_point ( gint account_number )
diff --git a/src/gsb_data_archive.c b/src/gsb_data_archive.c
index d91c6f6..abbc850 100644
--- a/src/gsb_data_archive.c
+++ b/src/gsb_data_archive.c
@@ -43,8 +43,8 @@
 
 
 /**
- * \struct 
- * Describe a archive 
+ * \struct
+ * Describe a archive
  */
 typedef struct
 {
@@ -99,7 +99,7 @@ gboolean gsb_data_archive_init_variables ( void )
 	    struct_archive *archive;
 	    archive = tmp_list -> data;
 	    tmp_list = tmp_list -> next;
-            _gsb_data_archive_free ( archive ); 
+            _gsb_data_archive_free ( archive );
 	}
         g_slist_free ( archive_list );
     }
@@ -186,9 +186,9 @@ gint gsb_data_archive_get_no_archive ( gpointer archive_ptr )
 
 /**
  * find and return the last number of archive
- * 
+ *
  * \param none
- * 
+ *
  * \return last number of archive
  * */
 gint gsb_data_archive_max_number ( void )
@@ -235,7 +235,7 @@ gint gsb_data_archive_new ( const gchar *name )
 
     if (name)
     archive -> archive_name = my_strdup (name);
-    else 
+    else
     archive -> archive_name = NULL;
 
     archive_list = g_slist_append ( archive_list, archive );
diff --git a/src/gsb_data_archive_store.c b/src/gsb_data_archive_store.c
index 374ad86..83b1488 100644
--- a/src/gsb_data_archive_store.c
+++ b/src/gsb_data_archive_store.c
@@ -182,7 +182,7 @@ void gsb_data_archive_store_create_list ( void )
         }
         else
         {
-            /* there is no struct_store_archive for that transaction, we make a new one 
+            /* there is no struct_store_archive for that transaction, we make a new one
              * with the balance of the transaction as balance */
             gint archive_store_number;
 
@@ -387,9 +387,9 @@ gpointer gsb_data_archive_store_get_structure ( gint archive_store_number )
 
 /**
  * find and return the last number of archive
- * 
+ *
  * \param none
- * 
+ *
  * \return last number of archive
  * */
 static gint gsb_data_archive_store_max_number ( void )
diff --git a/src/gsb_data_bank.c b/src/gsb_data_bank.c
index d19457d..f3bd8d6 100644
--- a/src/gsb_data_bank.c
+++ b/src/gsb_data_bank.c
@@ -39,7 +39,7 @@
 /*END_INCLUDE*/
 
 
-/* these two macros are here to reduce 
+/* these two macros are here to reduce
  * amount of code for setters and getters */
 #define BANK_GET_OR_RETURN(bank, number, ret) \
     bank = gsb_data_bank_get_structure ( number ); \
@@ -51,8 +51,8 @@
 
 
 /**
- * \struct 
- * Describe a bank 
+ * \struct
+ * Describe a bank
  */
 typedef struct
 {
@@ -192,9 +192,9 @@ GSList *gsb_data_bank_get_bank_list ( void )
 
 /**
  * find and return the last number of bank
- * 
+ *
  * \param none
- * 
+ *
  * \return last number of bank
  * */
 gint gsb_data_bank_max_number ( void )
@@ -328,7 +328,7 @@ gint gsb_data_bank_set_new_number ( gint bank_number,
 /**
  * Setters and getters are defined just after.
  *
- * Each setter takes a string as parameter. So the field of the structure is 
+ * Each setter takes a string as parameter. So the field of the structure is
  * first freed and the value is duplicated. It is freed when the bank is
  * destroyed (by _gsb_data_bank_free).
  * Setters return TRUE on success, FALSE otherwise
diff --git a/src/gsb_data_budget.c b/src/gsb_data_budget.c
index b4d0dc1..7d89206 100644
--- a/src/gsb_data_budget.c
+++ b/src/gsb_data_budget.c
@@ -50,7 +50,7 @@
 
 
 /**
- * \struct 
+ * \struct
  * Describe a budget
  */
 typedef struct
@@ -71,7 +71,7 @@ typedef struct
 
 
 /**
- * \struct 
+ * \struct
  * Describe a sub-budget
  */
 typedef struct
@@ -435,8 +435,8 @@ gint gsb_data_budget_max_number ( void )
 /**
  * find and return the last number of the sub-budgets
  *
- * \param 
- * 
+ * \param
+ *
  * \return last number of the sub-budgets
  * */
 gint gsb_data_budget_max_sub_budget_number ( gint budget_number )
@@ -494,7 +494,7 @@ gint gsb_data_budget_new ( const gchar *name )
 /**
  * create a new budget with a number, append it to the list
  * and return the number
- * 
+ *
  *
  * \param number the number we want to give to that budget
  * \param import_list a g_slist with the imported budgets if we are importing them,
@@ -863,7 +863,7 @@ gboolean gsb_data_budget_set_name ( gint no_budget,
  * \param no_sub_budget the number of the sub-budget
  * \param return_value_error if problem, return that value
  *
- * \return a newly allocated string with the name of the budget 
+ * \return a newly allocated string with the name of the budget
  * 		or return_value_error to be freed too
  * */
 gchar *gsb_data_budget_get_sub_budget_name ( gint no_budget,
@@ -1198,9 +1198,9 @@ gsb_real gsb_data_budget_get_direct_balance ( gint no_budget )
 /**
  * reset the counters of the budgets and sub-budgets
  *
- * \param 
+ * \param
  *
- * \return 
+ * \return
  * */
 void gsb_data_budget_reset_counters ( void )
 {
@@ -1298,7 +1298,7 @@ void gsb_data_budget_add_transaction_to_budget ( gint transaction_number,
     {
 	gchar *tmpstr;
 	tmpstr = g_strdup_printf ( _("The transaction %d has a budget n°%d and sub-budget n°%d but they don't exist."),
-				   transaction_number, 
+				   transaction_number,
 				   budget_id,
 				   sub_budget_id );
 	warning_debug (tmpstr);
@@ -1395,7 +1395,7 @@ void gsb_data_budget_remove_transaction_from_budget ( gint transaction_number )
  * Find if two sub budgets are the same
  *
  * \param a		First sub-budget to compare.
- * \param b		Second sub-budget to compare.	
+ * \param b		Second sub-budget to compare.
  *
  * \return		Same as a <=> b.
  */
@@ -1412,7 +1412,7 @@ gint gsb_data_sub_budget_compare ( struct_sub_budget * a, struct_sub_budget * b
 
 /**
  * \brief Debug check to verify if some sub budgets are doubled.
- * 
+ *
  * This is a bug caused in old version of Grisbi and this check has to
  * be there since we need to access to the structures directly without
  * resorting to numeric ids.
@@ -1442,7 +1442,7 @@ gchar * gsb_debug_duplicate_budget_check ()
 	    if ( duplicate && duplicate > tmp_sous_budget )
 	    {
 	        gchar* tmpstr1 = output;
-		gchar* tmpstr2 = g_strdup_printf ( 
+		gchar* tmpstr2 = g_strdup_printf (
 		                        _("In <i>%s</i>, <i>%s</i> is a duplicate of <i>%s</i>.\n"),
 					budget -> budget_name,
 					((struct_sub_budget *) tmp_sous_budget -> data) -> sub_budget_name,
@@ -1456,7 +1456,7 @@ gchar * gsb_debug_duplicate_budget_check ()
 	    }
 	    tmp_sous_budget = tmp_sous_budget -> next;
 	}
-	
+
 	tmp = tmp -> next;
     }
 
@@ -1465,14 +1465,14 @@ gchar * gsb_debug_duplicate_budget_check ()
 	output [ strlen ( output ) - 1 ] = '\0';
 	return output;
     }
-    
+
     return NULL;
 }
 
 
 
 /**
- * Fix any duplicate in sub budgets.  
+ * Fix any duplicate in sub budgets.
  *
  * \return	TRUE on success.  FALSE otherwise.
  */
@@ -1500,7 +1500,7 @@ gboolean gsb_debug_duplicate_budget_fix ()
 	    }
 	    tmp_sous_budget = tmp_sous_budget -> next;
 	}
-	
+
 	tmp = tmp -> next;
     }
 
diff --git a/src/gsb_data_category.c b/src/gsb_data_category.c
index 5defdae..bd49810 100644
--- a/src/gsb_data_category.c
+++ b/src/gsb_data_category.c
@@ -49,7 +49,7 @@
 /*END_INCLUDE*/
 
 /**
- * \struct 
+ * \struct
  * Describe a category
  */
 typedef struct
@@ -70,7 +70,7 @@ typedef struct
 
 
 /**
- * \struct 
+ * \struct
  * Describe a sub-category
  */
 typedef struct
@@ -394,8 +394,8 @@ gint gsb_data_category_max_number ( void )
 /**
  * find and return the last number of the sub-categories
  *
- * \param 
- * 
+ * \param
+ *
  * \return last number of the sub-categories
  * */
 gint gsb_data_category_max_sub_category_number ( gint category_number )
@@ -453,7 +453,7 @@ gint gsb_data_category_new ( const gchar *name )
 /**
  * create a new category with a number, append it to the list
  * and return the number
- * 
+ *
  *
  * \param number the number we want to give to that category
  *
@@ -524,7 +524,7 @@ void _gsb_data_category_free ( struct_category *category )
     }
     if ( category -> category_name )
         g_free ( category -> category_name );
-    g_free ( category ); 
+    g_free ( category );
     if ( category_buffer == category )
 	category_buffer = NULL;
 }
@@ -886,7 +886,7 @@ gboolean gsb_data_category_set_name ( gint no_category,
                         const gchar *name )
 {
     struct_category *category;
-    
+
     category = gsb_data_category_get_structure ( no_category );
 
     if ( !category )
@@ -970,7 +970,7 @@ gboolean gsb_data_category_set_sub_category_name ( gint no_category,
     if ( name )
     {
         GtkWidget *combofix;
-        
+
         sub_category -> sub_category_name = my_strdup ( name );
         combofix = gsb_form_widget_get_widget ( TRANSACTION_FORM_PARTY );
         if ( combofix )
@@ -1298,9 +1298,9 @@ gsb_real gsb_data_category_get_direct_balance ( gint no_category )
 /**
  * reset the counters of the categories and sub-categories
  *
- * \param 
+ * \param
  *
- * \return 
+ * \return
  * */
 void gsb_data_category_reset_counters ( void )
 {
@@ -1324,7 +1324,7 @@ void gsb_data_category_reset_counters ( void )
 	while ( sub_list_tmp )
 	{
 	    struct_sub_category *sub_category;
-	    
+
 	    sub_category = sub_list_tmp -> data;
 
 	    sub_category -> sub_category_nb_transactions = 0;
@@ -1334,7 +1334,7 @@ void gsb_data_category_reset_counters ( void )
 	}
 	list_tmp = list_tmp -> next;
     }
-    
+
     /* reset the empty category */
     empty_category -> category_balance = null_real;
     empty_category -> category_nb_transactions = 0;
@@ -1411,7 +1411,7 @@ void gsb_data_category_add_transaction_to_category ( gint transaction_number,
     {
 	gchar *tmpstr;
 	tmpstr = g_strdup_printf ( _("The transaction %d has a category n°%d and sub-category n°%d but they don't exist."),
-				   transaction_number, 
+				   transaction_number,
 				   category_id,
 				   sub_category_id );
 	warning_debug (tmpstr);
@@ -1508,7 +1508,7 @@ void gsb_data_category_remove_transaction_from_category ( gint transaction_numbe
  * Find if two sub categories are the same
  *
  * \param a		First sub-category to compare.
- * \param b		Second sub-category to compare.	
+ * \param b		Second sub-category to compare.
  *
  * \return		Same as a <=> b.
  */
@@ -1525,7 +1525,7 @@ gint gsb_data_sub_category_compare ( struct_sub_category * a, struct_sub_categor
 
 /**
  * \brief Debug check to verify if some sub categories are doubled.
- * 
+ *
  * This is a bug caused in old version of Grisbi and this check has to
  * be there since we need to access to the structures directly without
  * resorting to numeric ids.
@@ -1555,7 +1555,7 @@ gchar * gsb_debug_duplicate_categ_check ()
 	    if ( duplicate && duplicate > tmp_sous_categ )
 	    {
 	        gchar* tmpstr1 = output;
-		gchar* tmpstr2 = g_strdup_printf ( 
+		gchar* tmpstr2 = g_strdup_printf (
 				_("In <i>%s</i>, <i>%s</i> is a duplicate of <i>%s</i>.\n"),
 				categ -> category_name,
 				((struct_sub_category *) tmp_sous_categ -> data) -> sub_category_name,
@@ -1569,7 +1569,7 @@ gchar * gsb_debug_duplicate_categ_check ()
 	    }
 	    tmp_sous_categ = tmp_sous_categ -> next;
 	}
-	
+
 	tmp = tmp -> next;
     }
 
@@ -1578,14 +1578,14 @@ gchar * gsb_debug_duplicate_categ_check ()
 	output [ strlen ( output ) - 1 ] = '\0';
 	return output;
     }
-    
+
     return NULL;
 }
 
 
 
 /**
- * Fix any duplicate in sub categories.  
+ * Fix any duplicate in sub categories.
  *
  * \return	TRUE on success.  FALSE otherwise.
  */
@@ -1613,7 +1613,7 @@ gboolean gsb_debug_duplicate_categ_fix ()
 	    }
 	    tmp_sous_categ = tmp_sous_categ -> next;
 	}
-	
+
 	tmp = tmp -> next;
     }
 
@@ -1622,10 +1622,10 @@ gboolean gsb_debug_duplicate_categ_fix ()
 
 
 /**
- * 
- * 
  *
- * \param 
+ *
+ *
+ * \param
  *
  * \return
  * */
diff --git a/src/gsb_data_currency.c b/src/gsb_data_currency.c
index bf2336e..74a73a2 100644
--- a/src/gsb_data_currency.c
+++ b/src/gsb_data_currency.c
@@ -40,8 +40,8 @@
 
 
 /**
- * \struct 
- * Describe a currency 
+ * \struct
+ * Describe a currency
  */
 typedef struct
 {
@@ -174,9 +174,9 @@ GSList *gsb_data_currency_get_currency_list ( void )
 
 /**
  * find and return the last number of currency
- * 
+ *
  * \param none
- * 
+ *
  * \return last number of currency
  * */
 gint gsb_data_currency_max_number ( void )
@@ -219,7 +219,7 @@ gint gsb_data_currency_new ( const gchar *name )
 
     if (name)
 	currency -> currency_name = my_strdup (name);
-    else 
+    else
 	currency -> currency_name = NULL;
 
     currency_list = g_slist_append ( currency_list, currency );
diff --git a/src/gsb_data_currency_link.c b/src/gsb_data_currency_link.c
index 8b8afc9..734309a 100644
--- a/src/gsb_data_currency_link.c
+++ b/src/gsb_data_currency_link.c
@@ -42,8 +42,8 @@
 
 
 /**
- * \struct 
- * Describe a currency_link 
+ * \struct
+ * Describe a currency_link
  */
 typedef struct
 {
@@ -183,9 +183,9 @@ GSList *gsb_data_currency_link_get_currency_link_list ( void )
 
 /**
  * find and return the last number of currency_link
- * 
+ *
  * \param none
- * 
+ *
  * \return last number of currency_link
  * */
 gint gsb_data_currency_link_max_number ( void )
@@ -448,7 +448,7 @@ gboolean gsb_data_currency_link_set_change_rate ( gint currency_link_number,
  *
  * \param currency_link_number the number of the currency_link
  *
- * \return TRUE if the link is invalid 
+ * \return TRUE if the link is invalid
  * */
 gint gsb_data_currency_link_get_invalid_link ( gint currency_link_number )
 {
@@ -469,7 +469,7 @@ gint gsb_data_currency_link_get_invalid_link ( gint currency_link_number )
  *
  * \param currency_link_number the number of the currency_link
  *
- * \return a const gchar formatted with markup : error the message 
+ * \return a const gchar formatted with markup : error the message
  * */
 const gchar *gsb_data_currency_link_get_invalid_message ( gint currency_link_number )
 {
@@ -600,10 +600,10 @@ gint gsb_data_currency_link_search ( gint currency_1,
 
 
 /**
- * get the GDate of the currency link 
- * 
+ * get the GDate of the currency link
+ *
  * \param currency_link_number
- * 
+ *
  * \return the GDate of the currency link
  * */
 GDate *gsb_data_currency_link_get_modified_date ( gint currency_link_number )
@@ -621,10 +621,10 @@ GDate *gsb_data_currency_link_get_modified_date ( gint currency_link_number )
 
 /**
  * set the GDate of the currency link
- * 
+ *
  * \param currency_link_number
  * \param date
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_currency_link_set_modified_date ( gint currency_link_number,
@@ -654,7 +654,7 @@ gboolean gsb_data_currency_link_set_modified_date ( gint currency_link_number,
  *
  * \param currency_link_number the number of the currency_link
  *
- * \return TRUE if ok or FALSE if no ok 
+ * \return TRUE if ok or FALSE if no ok
  * */
 gboolean gsb_data_currency_link_get_fixed_link ( gint currency_link_number )
 {
diff --git a/src/gsb_data_form.c b/src/gsb_data_form.c
index 0da8dc7..d5ec64e 100644
--- a/src/gsb_data_form.c
+++ b/src/gsb_data_form.c
@@ -82,7 +82,7 @@ typedef struct
     /*  18: TRANSACTION_FORM_OP_NB */
     /*  19: TRANSACTION_FORM_MODE */
     /*  20: TRANSACTION_FORM_WIDGET_NB */
-	
+
     gint form_table[MAX_HEIGHT][MAX_WIDTH];
 
     /* percentage of each columns */
@@ -94,9 +94,9 @@ typedef struct
  * create a new form organization
  * and append it to the account
  * the form struct is set to 0 and has to be filled
- * 
+ *
  * \param account_number
- * 
+ *
  * \return FALSE
  * */
 gboolean gsb_data_form_new_organization ( gint account_number )
@@ -104,7 +104,7 @@ gboolean gsb_data_form_new_organization ( gint account_number )
     form_organization *new_form;
 
     new_form = g_malloc0 (sizeof (form_organization));
-    
+
     if ( !new_form )
     {
 	dialogue_error_memory ();
@@ -120,15 +120,15 @@ gboolean gsb_data_form_new_organization ( gint account_number )
 /**
  * create a default new form organization
  * and append it to the account
- * 
+ *
  * \param account_number
- * 
+ *
  * \return FALSE
  * */
 gboolean gsb_data_form_set_default_organization ( gint account_number )
 {
     form_organization *form;
-    gint tab[MAX_HEIGHT][MAX_WIDTH] = { 
+    gint tab[MAX_HEIGHT][MAX_WIDTH] = {
 	{ TRANSACTION_FORM_DATE, TRANSACTION_FORM_PARTY, TRANSACTION_FORM_DEBIT, TRANSACTION_FORM_CREDIT, 0, 0 },
 	{ 0, TRANSACTION_FORM_CATEGORY, TRANSACTION_FORM_TYPE, TRANSACTION_FORM_CHEQUE, 0, 0 },
 	{ 0, TRANSACTION_FORM_NOTES, TRANSACTION_FORM_CONTRA, 0, 0, 0 },
@@ -138,7 +138,7 @@ gboolean gsb_data_form_set_default_organization ( gint account_number )
     gint i, j;
 
     form = gsb_data_account_get_form_organization ( account_number );
-    
+
     if ( !form )
 	return FALSE;
 
@@ -159,10 +159,10 @@ gboolean gsb_data_form_set_default_organization ( gint account_number )
 
 /**
  * duplicate the form organization of the account in the param
- * 
+ *
  * \param origin_account
  * \param target_account
- * 
+ *
  * \return TRUE, FALSE if problem
  * */
 gboolean gsb_data_form_dup_organization ( gint origin_account,
@@ -183,14 +183,14 @@ gboolean gsb_data_form_dup_organization ( gint origin_account,
 	dialogue_error_memory ();
 	return FALSE;
     }
-   
+
     memcpy ( new_form,
 	     origin_form,
 	     sizeof (form_organization));
 
     gsb_data_account_set_form_organization ( target_account,
 					     new_form );
- 
+
     return TRUE;
 }
 
@@ -207,7 +207,7 @@ gint gsb_data_form_get_nb_columns ( gint account_number )
     form_organization *form;
 
     form = gsb_data_account_get_form_organization ( account_number );
-    
+
     if ( !form )
 	return FALSE;
 
@@ -231,7 +231,7 @@ gboolean gsb_data_form_set_nb_columns ( gint account_number,
     form_organization *form;
 
     form = gsb_data_account_get_form_organization ( account_number );
-    
+
     if ( !form )
 	return FALSE;
 
@@ -252,7 +252,7 @@ gint gsb_data_form_get_nb_rows ( gint account_number )
     form_organization *form;
 
     form = gsb_data_account_get_form_organization ( account_number );
-    
+
     if ( !form )
 	return FALSE;
 
@@ -274,7 +274,7 @@ gboolean gsb_data_form_set_nb_rows ( gint account_number,
     form_organization *form;
 
     form = gsb_data_account_get_form_organization ( account_number );
-    
+
     if ( !form )
 	return FALSE;
 
@@ -299,7 +299,7 @@ gint gsb_data_form_get_value ( gint account_number,
     form_organization *form;
 
     form = gsb_data_account_get_form_organization ( account_number );
-    
+
     if ( !form
 	 ||
 	 column > MAX_WIDTH
@@ -330,7 +330,7 @@ gboolean gsb_data_form_set_value ( gint account_number,
     form_organization *form;
 
     form = gsb_data_account_get_form_organization ( account_number );
-    
+
     if ( !form
 	 ||
 	 column > MAX_WIDTH
@@ -357,7 +357,7 @@ gint gsb_data_form_get_width_column ( gint account_number,
     form_organization *form;
 
     form = gsb_data_account_get_form_organization ( account_number );
-    
+
     if ( !form
 	 ||
 	 column > MAX_WIDTH )
@@ -384,7 +384,7 @@ gboolean gsb_data_form_set_width_column ( gint account_number,
     form_organization *form;
 
     form = gsb_data_account_get_form_organization ( account_number );
-    
+
     if ( !form
 	 ||
 	 column > MAX_WIDTH)
@@ -416,7 +416,7 @@ gboolean gsb_data_form_look_for_value ( gint account_number,
     gint row, column;
 
     form = gsb_data_account_get_form_organization ( account_number );
-    
+
     if ( !form )
 	return FALSE;
 
@@ -462,7 +462,7 @@ gint gsb_data_form_get_values_total ( gint account_number )
     gint values = 0;
 
     form = gsb_data_account_get_form_organization ( account_number );
-    
+
     if ( !form )
 	return -1;
 
diff --git a/src/gsb_data_fyear.c b/src/gsb_data_fyear.c
index 6cb6e4a..6df54aa 100644
--- a/src/gsb_data_fyear.c
+++ b/src/gsb_data_fyear.c
@@ -159,10 +159,10 @@ GSList *gsb_data_fyear_get_fyears_list ( void )
 gint gsb_data_fyear_get_no_fyear ( gpointer fyear_ptr )
 {
     struct_fyear *fyear;
-    
+
     if ( !fyear_ptr )
 	return 0;
-    
+
     fyear = fyear_ptr;
     fyear_buffer = fyear;
     return fyear -> fyear_number;
@@ -171,9 +171,9 @@ gint gsb_data_fyear_get_no_fyear ( gpointer fyear_ptr )
 
 /**
  * find and return the last number of fyear
- * 
+ *
  * \param none
- * 
+ *
  * \return last number of fyear
  * */
 gint gsb_data_fyear_max_number ( void )
@@ -182,7 +182,7 @@ gint gsb_data_fyear_max_number ( void )
     gint number_tmp = 0;
 
     tmp = fyear_list;
-    
+
     while ( tmp )
     {
 	struct_fyear *fyear;
@@ -215,7 +215,7 @@ gint gsb_data_fyear_new ( const gchar *name )
 
     if (name)
 	fyear -> fyear_name = my_strdup (name);
-    else 
+    else
 	fyear -> fyear_name = NULL;
 
     fyear_list = g_slist_append ( fyear_list, fyear );
@@ -259,10 +259,10 @@ gboolean gsb_data_fyear_remove ( gint fyear_number )
 
     if (!fyear)
 	return FALSE;
-    
+
     fyear_list = g_slist_remove ( fyear_list,
 				  fyear );
-    
+
     _gsb_data_fyear_free ( fyear );
 
     return TRUE;
@@ -336,7 +336,7 @@ gboolean gsb_data_fyear_set_name ( gint fyear_number,
     /* we free the last name */
     if ( fyear -> fyear_name )
 	g_free (fyear -> fyear_name);
-    
+
     /* and copy the new one */
     fyear -> fyear_name = my_strdup (name);
 
@@ -391,7 +391,7 @@ gboolean gsb_data_fyear_set_beginning_date ( gint fyear_number,
     /* we free the last date */
     if ( fyear -> beginning_date )
 	g_date_free (fyear -> beginning_date);
-    
+
     /* and copy the new one */
     fyear -> beginning_date = gsb_date_copy (date);
 
@@ -504,7 +504,7 @@ gboolean gsb_data_fyear_set_form_show ( gint fyear_number,
  *
  * \param fyear_number the number of the fyear
  *
- * \return TRUE if the fyear is invalid 
+ * \return TRUE if the fyear is invalid
  * */
 gint gsb_data_fyear_get_invalid ( gint fyear_number )
 {
@@ -570,7 +570,7 @@ void gsb_data_fyear_check_all_for_invalid ( void )
     {
 	fyear_buffer = tmp_list -> data;
 	gsb_data_fyear_check_for_invalid ( fyear_buffer -> fyear_number);
-	
+
 	tmp_list = tmp_list -> next;
     }
 }
diff --git a/src/gsb_data_fyear.h b/src/gsb_data_fyear.h
index 701f232..41147be 100644
--- a/src/gsb_data_fyear.h
+++ b/src/gsb_data_fyear.h
@@ -4,8 +4,8 @@
 #include <glib.h>
 
 /**
- * \struct 
- * Describe a fyear 
+ * \struct
+ * Describe a fyear
  */
 typedef struct
 {
diff --git a/src/gsb_data_import_rule.c b/src/gsb_data_import_rule.c
index 02fe5f5..797e312 100644
--- a/src/gsb_data_import_rule.c
+++ b/src/gsb_data_import_rule.c
@@ -56,7 +56,7 @@ typedef struct
 
     /* charmap du fichier importé   */
     gchar *charmap;
-    
+
     /* last file imported with a rule */
     gchar *last_file_name;
 
@@ -99,7 +99,7 @@ gboolean gsb_data_import_rule_init_variables ( void )
 	    struct_import_rule *import_rule;
 	    import_rule = tmp_list -> data;
 	    tmp_list = tmp_list -> next;
-	    _gsb_data_import_rule_free ( import_rule ); 
+	    _gsb_data_import_rule_free ( import_rule );
 	}
 	g_slist_free ( import_rule_list );
     }
@@ -185,9 +185,9 @@ gint gsb_data_import_rule_get_number ( gpointer rule_ptr )
 
 /**
  * find and return the last number of import_rule
- * 
+ *
  * \param none
- * 
+ *
  * \return last number of import_rule
  * */
 gint gsb_data_import_rule_max_number ( void )
@@ -234,7 +234,7 @@ gint gsb_data_import_rule_new ( const gchar *name )
 
     if (name)
 	import_rule -> rule_name = my_strdup (name);
-    else 
+    else
 	import_rule -> rule_name = NULL;
 
     import_rule_list = g_slist_append ( import_rule_list, import_rule );
@@ -278,7 +278,7 @@ gboolean gsb_data_import_rule_remove ( gint import_rule_number )
 
     if (!import_rule)
 	    return FALSE;
-    
+
     /* remove the import_rule from the list */
     import_rule_list = g_slist_remove ( import_rule_list,
 					import_rule );
@@ -478,7 +478,7 @@ gboolean gsb_data_import_rule_get_invert ( gint import_rule_number )
  * set the invert number of the import_rule
  *
  * \param import_rule_number 	the number of the import_rule
- * \param invert		TRUE to invert the amount of transactions 
+ * \param invert		TRUE to invert the amount of transactions
  *
  * \return TRUE if ok or FALSE if problem
  * */
diff --git a/src/gsb_data_partial_balance.c b/src/gsb_data_partial_balance.c
index 314aea3..86048b9 100644
--- a/src/gsb_data_partial_balance.c
+++ b/src/gsb_data_partial_balance.c
@@ -125,7 +125,7 @@ gint gsb_partial_balance_new ( const gchar *name )
 
     if ( name )
         partial_balance -> balance_name = my_strdup ( name );
-    else 
+    else
         partial_balance -> balance_name = NULL;
 
     partial_balance_list = g_slist_append ( partial_balance_list, partial_balance );
@@ -158,7 +158,7 @@ gint gsb_partial_balance_new_at_position ( const gchar *name, gint pos )
 
     if ( name )
         partial_balance -> balance_name = my_strdup ( name );
-    else 
+    else
         partial_balance -> balance_name = NULL;
 
     partial_balance_list = g_slist_insert ( partial_balance_list, partial_balance, pos - 1 );
@@ -170,10 +170,10 @@ gint gsb_partial_balance_new_at_position ( const gchar *name, gint pos )
 }
 
 
-/** 
+/**
  *
- * \param 
- * \param 
+ * \param
+ * \param
  *
  * */
 GtkListStore *gsb_partial_balance_create_model ( void )
@@ -186,10 +186,10 @@ GtkListStore *gsb_partial_balance_create_model ( void )
 }
 
 
-/** 
+/**
  *
- * \param 
- * \param 
+ * \param
+ * \param
  *
  * */
 void gsb_partial_balance_fill_model ( GtkListStore *list_store )
@@ -285,8 +285,8 @@ dialog_return:
         name = gtk_entry_get_text ( GTK_ENTRY ( entry_name ) );
         liste_cptes = gtk_entry_get_text ( GTK_ENTRY ( entry_list ) );
 
-        if ( strlen ( name ) && strlen ( liste_cptes ) 
-         && 
+        if ( strlen ( name ) && strlen ( liste_cptes )
+         &&
          g_utf8_strchr  ( liste_cptes, -1, ';' ) )
         {
             position = gtk_spin_button_get_value_as_int ( GTK_SPIN_BUTTON ( spin_bouton ) );
@@ -401,7 +401,7 @@ dialog_return:
         name = gtk_entry_get_text ( GTK_ENTRY ( entry_name ) );
         liste_cptes = gtk_entry_get_text ( GTK_ENTRY ( entry_list ) );
 
-        if ( strlen ( name ) && strlen ( liste_cptes ) && 
+        if ( strlen ( name ) && strlen ( liste_cptes ) &&
          g_utf8_strchr  ( liste_cptes, -1, ';' ) )
         {
             gsb_data_partial_balance_set_name ( partial_balance_number, name );
@@ -633,7 +633,7 @@ gboolean gsb_partial_balance_button_press ( GtkWidget *tree_view,
 
 
 /**
- * 
+ *
  *
 **/
 void gsb_partial_balance_colorise_toggled ( GtkCellRendererToggle *cell,
@@ -654,9 +654,9 @@ void gsb_partial_balance_colorise_toggled ( GtkCellRendererToggle *cell,
     treepath = gtk_tree_path_new_from_string ( path_str );
     gtk_tree_model_get_iter ( GTK_TREE_MODEL (model), &iter, treepath );
 
-    gtk_tree_model_get ( GTK_TREE_MODEL ( model ), &iter, 
+    gtk_tree_model_get ( GTK_TREE_MODEL ( model ), &iter,
                         4, &partial_number,
-                        5, &toggle, 
+                        5, &toggle,
                         -1);
     toggle ^= 1;
     gtk_list_store_set (GTK_LIST_STORE ( model ), &iter, 5, toggle, -1);
@@ -691,7 +691,7 @@ gboolean gsb_data_partial_balance_init_variables ( void )
 
             partial_balance = tmp_list -> data;
             tmp_list = tmp_list -> next;
-            _gsb_data_partial_balance_free ( partial_balance ); 
+            _gsb_data_partial_balance_free ( partial_balance );
         }
         g_slist_free ( partial_balance_list );
     }
@@ -778,18 +778,18 @@ gint gsb_data_partial_balance_get_number ( gpointer balance_ptr )
 
 
 /**
- * This internal function is called to free the memory used by an 
+ * This internal function is called to free the memory used by an
  * struct_partial_balance structure
  */
 static void _gsb_data_partial_balance_free ( struct_partial_balance *partial_balance)
 {
     if ( ! partial_balance )
         return;
-    if ( partial_balance -> balance_name 
+    if ( partial_balance -> balance_name
      &&
      strlen ( partial_balance -> balance_name ) )
         g_free ( partial_balance -> balance_name );
-    if ( partial_balance -> liste_cptes 
+    if ( partial_balance -> liste_cptes
      &&
      strlen ( partial_balance -> liste_cptes ) )
         g_free ( partial_balance -> liste_cptes );
@@ -901,7 +901,7 @@ gboolean gsb_data_partial_balance_set_name ( gint partial_balance_number,
 }
 
 
-/** 
+/**
  * get the kind of the partial_balance
  * \param partial_balance_number no of the partial_balance
  *
@@ -920,7 +920,7 @@ kind_account gsb_data_partial_balance_get_kind ( gint partial_balance_number )
 }
 
 
-/** 
+/**
  * set the kind of the partial_balance
  * \param partial_balance_number no of the partial_balance
  * \param kind type to set
@@ -943,7 +943,7 @@ gboolean gsb_data_partial_balance_set_kind ( gint partial_balance_number,
 }
 
 
-/** 
+/**
  * get the currency of the partial_balance
  *
  * \param partial_balance_number no of the partial_balance
@@ -963,7 +963,7 @@ gint gsb_data_partial_balance_get_currency ( gint partial_balance_number )
 }
 
 
-/** 
+/**
  * set the currency of the partial_balance
  *
  * \param partial_balance_number no of the partial_balance
@@ -987,12 +987,12 @@ gboolean gsb_data_partial_balance_set_currency ( gint partial_balance_number,
 }
 
 
-/** 
- * 
+/**
+ *
  *
  * \param partial_balance_number no of the partial_balance
  *
- * \return 
+ * \return
  * */
 gboolean gsb_data_partial_balance_get_colorise ( gint partial_balance_number )
 {
@@ -1007,7 +1007,7 @@ gboolean gsb_data_partial_balance_get_colorise ( gint partial_balance_number )
 }
 
 
-/** 
+/**
  * \param partial_balance_number no of the partial_balance
  * \param colorise
  *
@@ -1030,7 +1030,7 @@ gboolean gsb_data_partial_balance_set_colorise ( gint partial_balance_number,
 
 
 /**
- * 
+ *
  *
  * */
 gchar *gsb_data_partial_balance_get_marked_balance ( gint partial_balance_number )
@@ -1075,7 +1075,7 @@ gchar *gsb_data_partial_balance_get_marked_balance ( gint partial_balance_number
                     tmp_real = gsb_real_div ( tmp_real,
                                 gsb_data_currency_link_get_change_rate ( link_number ) );
             }
-            
+
         }
         solde = gsb_real_add ( solde, tmp_real );
     }
@@ -1101,7 +1101,7 @@ gchar *gsb_data_partial_balance_get_marked_balance ( gint partial_balance_number
 
 
 /**
- * 
+ *
  *
  * */
 gsb_real gsb_data_partial_balance_get_current_amount ( gint partial_balance_number )
@@ -1155,7 +1155,7 @@ gsb_real gsb_data_partial_balance_get_current_amount ( gint partial_balance_numb
 
 
 /**
- * 
+ *
  *
  * */
 gchar *gsb_data_partial_balance_get_current_balance ( gint partial_balance_number )
@@ -1191,7 +1191,7 @@ gchar *gsb_data_partial_balance_get_current_balance ( gint partial_balance_numbe
 
 
 /**
- * 
+ *
  *
  * */
 gboolean gsb_partial_balance_select_account ( GtkTreeSelection *selection,
@@ -1220,7 +1220,7 @@ gboolean gsb_partial_balance_select_account ( GtkTreeSelection *selection,
                 gtk_tree_model_get ( model, &iter, 1, &account_nb, -1);
                 if ( strlen ( gtk_entry_get_text ( GTK_ENTRY ( entry ) ) ) > 0 )
                 {
-                    gtk_entry_set_text ( GTK_ENTRY ( entry ), 
+                    gtk_entry_set_text ( GTK_ENTRY ( entry ),
                                 g_strconcat ( gtk_entry_get_text ( GTK_ENTRY ( entry ) ), ";",
                                 g_strdup_printf ( "%d", account_nb ), NULL ) );
                 }
@@ -1243,7 +1243,7 @@ gboolean gsb_partial_balance_select_account ( GtkTreeSelection *selection,
             gtk_tree_model_get ( model, &iter, 1, &account_nb, -1);
             if ( strlen ( gtk_entry_get_text ( GTK_ENTRY ( entry ) ) ) > 0 )
             {
-                gtk_entry_set_text ( GTK_ENTRY ( entry ), 
+                gtk_entry_set_text ( GTK_ENTRY ( entry ),
                             g_strconcat ( gtk_entry_get_text ( GTK_ENTRY ( entry ) ), ";",
                             g_strdup_printf ( "%d", account_nb ), NULL ) );
             }
@@ -1388,7 +1388,7 @@ gboolean gsb_data_partial_balance_drag_data_received ( GtkTreeDragDest * drag_de
 
         /* On récupère le model et le path d'origine */
         gtk_tree_get_row_drag_data (selection_data, &model, &orig_path);
-        
+
         if ( gtk_tree_model_get_iter ( model, &iter, orig_path ) )
             gtk_tree_model_get ( model, &iter, 4, &orig_partial_number, -1 );
 
@@ -1588,7 +1588,7 @@ GPtrArray *gsb_data_partial_balance_calculate_balances_at_date ( gint partial_ba
 /*              Interface                                                                    */
 /*********************************************************************************************/
 /**
- * 
+ *
  *
  * */
 GtkWidget *gsb_partial_balance_create_list_accounts ( GtkWidget *entry )
@@ -1668,7 +1668,7 @@ GtkWidget *gsb_partial_balance_create_list_accounts ( GtkWidget *entry )
 
 
 /**
- * 
+ *
  *
  * */
 GtkWidget *gsb_partial_balance_create_dialog ( gint action, gint spin_value )
@@ -1753,7 +1753,7 @@ GtkWidget *gsb_partial_balance_create_dialog ( gint action, gint spin_value )
     gtk_table_attach ( GTK_TABLE ( table ), bouton, 0, 2, 5, 6,
                         GTK_SHRINK | GTK_FILL, 0, 0, 0 );
     g_object_set_data ( G_OBJECT ( dialog ), "colorise_bouton", bouton );
-    
+
     g_object_set_data ( G_OBJECT ( dialog ), "entry_name", entry_name );
     g_object_set_data ( G_OBJECT ( dialog ), "entry_list", entry_list );
     g_object_set_data ( G_OBJECT ( dialog ), "account_list", account_list );
@@ -1763,7 +1763,7 @@ GtkWidget *gsb_partial_balance_create_dialog ( gint action, gint spin_value )
 
 
 /**
- * 
+ *
  *
  * */
 gint gsb_partial_balance_request_currency ( GtkWidget *parent )
diff --git a/src/gsb_data_payee.c b/src/gsb_data_payee.c
index e5f90e3..534b804 100644
--- a/src/gsb_data_payee.c
+++ b/src/gsb_data_payee.c
@@ -52,8 +52,8 @@
 
 
 /**
- * \struct 
- * Describe a payee 
+ * \struct
+ * Describe a payee
  */
 typedef struct
 {
@@ -147,7 +147,7 @@ gpointer gsb_data_payee_get_structure ( gint no_payee )
 	return payee_buffer;
 
     tmp = payee_list;
-    
+
     while ( tmp )
     {
 	struct_payee *payee;
@@ -200,10 +200,10 @@ GSList *gsb_data_payee_get_payees_list ( void )
 gint gsb_data_payee_get_no_payee ( gpointer payee_ptr )
 {
     struct_payee *payee;
-    
+
     if ( !payee_ptr )
 	return 0;
-    
+
     payee = payee_ptr;
     payee_buffer = payee;
     return payee -> payee_number;
@@ -220,7 +220,7 @@ gint gsb_data_payee_max_number ( void )
     gint number_tmp = 0;
 
     tmp = payee_list;
-    
+
     while ( tmp )
     {
 	struct_payee *payee;
@@ -257,11 +257,11 @@ gint gsb_data_payee_new ( const gchar *name )
 
         payee -> payee_name = my_strdup ( name );
         combofix = gsb_form_widget_get_widget ( TRANSACTION_FORM_PARTY );
-    
+
         if ( combofix && name )
             gtk_combofix_append_text ( GTK_COMBOFIX ( combofix ), name );
     }
-    else 
+    else
         payee -> payee_name = NULL;
 
     payee_list = g_slist_append ( payee_list, payee );
@@ -271,8 +271,8 @@ gint gsb_data_payee_new ( const gchar *name )
 
 
 /**
- * This internal function is called to free the memory used by a struct_payee structure 
- */ 
+ * This internal function is called to free the memory used by a struct_payee structure
+ */
 static void _gsb_data_payee_free ( struct_payee* payee)
 {
     if ( ! payee )
@@ -362,11 +362,11 @@ gint gsb_data_payee_get_number_by_name ( const gchar *name,
     list_tmp = g_slist_find_custom ( payee_list,
                         name,
                         (GCompareFunc) gsb_data_payee_get_pointer_from_name_in_glist );
-    
+
     if ( list_tmp )
     {
         struct_payee *payee;
-        
+
         payee = list_tmp -> data;
         payee_number = payee -> payee_number;
     }
@@ -452,7 +452,7 @@ gboolean gsb_data_payee_set_name ( gint no_payee,
             gtk_combofix_remove_text ( GTK_COMBOFIX ( combofix ), payee -> payee_name );
 	    g_free ( payee -> payee_name );
     }
-    
+
     /* and copy the new one or set NULL */
     payee -> payee_name = my_strdup ( name );
 
@@ -598,7 +598,7 @@ gboolean gsb_data_payee_set_description ( gint no_payee,
     /* we free the last name */
     if ( payee -> payee_description )
 	g_free (payee -> payee_description);
-    
+
     /* and copy the new one */
     if (description)
 	payee -> payee_description = my_strdup (description);
@@ -655,9 +655,9 @@ gsb_real gsb_data_payee_get_balance ( gint no_payee )
 /**
  * reset the counters of the payees
  *
- * \param 
+ * \param
  *
- * \return 
+ * \return
  * */
 void gsb_data_payee_reset_counters ( void )
 {
@@ -675,7 +675,7 @@ void gsb_data_payee_reset_counters ( void )
 
 	list_tmp = list_tmp -> next;
     }
-    
+
     /* reset the blank payee counters */
 
     empty_payee -> payee_balance = null_real;
@@ -704,7 +704,7 @@ void gsb_data_payee_update_counters ( void )
     {
 	gint transaction_number_tmp;
 	transaction_number_tmp = gsb_data_transaction_get_transaction_number (list_tmp_transactions -> data);
-	
+
 	gsb_data_payee_add_transaction_to_payee ( transaction_number_tmp );
 
 	list_tmp_transactions = list_tmp_transactions -> next;
@@ -735,7 +735,7 @@ void gsb_data_payee_add_transaction_to_payee ( gint transaction_number )
     {
 	gchar *tmpstr;
 	tmpstr = g_strdup_printf ( _("The transaction %d has a payee n°%d but it doesn't exist."),
-				   transaction_number, 
+				   transaction_number,
 				   gsb_data_transaction_get_party_number (transaction_number));
 	warning_debug (tmpstr);
 	g_free (tmpstr);
@@ -745,7 +745,7 @@ void gsb_data_payee_add_transaction_to_payee ( gint transaction_number )
     payee -> payee_nb_transactions ++;
     if ( ! gsb_data_transaction_get_split_of_transaction ( transaction_number ) )
         payee -> payee_balance = gsb_real_add ( payee -> payee_balance,
-					    gsb_data_transaction_get_adjusted_amount_for_currency 
+					    gsb_data_transaction_get_adjusted_amount_for_currency
                         ( transaction_number, payee_tree_currency (), -1));
 }
 
@@ -770,7 +770,7 @@ void gsb_data_payee_remove_transaction_from_payee ( gint transaction_number )
     if (!payee
             &&
             !gsb_data_transaction_get_split_of_transaction (transaction_number)
-            && 
+            &&
             gsb_data_transaction_get_contra_transaction_number (tran on_number)  action_number )  ta);  },  xist."),  ata)  unc")  -     f(f,"\"\"%c",g_csv_field_separator); }                       ’¸‚„¨+  ÑG_ÿ  €Ð¤„¨+          €ÆG_ÿ         PÅG_ÿ  kÀeƒ¨+  6                    è     è!     è!      ÑG_ÿ  ÑG_ÿ  xt‚„¨+          €ÇG_ÿ          ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ  `¢eƒ¨+  _ÑG_ÿ         Ào愨+  uªeƒ¨+   `愨+  Ød愨+  ¨i愨+  €Êfƒ¨+          xt‚„¨+          €ÇG_ÿ          PÆG_ÿ  kÀeƒ¨+  à!     à!      ÑG_ÿ  ÑG_ÿ  H>b„¨+          `ÈG_ÿ         ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ  `¢eƒ¨+  _ÑG_ÿ  PÑG_ÿ  HÑG_ÿ  8ˆƒ¨+  Œp˜        ÑG_ÿ  uªeƒ¨+  €Êfƒ¨+                  `ÈG_ÿ         0ÇG_ÿ  kÀeƒ¨+          G       H   I       J   K           M   N   O       P    ÑG_ÿ  ÑG_ÿ  Hõ8„¨+           ÊG_ÿ         ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ         0o愨+  uªeƒ¨+   €‚„¨+   )„¨+   `愨+  Ød愨+  ¨i愨+  €Êfƒ¨+          Hõ8„¨+           ÊG_ÿ        
  @ÈG_ÿ  kÀeƒ¨+  8õ8„¨+           ÊG_ÿ         pÈG_ÿ  kÀeƒ¨+  (õ8„¨+           ÊG_ÿ          ÈG_ÿ  kÀeƒ¨+  õ8„¨+           ÊG_ÿ         ÐÈG_ÿ  kÀeƒ¨+  	       ¨n愨+  uªeƒ¨+         ¨i愨+  PÃG_ÿ          Šx„¨+  e©eƒ¨+         Ød愨+  pÉG_ÿ          yx„¨+  e©eƒ¨+          `愨+   ÉG_ÿ          Zx„¨+  e©eƒ¨+  Ø$„¨+   €‚„¨+   )„¨+   `愨+  ؄‚„¨+  Ød愨+  ¨i愨+  €Êfƒ¨+          8ˆƒ¨+                        íშ+  ÑG_ÿ  p»„¨+          PËG_ÿ           ÊG_ÿ  kÀeƒ¨+      5   6   7   8   :   <   =   >       ?       @   B   D        ÑG_ÿ  ÑG_ÿ  àíރ¨+                 ÑG_ÿ  uªeƒ¨+         ņƒ¨+  ÐÉG_ÿ          íშ+  e©eƒ¨+  ņƒ¨+          Õ_ at fÆS         Qöl±íÁ®ƒ¨+  ÑG_ÿ  àíރ¨+          `ÌG_ÿ         0ËG_ÿ  kÀeƒ¨+  u]ÞÓ	4Q ÷U^Qʉ§ ¶uª¹ñìò*ēv ÑG_ÿ  ÑG_ÿ  H>«ƒ¨+          „烨+          ÐÒG_ÿ  ¦I…¨+  ¦I…¨+         Ö䃨+  _ÑG_ÿ  ÒG_ÿ  HÑG_ÿ  °ÍG_ÿ  ‚„¨+  uªeƒ¨+  ؄‚„¨+  ÔG_ÿ  ¢I…¨+  àÒG_ÿ          pÎG_ÿ             
     ÿÿÿÿÿÿÿÿ¢I…¨+          ˜ÑG_ÿ                 saction_number) == 0)
         payee = empty_payee;
 
@@ -878,7 +878,7 @@ gboolean gsb_data_payee_set_search_string ( gint no_payee, const gchar *search_s
     /* we free the last name */
     if ( payee -> payee_search_string )
         g_free (payee -> payee_search_string);
-    
+
     /* and copy the new one */
     if (search_string)
         payee -> payee_search_string = my_strdup (search_string);
diff --git a/src/gsb_data_payment.c b/src/gsb_data_payment.c
index dc44c35..9a3cf06 100644
--- a/src/gsb_data_payment.c
+++ b/src/gsb_data_payment.c
@@ -42,8 +42,8 @@
 
 
 /**
- * \struct 
- * Describe a method of payment 
+ * \struct
+ * Describe a method of payment
  */
 typedef struct
 {
@@ -224,7 +224,7 @@ gint gsb_data_payment_get_number_by_name ( const gchar *name,
     GSList *tmp_list;
     gint payment_number = 0 ;
     gint compare;
-    
+
     tmp_list = payment_list;
 
     while ( tmp_list )
@@ -249,9 +249,9 @@ gint gsb_data_payment_get_number_by_name ( const gchar *name,
  * find and return the last number of payment
  * carrefull, it's an internal function to create a new payment number,
  * nothing to see to the number of cheque we want to increase
- * 
+ *
  * \param none
- * 
+ *
  * \return last number of payment
  * */
 gint gsb_data_payment_max_number ( void )
@@ -293,7 +293,7 @@ gint gsb_data_payment_new ( const gchar *name )
 
     if (name)
 	payment -> payment_name = my_strdup (name);
-    else 
+    else
 	payment -> payment_name = NULL;
 
     payment -> last_number = NULL;
@@ -692,9 +692,9 @@ gboolean gsb_data_payment_set_last_number ( gint payment_number,
  * them to the account given in param
  * moreover, create a preformated list to sort the transaction list according to
  * 	the method of payment, and set it in the account
- * 
+ *
  * \param account_number
- * 
+ *
  * \return TRUE ok, FALSE problem
  * */
 gint gsb_data_payment_create_default  ( gint account_number )
@@ -906,7 +906,7 @@ gboolean gsb_data_payment_set_last_number_from_int ( gint payment_number,
  * \param number initial
  * \ numéro du nouveau compte
  *
- * \ return the numéro de paiement si trouvé ou celui par défaut pour 
+ * \ return the numéro de paiement si trouvé ou celui par défaut pour
  * le compte concerné.
  * */
 gint gsb_data_payment_search_number_other_account_by_name ( gint payment_number,
@@ -940,7 +940,7 @@ gint gsb_data_payment_search_number_other_account_by_name ( gint payment_number,
 
     if ( sign == GSB_PAYMENT_CREDIT)
         new_payment_number = gsb_data_account_get_default_credit ( account_number );
-    else 
+    else
         new_payment_number = gsb_data_account_get_default_debit ( account_number );
 
     return new_payment_number;
diff --git a/src/gsb_data_print_config.c b/src/gsb_data_print_config.c
index 6b56f04..6b48632 100644
--- a/src/gsb_data_print_config.c
+++ b/src/gsb_data_print_config.c
@@ -136,7 +136,7 @@ gboolean gsb_data_print_config_get_draw_lines  ( void )
  *
  * \param number	not used (here for compatibility with gsb_autofunc)
  * \param value		value to set
- * 
+ *
  * \return FALSE
  * */
 gboolean gsb_data_print_config_set_draw_lines  ( gint number,
@@ -163,7 +163,7 @@ gboolean gsb_data_print_config_get_draw_column  ( void )
  *
  * \param number	not used (here for compatibility with gsb_autofunc)
  * \param value		value to set
- * 
+ *
  * \return FALSE
  * */
 gboolean gsb_data_print_config_set_draw_column  ( gint number,
@@ -190,7 +190,7 @@ gboolean gsb_data_print_config_get_draw_background  ( void )
  *
  * \param number	not used (here for compatibility with gsb_autofunc)
  * \param value		value to set
- * 
+ *
  * \return FALSE
  * */
 gboolean gsb_data_print_config_set_draw_background  ( gint number,
@@ -217,7 +217,7 @@ gboolean gsb_data_print_config_get_draw_archives  ( void )
  *
  * \param number	not used (here for compatibility with gsb_autofunc)
  * \param value		value to set
- * 
+ *
  * \return FALSE
  * */
 gboolean gsb_data_print_config_set_draw_archives  ( gint number,
@@ -244,7 +244,7 @@ gboolean gsb_data_print_config_get_draw_columns_name  ( void )
  *
  * \param number	not used (here for compatibility with gsb_autofunc)
  * \param value		value to set
- * 
+ *
  * \return FALSE
  * */
 gboolean gsb_data_print_config_set_draw_columns_name  ( gint number,
@@ -271,7 +271,7 @@ gboolean gsb_data_print_config_get_draw_title  ( void )
  *
  * \param number	not used (here for compatibility with gsb_autofunc)
  * \param value		value to set
- * 
+ *
  * \return FALSE
  * */
 gboolean gsb_data_print_config_set_draw_title  ( gint number,
@@ -298,7 +298,7 @@ gboolean gsb_data_print_config_get_draw_interval_dates  ( void )
  *
  * \param number	not used (here for compatibility with gsb_autofunc)
  * \param value		value to set
- * 
+ *
  * \return FALSE
  * */
 gboolean gsb_data_print_config_set_draw_interval_dates  ( gint number,
@@ -325,7 +325,7 @@ gboolean gsb_data_print_config_get_draw_dates_are_value_dates  ( void )
  *
  * \param number	not used (here for compatibility with gsb_autofunc)
  * \param value		value to set
- * 
+ *
  * \return FALSE
  * */
 gboolean gsb_data_print_config_set_draw_dates_are_value_dates  ( gint number,
@@ -352,7 +352,7 @@ PangoFontDescription *gsb_data_print_config_get_font_transactions ( void )
  * set the font_transactions value
  *
  * \param font_desc	the PangoFontDescription to save
- * 
+ *
  * \return FALSE
  * */
 gboolean gsb_data_print_config_set_font_transaction ( PangoFontDescription *font_desc )
@@ -380,7 +380,7 @@ PangoFontDescription *gsb_data_print_config_get_font_title ( void )
  * set the font title value
  *
  * \param font_desc	the PangoFontDescription to save
- * 
+ *
  * \return FALSE
  * */
 gboolean gsb_data_print_config_set_font_title ( PangoFontDescription *font_desc )
@@ -408,7 +408,7 @@ PangoFontDescription *gsb_data_print_config_get_report_font_transactions ( void
  * set the report_font_transactions value for report
  *
  * \param font_desc	the PangoFontDescription to save
- * 
+ *
  * \return FALSE
  * */
 gboolean gsb_data_print_config_set_report_font_transaction ( PangoFontDescription *font_desc )
@@ -436,7 +436,7 @@ PangoFontDescription *gsb_data_print_config_get_report_font_title ( void )
  * set the font title value
  *
  * \param font_desc	the PangoFontDescription to save
- * 
+ *
  * \return FALSE
  * */
 gboolean gsb_data_print_config_set_report_font_title ( PangoFontDescription *font_desc )
diff --git a/src/gsb_data_reconcile.c b/src/gsb_data_reconcile.c
index 0c1c9fc..6161605 100644
--- a/src/gsb_data_reconcile.c
+++ b/src/gsb_data_reconcile.c
@@ -179,9 +179,9 @@ GList *gsb_data_reconcile_get_reconcile_list ( void )
 
 /**
  * find and return the last number of reconcile
- * 
+ *
  * \param none
- * 
+ *
  * \return last number of reconcile
  * */
 gint gsb_data_reconcile_max_number ( void )
@@ -725,10 +725,10 @@ GList *gsb_data_reconcile_get_sort_reconcile_list ( gint account_number )
 
         if (reconcile -> account_number == account_number)
         {
-            rec_list = g_list_insert_sorted ( rec_list, reconcile, 
+            rec_list = g_list_insert_sorted ( rec_list, reconcile,
                                              (GCompareFunc) gsb_data_reconcile_cmp_int );
         }
-	   
+
         tmp_list = tmp_list -> next;
     }
 
@@ -736,7 +736,7 @@ GList *gsb_data_reconcile_get_sort_reconcile_list ( gint account_number )
     while (tmp_list)
     {
         reconcile = tmp_list -> data;
-        
+
         new_list = g_list_append ( new_list, GINT_TO_POINTER (
                                     reconcile -> reconcile_number) );
         tmp_list = tmp_list -> next;
diff --git a/src/gsb_data_report.c b/src/gsb_data_report.c
index 2b70f32..91982d3 100644
--- a/src/gsb_data_report.c
+++ b/src/gsb_data_report.c
@@ -44,14 +44,14 @@
 /*END_INCLUDE*/
 
 /** \struct
- * describe an report 
+ * describe an report
  * */
 typedef struct
 {
     /** @name general stuff */
     gint report_number;
     gchar *report_name;
-    
+
     /** @name what we show of the transactions */
     gint show_r;         /**< 0=all the reports, 1=report not marked R, 2=report marked R */
     gint show_report_transactions;
@@ -182,7 +182,7 @@ static struct_report *report_buffer;
 
 /**
  * set the reports global variables to NULL, usually when we init all the global variables
- * 
+ *
  * \param none
  *
  * \return FALSE
@@ -207,11 +207,11 @@ gboolean gsb_data_report_init_variables ( void )
 
 
 /**
- * return a pointer on the g_slist of reports 
+ * return a pointer on the g_slist of reports
  * carrefull : it's not a copy, so we must not free or change it
- * 
+ *
  * \param none
- * 
+ *
  * \return a g_slist on the reports
  * */
 GSList *gsb_data_report_get_report_list ( void )
@@ -223,11 +223,11 @@ GSList *gsb_data_report_get_report_list ( void )
 
 
 /**
- * return a pointer on the report which the number is in the parameter. 
+ * return a pointer on the report which the number is in the parameter.
  * that report is stored in the buffer
- * 
+ *
  * \param report_number
- * 
+ *
  * \return a pointer to the report, NULL if not found
  * */
 struct_report *gsb_data_report_get_structure ( gint report_number )
@@ -268,9 +268,9 @@ struct_report *gsb_data_report_get_structure ( gint report_number )
 /**
  * get the number of the report and save the pointer in the buffer
  * which will increase the speed later
- * 
+ *
  * \param report_pointer a pointer to a report
- * 
+ *
  * \return the number of the report
  * */
 gint gsb_data_report_get_report_number ( gpointer report_pointer )
@@ -292,7 +292,7 @@ gint gsb_data_report_get_report_number ( gpointer report_pointer )
 
 
 /** find and return the last number of report
- * 
+ *
  * \param none
  *
  * \return last number of report
@@ -378,7 +378,7 @@ static void _gsb_data_report_free ( struct_report *report )
 
     if ( ! report )
         return ;
-    
+
     /* remove first the comparison */
     list_tmp = report -> text_comparison_list;
     while ( list_tmp )
@@ -443,9 +443,9 @@ gboolean gsb_data_report_remove ( gint no_report )
 /**
  * return the number of the report found by its name
  * that report is stored in the buffer
- * 
+ *
  * \param name
- * 
+ *
  * \return the number of the report or 0 if not found
  * */
 gint gsb_data_report_get_report_by_name ( const gchar *name )
@@ -485,7 +485,7 @@ gint gsb_data_report_get_report_by_name ( const gchar *name )
 
 /**
  * get the  report_name
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the report_name  of the report, -1 if problem
@@ -502,9 +502,9 @@ gchar *gsb_data_report_get_report_name ( gint report_number )
     return report -> report_name;
 }
 
-/** 
+/**
  * set the report_name
- * 
+ *
  * \param report_number number of the report
  * \param report_name
  *
@@ -531,7 +531,7 @@ gboolean gsb_data_report_set_report_name ( gint report_number,
 
 /**
  * get the  show_r
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the show_r  of the report, -1 if problem
@@ -548,9 +548,9 @@ gint gsb_data_report_get_show_r ( gint report_number )
     return report -> show_r;
 }
 
-/** 
+/**
  * set the show_r
- * 
+ *
  * \param report_number number of the report
  * \param show_r
  *
@@ -575,7 +575,7 @@ gboolean gsb_data_report_set_show_r ( gint report_number,
 
 /**
  * get the  show_report_transactions
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the show_report_transactions  of the report, -1 if problem
@@ -592,9 +592,9 @@ gint gsb_data_report_get_show_report_transactions ( gint report_number )
     return report -> show_report_transactions;
 }
 
-/** 
+/**
  * set the show_report_transactions
- * 
+ *
  * \param report_number number of the report
  * \param show_report_transactions
  *
@@ -618,7 +618,7 @@ gboolean gsb_data_report_set_show_report_transactions ( gint report_number,
 
 /**
  * get the  show_report_transaction_amount
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the show_report_transaction_amount  of the report, -1 if problem
@@ -635,9 +635,9 @@ gint gsb_data_report_get_show_report_transaction_amount ( gint report_number )
     return report -> show_report_transaction_amount;
 }
 
-/** 
+/**
  * set the show_report_transaction_amount
- * 
+ *
  * \param report_number number of the report
  * \param show_report_transaction_amount
  *
@@ -661,7 +661,7 @@ gboolean gsb_data_report_set_show_report_transaction_amount ( gint report_number
 
 /**
  * get the  show_report_date
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the show_report_date  of the report, -1 if problem
@@ -678,9 +678,9 @@ gint gsb_data_report_get_show_report_date ( gint report_number )
     return report -> show_report_date;
 }
 
-/** 
+/**
  * set the show_report_date
- * 
+ *
  * \param report_number number of the report
  * \param show_report_date
  *
@@ -703,7 +703,7 @@ gboolean gsb_data_report_set_show_report_date ( gint report_number,
 
 /**
  * get the  show_report_value_date
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the show_report_value_date  of the report, -1 if problem
@@ -720,9 +720,9 @@ gint gsb_data_report_get_show_report_value_date ( gint report_number )
     return report -> show_report_value_date;
 }
 
-/** 
+/**
  * set the show_report_value_date
- * 
+ *
  * \param report_number number of the report
  * \param show_report_value_date
  *
@@ -746,7 +746,7 @@ gboolean gsb_data_report_set_show_report_value_date ( gint report_number,
 
 /**
  * get the  show_report_payee
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the  show_report_payee of the report, -1 if problem
@@ -763,9 +763,9 @@ gint gsb_data_report_get_show_report_payee ( gint report_number )
     return report -> show_report_payee;
 }
 
-/** 
+/**
  * set the show_report_payee
- * 
+ *
  * \param report_number number of the report
  * \param show_report_payee
  *
@@ -789,7 +789,7 @@ gboolean gsb_data_report_set_show_report_payee ( gint report_number,
 
 /**
  * get the  show_report_category
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the show_report_category  of the report, -1 if problem
@@ -806,9 +806,9 @@ gint gsb_data_report_get_show_report_category ( gint report_number )
     return report -> show_report_category;
 }
 
-/** 
+/**
  * set the show_report_category
- * 
+ *
  * \param report_number number of the report
  * \param show_report_category
  *
@@ -832,7 +832,7 @@ gboolean gsb_data_report_set_show_report_category ( gint report_number,
 
 /**
  * get the  show_report_sub_category
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the show_report_sub_category  of the report, -1 if problem
@@ -849,9 +849,9 @@ gint gsb_data_report_get_show_report_sub_category ( gint report_number )
     return report -> show_report_sub_category;
 }
 
-/** 
+/**
  * set the show_report_sub_category
- * 
+ *
  * \param report_number number of the report
  * \param show_report_sub_category
  *
@@ -875,7 +875,7 @@ gboolean gsb_data_report_set_show_report_sub_category ( gint report_number,
 
 /**
  * get the  show_report_budget
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the show_report_budget  of the report, -1 if problem
@@ -892,9 +892,9 @@ gint gsb_data_report_get_show_report_budget ( gint report_number )
     return report -> show_report_budget;
 }
 
-/** 
+/**
  * set the show_report_budget
- * 
+ *
  * \param report_number number of the report
  * \param show_report_budget
  *
@@ -918,7 +918,7 @@ gboolean gsb_data_report_set_show_report_budget ( gint report_number,
 
 /**
  * get the  show_report_sub_budget
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the  show_report_sub_budget of the report, -1 if problem
@@ -935,9 +935,9 @@ gint gsb_data_report_get_show_report_sub_budget ( gint report_number )
     return report -> show_report_sub_budget;
 }
 
-/** 
+/**
  * set the show_report_sub_budget
- * 
+ *
  * \param report_number number of the report
  * \param show_report_sub_budget
  *
@@ -961,7 +961,7 @@ gboolean gsb_data_report_set_show_report_sub_budget ( gint report_number,
 
 /**
  * get the  show_report_note
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the show_report_note  of the report, -1 if problem
@@ -978,9 +978,9 @@ gint gsb_data_report_get_show_report_note ( gint report_number )
     return report -> show_report_note;
 }
 
-/** 
+/**
  * set the show_report_note
- * 
+ *
  * \param report_number number of the report
  * \param show_report_note
  *
@@ -1004,7 +1004,7 @@ gboolean gsb_data_report_set_show_report_note ( gint report_number,
 
 /**
  * get the  show_report_voucher
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the show_report_voucher  of the report, -1 if problem
@@ -1021,9 +1021,9 @@ gint gsb_data_report_get_show_report_voucher ( gint report_number )
     return report -> show_report_voucher;
 }
 
-/** 
+/**
  * set the show_report_voucher
- * 
+ *
  * \param report_number number of the report
  * \param show_report_voucher
  *
@@ -1047,7 +1047,7 @@ gboolean gsb_data_report_set_show_report_voucher ( gint report_number,
 
 /**
  * get the  show_report_bank_references
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the show_report_bank_references  of the report, -1 if problem
@@ -1064,9 +1064,9 @@ gint gsb_data_report_get_show_report_bank_references ( gint report_number )
     return report -> show_report_bank_references;
 }
 
-/** 
+/**
  * set the show_report_bank_references
- * 
+ *
  * \param report_number number of the report
  * \param show_report_bank_references
  *
@@ -1090,7 +1090,7 @@ gboolean gsb_data_report_set_show_report_bank_references ( gint report_number,
 
 /**
  * get the  show_report_transaction_number
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the show_report_transaction_number  of the report, -1 if problem
@@ -1107,9 +1107,9 @@ gint gsb_data_report_get_show_report_transaction_number ( gint report_number )
     return report -> show_report_transaction_number;
 }
 
-/** 
+/**
  * set the show_report_transaction_number
- * 
+ *
  * \param report_number number of the report
  * \param show_report_transaction_number
  *
@@ -1133,7 +1133,7 @@ gboolean gsb_data_report_set_show_report_transaction_number ( gint report_number
 
 /**
  * get the  show_report_method_of_payment
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the  show_report_method_of_payment of the report, -1 if problem
@@ -1150,9 +1150,9 @@ gint gsb_data_report_get_show_report_method_of_payment ( gint report_number )
     return report -> show_report_method_of_payment;
 }
 
-/** 
+/**
  * set the show_report_method_of_payment
- * 
+ *
  * \param report_number number of the report
  * \param show_report_method_of_payment
  *
@@ -1176,7 +1176,7 @@ gboolean gsb_data_report_set_show_report_method_of_payment ( gint report_number,
 
 /**
  * get the  show_report_method_of_payment_content
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the show_report_method_of_payment_content  of the report, -1 if problem
@@ -1193,9 +1193,9 @@ gint gsb_data_report_get_show_report_method_of_payment_content ( gint report_num
     return report -> show_report_method_of_payment_content;
 }
 
-/** 
+/**
  * set the show_report_method_of_payment_content
- * 
+ *
  * \param report_number number of the report
  * \param show_report_method_of_payment_content
  *
@@ -1219,7 +1219,7 @@ gboolean gsb_data_report_set_show_report_method_of_payment_content ( gint report
 
 /**
  * get the  show_report_marked
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the show_report_marked  of the report, -1 if problem
@@ -1236,9 +1236,9 @@ gint gsb_data_report_get_show_report_marked ( gint report_number )
     return report -> show_report_marked;
 }
 
-/** 
+/**
  * set the show_report_marked
- * 
+ *
  * \param report_number number of the report
  * \param show_report_marked
  *
@@ -1262,7 +1262,7 @@ gboolean gsb_data_report_set_show_report_marked ( gint report_number,
 
 /**
  * get the  show_report_financial_year
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the show_report_financial_year  of the report, -1 if problem
@@ -1279,9 +1279,9 @@ gint gsb_data_report_get_show_report_financial_year ( gint report_number )
     return report -> show_report_financial_year;
 }
 
-/** 
+/**
  * set the show_report_financial_year
- * 
+ *
  * \param report_number number of the report
  * \param show_report_financial_year
  *
@@ -1305,7 +1305,7 @@ gboolean gsb_data_report_set_show_report_financial_year ( gint report_number,
 
 /**
  * get the  sorting_report
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the sorting_report  of the report, -1 if problem
@@ -1322,9 +1322,9 @@ gint gsb_data_report_get_sorting_report ( gint report_number )
     return report -> sorting_report;
 }
 
-/** 
+/**
  * set the sorting_report
- * 
+ *
  * \param report_number number of the report
  * \param sorting_report
  *
@@ -1348,7 +1348,7 @@ gboolean gsb_data_report_set_sorting_report ( gint report_number,
 
 /**
  * get the  not_detail_split
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the not_detail_split  of the report, -1 if problem
@@ -1365,9 +1365,9 @@ gint gsb_data_report_get_not_detail_split ( gint report_number )
     return report -> not_detail_split;
 }
 
-/** 
+/**
  * set the not_detail_split
- * 
+ *
  * \param report_number number of the report
  * \param not_detail_split
  *
@@ -1391,7 +1391,7 @@ gboolean gsb_data_report_set_not_detail_split ( gint report_number,
 
 /**
  * get the  split_credit_debit
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the split_credit_debit  of the report, -1 if problem
@@ -1408,9 +1408,9 @@ gint gsb_data_report_get_split_credit_debit ( gint report_number )
     return report -> split_credit_debit;
 }
 
-/** 
+/**
  * set the split_credit_debit
- * 
+ *
  * \param report_number number of the report
  * \param split_credit_debit
  *
@@ -1434,7 +1434,7 @@ gboolean gsb_data_report_set_split_credit_debit ( gint report_number,
 
 /**
  * get the  currency_general
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the  currency_general of the report, -1 if problem
@@ -1451,9 +1451,9 @@ gint gsb_data_report_get_currency_general ( gint report_number )
     return report -> currency_general;
 }
 
-/** 
+/**
  * set the currency_general
- * 
+ *
  * \param report_number number of the report
  * \param currency_general
  *
@@ -1477,7 +1477,7 @@ gboolean gsb_data_report_set_currency_general ( gint report_number,
 
 /**
  * get the  column_title_show
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the column_title_show  of the report, -1 if problem
@@ -1494,9 +1494,9 @@ gint gsb_data_report_get_column_title_show ( gint report_number )
     return report -> column_title_show;
 }
 
-/** 
+/**
  * set the column_title_show
- * 
+ *
  * \param report_number number of the report
  * \param column_title_show
  *
@@ -1520,7 +1520,7 @@ gboolean gsb_data_report_set_column_title_show ( gint report_number,
 
 /**
  * get the  column_title_type
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the column_title_type  of the report, -1 if problem
@@ -1537,9 +1537,9 @@ gint gsb_data_report_get_column_title_type ( gint report_number )
     return report -> column_title_type;
 }
 
-/** 
+/**
  * set the column_title_type
- * 
+ *
  * \param report_number number of the report
  * \param column_title_type
  *
@@ -1563,7 +1563,7 @@ gboolean gsb_data_report_set_column_title_type ( gint report_number,
 
 /**
  * get the  append_in_payee
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the  append_in_payee of the report, -1 if problem
@@ -1580,9 +1580,9 @@ gint gsb_data_report_get_append_in_payee ( gint report_number )
     return report -> append_in_payee;
 }
 
-/** 
+/**
  * set the append_in_payee
- * 
+ *
  * \param report_number number of the report
  * \param append_in_payee
  *
@@ -1606,7 +1606,7 @@ gboolean gsb_data_report_set_append_in_payee ( gint report_number,
 
 /**
  * get the  report_can_click
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the report_can_click  of the report, -1 if problem
@@ -1623,9 +1623,9 @@ gint gsb_data_report_get_report_can_click ( gint report_number )
     return report -> report_can_click;
 }
 
-/** 
+/**
  * set the report_can_click
- * 
+ *
  * \param report_number number of the report
  * \param report_can_click
  *
@@ -1649,7 +1649,7 @@ gboolean gsb_data_report_set_report_can_click ( gint report_number,
 
 /**
  * get the  use_financial_year
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the use_financial_year  of the report, -1 if problem
@@ -1666,9 +1666,9 @@ gint gsb_data_report_get_use_financial_year ( gint report_number )
     return report -> use_financial_year;
 }
 
-/** 
+/**
  * set the use_financial_year
- * 
+ *
  * \param report_number number of the report
  * \param use_financial_year
  *
@@ -1692,7 +1692,7 @@ gboolean gsb_data_report_set_use_financial_year ( gint report_number,
 
 /**
  * get the  financial_year_type
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the financial_year_type  of the report, -1 if problem
@@ -1709,9 +1709,9 @@ gint gsb_data_report_get_financial_year_type ( gint report_number )
     return report -> financial_year_type;
 }
 
-/** 
+/**
  * set the financial_year_type
- * 
+ *
  * \param report_number number of the report
  * \param financial_year_type
  *
@@ -1735,7 +1735,7 @@ gboolean gsb_data_report_set_financial_year_type ( gint report_number,
 
 /**
  * get the  financial_year_split
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the financial_year_split  of the report, -1 if problem
@@ -1752,9 +1752,9 @@ gint gsb_data_report_get_financial_year_split ( gint report_number )
     return report -> financial_year_split;
 }
 
-/** 
+/**
  * set the financial_year_split
- * 
+ *
  * \param report_number number of the report
  * \param financial_year_split
  *
@@ -1778,7 +1778,7 @@ gboolean gsb_data_report_set_financial_year_split ( gint report_number,
 
 /**
  * get the  date_type
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the date_type  of the report, -1 if problem
@@ -1795,9 +1795,9 @@ gint gsb_data_report_get_date_type ( gint report_number )
     return report -> date_type;
 }
 
-/** 
+/**
  * set the date_type
- * 
+ *
  * \param report_number number of the report
  * \param date_type
  *
@@ -1821,7 +1821,7 @@ gboolean gsb_data_report_set_date_type ( gint report_number,
 
 /**
  * get the  personal_date_start
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the personal_date_start  of the report, -1 if problem
@@ -1838,9 +1838,9 @@ GDate *gsb_data_report_get_personal_date_start ( gint report_number )
     return report -> personal_date_start;
 }
 
-/** 
+/**
  * set the personal_date_start
- * 
+ *
  * \param report_number number of the report
  * \param personal_date_start
  *
@@ -1863,7 +1863,7 @@ gboolean gsb_data_report_set_personal_date_start ( gint report_number,
 
 /**
  * get the  personal_date_end
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the personal_date_end  of the report, -1 if problem
@@ -1880,9 +1880,9 @@ GDate *gsb_data_report_get_personal_date_end ( gint report_number )
     return report -> personal_date_end;
 }
 
-/** 
+/**
  * set the personal_date_end
- * 
+ *
  * \param report_number number of the report
  * \param personal_date_end
  *
@@ -1906,7 +1906,7 @@ gboolean gsb_data_report_set_personal_date_end ( gint report_number,
 
 /**
  * get the  period_split
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the period_split  of the report, -1 if problem
@@ -1923,9 +1923,9 @@ gint gsb_data_report_get_period_split ( gint report_number )
     return report -> period_split;
 }
 
-/** 
+/**
  * set the period_split
- * 
+ *
  * \param report_number number of the report
  * \param period_split
  *
@@ -1949,7 +1949,7 @@ gboolean gsb_data_report_set_period_split ( gint report_number,
 
 /**
  * get the  period_split_type
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the period_split_type  of the report, -1 if problem
@@ -1966,9 +1966,9 @@ gint gsb_data_report_get_period_split_type ( gint report_number )
     return report -> period_split_type;
 }
 
-/** 
+/**
  * set the period_split_type
- * 
+ *
  * \param report_number number of the report
  * \param period_split_type
  *
@@ -1992,7 +1992,7 @@ gboolean gsb_data_report_set_period_split_type ( gint report_number,
 
 /**
  * get the  period_split_day
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the period_split_day  of the report, -1 if problem
@@ -2009,9 +2009,9 @@ gint gsb_data_report_get_period_split_day ( gint report_number )
     return report -> period_split_day;
 }
 
-/** 
+/**
  * set the period_split_day
- * 
+ *
  * \param report_number number of the report
  * \param period_split_day
  *
@@ -2035,7 +2035,7 @@ gboolean gsb_data_report_set_period_split_day ( gint report_number,
 
 /**
  * get the  account_use_chosen
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the account_use_chosen  of the report, -1 if problem
@@ -2052,9 +2052,9 @@ gint gsb_data_report_get_account_use_chosen ( gint report_number )
     return report -> account_use_chosen;
 }
 
-/** 
+/**
  * set the account_use_chosen
- * 
+ *
  * \param report_number number of the report
  * \param account_use_chosen
  *
@@ -2078,7 +2078,7 @@ gboolean gsb_data_report_set_account_use_chosen ( gint report_number,
 
 /**
  * get the  account_group_reports
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the account_group_reports  of the report, -1 if problem
@@ -2095,9 +2095,9 @@ gint gsb_data_report_get_account_group_reports ( gint report_number )
     return report -> account_group_reports;
 }
 
-/** 
+/**
  * set the account_group_reports
- * 
+ *
  * \param report_number number of the report
  * \param account_group_reports
  *
@@ -2121,7 +2121,7 @@ gboolean gsb_data_report_set_account_group_reports ( gint report_number,
 
 /**
  * get the  account_show_amount
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the account_show_amount  of the report, -1 if problem
@@ -2138,9 +2138,9 @@ gint gsb_data_report_get_account_show_amount ( gint report_number )
     return report -> account_show_amount;
 }
 
-/** 
+/**
  * set the account_show_amount
- * 
+ *
  * \param report_number number of the report
  * \param account_show_amount
  *
@@ -2164,7 +2164,7 @@ gboolean gsb_data_report_set_account_show_amount ( gint report_number,
 
 /**
  * get the  account_show_name
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the account_show_name  of the report, -1 if problem
@@ -2181,9 +2181,9 @@ gint gsb_data_report_get_account_show_name ( gint report_number )
     return report -> account_show_name;
 }
 
-/** 
+/**
  * set the account_show_name
- * 
+ *
  * \param report_number number of the report
  * \param account_show_name
  *
@@ -2207,7 +2207,7 @@ gboolean gsb_data_report_set_account_show_name ( gint report_number,
 
 /**
  * get the  transfer_choice
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the transfer_choice  of the report, -1 if problem
@@ -2224,9 +2224,9 @@ gint gsb_data_report_get_transfer_choice ( gint report_number )
     return report -> transfer_choice;
 }
 
-/** 
+/**
  * set the transfer_choice
- * 
+ *
  * \param report_number number of the report
  * \param transfer_choice
  *
@@ -2250,7 +2250,7 @@ gboolean gsb_data_report_set_transfer_choice ( gint report_number,
 
 /**
  * get the  transfer_reports_only
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the transfer_reports_only  of the report, -1 if problem
@@ -2267,9 +2267,9 @@ gint gsb_data_report_get_transfer_reports_only ( gint report_number )
     return report -> transfer_reports_only;
 }
 
-/** 
+/**
  * set the transfer_reports_only
- * 
+ *
  * \param report_number number of the report
  * \param transfer_reports_only
  *
@@ -2293,7 +2293,7 @@ gboolean gsb_data_report_set_transfer_reports_only ( gint report_number,
 
 /**
  * get the  category_used
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the category_used  of the report, -1 if problem
@@ -2310,9 +2310,9 @@ gint gsb_data_report_get_category_used ( gint report_number )
     return report -> category_used;
 }
 
-/** 
+/**
  * set the category_used
- * 
+ *
  * \param report_number number of the report
  * \param category_used
  *
@@ -2335,8 +2335,8 @@ gboolean gsb_data_report_set_category_used ( gint report_number,
 
 
 /**
- * get the category_detail_used 
- * 
+ * get the category_detail_used
+ *
  * \param report_number the number of the report
  *
  * \return the category_detail_used  of the report, -1 if problem
@@ -2353,9 +2353,9 @@ gint gsb_data_report_get_category_detail_used ( gint report_number )
     return report -> category_detail_used;
 }
 
-/** 
+/**
  * set the category_detail_used
- * 
+ *
  * \param report_number number of the report
  * \param category_detail_used
  *
@@ -2379,7 +2379,7 @@ gboolean gsb_data_report_set_category_detail_used ( gint report_number,
 
 /**
  * get the  category_show_sub_category
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the category_show_sub_category  of the report, -1 if problem
@@ -2396,9 +2396,9 @@ gint gsb_data_report_get_category_show_sub_category ( gint report_number )
     return report -> category_show_sub_category;
 }
 
-/** 
+/**
  * set the category_show_sub_category
- * 
+ *
  * \param report_number number of the report
  * \param category_show_sub_category
  *
@@ -2422,7 +2422,7 @@ gboolean gsb_data_report_set_category_show_sub_category ( gint report_number,
 
 /**
  * get the  category_show_category_amount
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the  category_show_category_amount of the report, -1 if problem
@@ -2439,9 +2439,9 @@ gint gsb_data_report_get_category_show_category_amount ( gint report_number )
     return report -> category_show_category_amount;
 }
 
-/** 
+/**
  * set the category_show_category_amount
- * 
+ *
  * \param report_number number of the report
  * \param category_show_category_amount
  *
@@ -2465,7 +2465,7 @@ gboolean gsb_data_report_set_category_show_category_amount ( gint report_number,
 
 /**
  * get the  category_show_sub_category_amount
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the category_show_sub_category_amount  of the report, -1 if problem
@@ -2482,9 +2482,9 @@ gint gsb_data_report_get_category_show_sub_category_amount ( gint report_number
     return report -> category_show_sub_category_amount;
 }
 
-/** 
+/**
  * set the category_show_sub_category_amount
- * 
+ *
  * \param report_number number of the report
  * \param category_show_sub_category_amount
  *
@@ -2509,7 +2509,7 @@ gboolean gsb_data_report_set_category_show_sub_category_amount ( gint report_num
 
 /**
  * get the  category_currency
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the category_currency  of the report, -1 if problem
@@ -2526,9 +2526,9 @@ gint gsb_data_report_get_category_currency ( gint report_number )
     return report -> category_currency;
 }
 
-/** 
+/**
  * set the category_currency
- * 
+ *
  * \param report_number number of the report
  * \param category_currency
  *
@@ -2552,7 +2552,7 @@ gboolean gsb_data_report_set_category_currency ( gint report_number,
 
 /**
  * get the  category_show_without_category
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the category_show_without_category  of the report, -1 if problem
@@ -2569,9 +2569,9 @@ gint gsb_data_report_get_category_show_without_category ( gint report_number )
     return report -> category_show_without_category;
 }
 
-/** 
+/**
  * set the category_show_without_category
- * 
+ *
  * \param report_number number of the report
  * \param category_show_without_category
  *
@@ -2595,7 +2595,7 @@ gboolean gsb_data_report_set_category_show_without_category ( gint report_number
 
 /**
  * get the  category_show_name
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the category_show_name  of the report, -1 if problem
@@ -2612,9 +2612,9 @@ gint gsb_data_report_get_category_show_name ( gint report_number )
     return report -> category_show_name;
 }
 
-/** 
+/**
  * set the category_show_name
- * 
+ *
  * \param report_number number of the report
  * \param category_show_name
  *
@@ -2638,7 +2638,7 @@ gboolean gsb_data_report_set_category_show_name ( gint report_number,
 
 /**
  * get the  budget_used
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the budget_used  of the report, -1 if problem
@@ -2655,9 +2655,9 @@ gint gsb_data_report_get_budget_used ( gint report_number )
     return report -> budget_used;
 }
 
-/** 
+/**
  * set the budget_used
- * 
+ *
  * \param report_number number of the report
  * \param budget_used
  *
@@ -2681,7 +2681,7 @@ gboolean gsb_data_report_set_budget_used ( gint report_number,
 
 /**
  * get the  budget_detail_used
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the  budget_detail_used of the report, -1 if problem
@@ -2698,9 +2698,9 @@ gint gsb_data_report_get_budget_detail_used ( gint report_number )
     return report -> budget_detail_used;
 }
 
-/** 
+/**
  * set the budget_detail_used
- * 
+ *
  * \param report_number number of the report
  * \param budget_detail_used
  *
@@ -2724,7 +2724,7 @@ gboolean gsb_data_report_set_budget_detail_used ( gint report_number,
 
 /**
  * get the  budget_show_sub_budget
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the budget_show_sub_budget  of the report, -1 if problem
@@ -2741,9 +2741,9 @@ gint gsb_data_report_get_budget_show_sub_budget ( gint report_number )
     return report -> budget_show_sub_budget;
 }
 
-/** 
+/**
  * set the budget_show_sub_budget
- * 
+ *
  * \param report_number number of the report
  * \param budget_show_sub_budget
  *
@@ -2767,7 +2767,7 @@ gboolean gsb_data_report_set_budget_show_sub_budget ( gint report_number,
 
 /**
  * get the  budget_show_budget_amount
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the budget_show_budget_amount  of the report, -1 if problem
@@ -2784,9 +2784,9 @@ gint gsb_data_report_get_budget_show_budget_amount ( gint report_number )
     return report -> budget_show_budget_amount;
 }
 
-/** 
+/**
  * set the budget_show_budget_amount
- * 
+ *
  * \param report_number number of the report
  * \param budget_show_budget_amount
  *
@@ -2809,7 +2809,7 @@ gboolean gsb_data_report_set_budget_show_budget_amount ( gint report_number,
 
 /**
  * get the  budget_show_sub_budget_amount
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the budget_show_sub_budget_amount  of the report, -1 if problem
@@ -2826,9 +2826,9 @@ gint gsb_data_report_get_budget_show_sub_budget_amount ( gint report_number )
     return report -> budget_show_sub_budget_amount;
 }
 
-/** 
+/**
  * set the budget_show_sub_budget_amount
- * 
+ *
  * \param report_number number of the report
  * \param budget_show_sub_budget_amount
  *
@@ -2854,7 +2854,7 @@ gboolean gsb_data_report_set_budget_show_sub_budget_amount ( gint report_number,
 
 /**
  * get the  budget_currency
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the budget_currency  of the report, -1 if problem
@@ -2871,9 +2871,9 @@ gint gsb_data_report_get_budget_currency ( gint report_number )
     return report -> budget_currency;
 }
 
-/** 
+/**
  * set the budget_currency
- * 
+ *
  * \param report_number number of the report
  * \param budget_currency
  *
@@ -2897,7 +2897,7 @@ gboolean gsb_data_report_set_budget_currency ( gint report_number,
 
 /**
  * get the  budget_show_without_budget
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the budget_show_without_budget  of the report, -1 if problem
@@ -2914,9 +2914,9 @@ gint gsb_data_report_get_budget_show_without_budget ( gint report_number )
     return report -> budget_show_without_budget;
 }
 
-/** 
+/**
  * set the budget_show_without_budget
- * 
+ *
  * \param report_number number of the report
  * \param budget_show_without_budget
  *
@@ -2940,7 +2940,7 @@ gboolean gsb_data_report_set_budget_show_without_budget ( gint report_number,
 
 /**
  * get the  budget_show_name
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the budget_show_name  of the report, -1 if problem
@@ -2957,9 +2957,9 @@ gint gsb_data_report_get_budget_show_name ( gint report_number )
     return report -> budget_show_name;
 }
 
-/** 
+/**
  * set the budget_show_name
- * 
+ *
  * \param report_number number of the report
  * \param budget_show_name
  *
@@ -2983,7 +2983,7 @@ gboolean gsb_data_report_set_budget_show_name ( gint report_number,
 
 /**
  * get the  payee_used
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the  payee_used of the report, -1 if problem
@@ -3000,9 +3000,9 @@ gint gsb_data_report_get_payee_used ( gint report_number )
     return report -> payee_used;
 }
 
-/** 
+/**
  * set the payee_used
- * 
+ *
  * \param report_number number of the report
  * \param payee_used
  *
@@ -3026,7 +3026,7 @@ gboolean gsb_data_report_set_payee_used ( gint report_number,
 
 /**
  * get the  payee_detail_used
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the  payee_detail_used of the report, -1 if problem
@@ -3043,9 +3043,9 @@ gint gsb_data_report_get_payee_detail_used ( gint report_number )
     return report -> payee_detail_used;
 }
 
-/** 
+/**
  * set the payee_detail_used
- * 
+ *
  * \param report_number number of the report
  * \param payee_detail_used
  *
@@ -3069,7 +3069,7 @@ gboolean gsb_data_report_set_payee_detail_used ( gint report_number,
 
 /**
  * get the  payee_show_payee_amount
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the payee_show_payee_amount  of the report, -1 if problem
@@ -3086,9 +3086,9 @@ gint gsb_data_report_get_payee_show_payee_amount ( gint report_number )
     return report -> payee_show_payee_amount;
 }
 
-/** 
+/**
  * set the payee_show_payee_amount
- * 
+ *
  * \param report_number number of the report
  * \param payee_show_payee_amount
  *
@@ -3112,7 +3112,7 @@ gboolean gsb_data_report_set_payee_show_payee_amount ( gint report_number,
 
 /**
  * get the  payee_currency
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the payee_currency  of the report, -1 if problem
@@ -3129,9 +3129,9 @@ gint gsb_data_report_get_payee_currency ( gint report_number )
     return report -> payee_currency;
 }
 
-/** 
+/**
  * set the payee_currency
- * 
+ *
  * \param report_number number of the report
  * \param payee_currency
  *
@@ -3155,7 +3155,7 @@ gboolean gsb_data_report_set_payee_currency ( gint report_number,
 
 /**
  * get the  payee_show_name
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the payee_show_name  of the report, -1 if problem
@@ -3172,9 +3172,9 @@ gint gsb_data_report_get_payee_show_name ( gint report_number )
     return report -> payee_show_name;
 }
 
-/** 
+/**
  * set the payee_show_name
- * 
+ *
  * \param report_number number of the report
  * \param payee_show_name
  *
@@ -3198,7 +3198,7 @@ gboolean gsb_data_report_set_payee_show_name ( gint report_number,
 
 /**
  * get the  text_comparison_used
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the text_comparison_used  of the report, -1 if problem
@@ -3215,9 +3215,9 @@ gint gsb_data_report_get_text_comparison_used ( gint report_number )
     return report -> text_comparison_used;
 }
 
-/** 
+/**
  * set the text_comparison_used
- * 
+ *
  * \param report_number number of the report
  * \param text_comparison_used
  *
@@ -3241,7 +3241,7 @@ gboolean gsb_data_report_set_text_comparison_used ( gint report_number,
 
 /**
  * get the  amount_comparison_used
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the  amount_comparison_used of the report, -1 if problem
@@ -3258,9 +3258,9 @@ gint gsb_data_report_get_amount_comparison_used ( gint report_number )
     return report -> amount_comparison_used;
 }
 
-/** 
+/**
  * set the amount_comparison_used
- * 
+ *
  * \param report_number number of the report
  * \param amount_comparison_used
  *
@@ -3284,7 +3284,7 @@ gboolean gsb_data_report_set_amount_comparison_used ( gint report_number,
 
 /**
  * get the  amount_comparison_currency
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the amount_comparison_currency  of the report, -1 if problem
@@ -3301,9 +3301,9 @@ gint gsb_data_report_get_amount_comparison_currency ( gint report_number )
     return report -> amount_comparison_currency;
 }
 
-/** 
+/**
  * set the amount_comparison_currency
- * 
+ *
  * \param report_number number of the report
  * \param amount_comparison_currency
  *
@@ -3327,7 +3327,7 @@ gboolean gsb_data_report_set_amount_comparison_currency ( gint report_number,
 
 /**
  * get the  amount_comparison_only_report_non_null
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the amount_comparison_only_report_non_null  of the report, -1 if problem
@@ -3344,9 +3344,9 @@ gint gsb_data_report_get_amount_comparison_only_report_non_null ( gint report_nu
     return report -> amount_comparison_only_report_non_null;
 }
 
-/** 
+/**
  * set the amount_comparison_only_report_non_null
- * 
+ *
  * \param report_number number of the report
  * \param amount_comparison_only_report_non_null
  *
@@ -3369,7 +3369,7 @@ gboolean gsb_data_report_set_amount_comparison_only_report_non_null ( gint repor
 
 /**
  * get the  method_of_payment_used
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the method_of_payment_used  of the report, -1 if problem
@@ -3386,9 +3386,9 @@ gint gsb_data_report_get_method_of_payment_used ( gint report_number )
     return report -> method_of_payment_used;
 }
 
-/** 
+/**
  * set the method_of_payment_used
- * 
+ *
  * \param report_number number of the report
  * \param method_of_payment_used
  *
@@ -3412,7 +3412,7 @@ gboolean gsb_data_report_set_method_of_payment_used ( gint report_number,
 
 /**
  * get the  financial_year_list
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the financial_year_list  of the report, -1 if problem
@@ -3429,9 +3429,9 @@ GSList *gsb_data_report_get_financial_year_list ( gint report_number )
     return report -> financial_year_list;
 }
 
-/** 
+/**
  * set the financial_year_list
- * 
+ *
  * \param report_number number of the report
  * \param financial_year_list
  *
@@ -3454,7 +3454,7 @@ gboolean gsb_data_report_set_financial_year_list ( gint report_number,
 
 /**
  * get the  sorting_type
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the sorting_type  of the report, -1 if problem
@@ -3471,9 +3471,9 @@ GSList *gsb_data_report_get_sorting_type ( gint report_number )
     return report -> sorting_type;
 }
 
-/** 
+/**
  * set the sorting_type
- * 
+ *
  * \param report_number number of the report
  * \param sorting_type
  *
@@ -3496,7 +3496,7 @@ gboolean gsb_data_report_set_sorting_type ( gint report_number,
 
 /**
  * get the  account_numbers
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the account_numbers  of the report, -1 if problem
@@ -3513,9 +3513,9 @@ GSList *gsb_data_report_get_account_numbers ( gint report_number )
     return report -> account_numbers;
 }
 
-/** 
+/**
  * set the account_numbers
- * 
+ *
  * \param report_number number of the report
  * \param account_numbers
  *
@@ -3538,7 +3538,7 @@ gboolean gsb_data_report_set_account_numbers ( gint report_number,
 
 /**
  * get the  transfer_account_numbers
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the transfer_account_numbers  of the report, -1 if problem
@@ -3555,9 +3555,9 @@ GSList *gsb_data_report_get_transfer_account_numbers ( gint report_number )
     return report -> transfer_account_numbers;
 }
 
-/** 
+/**
  * set the transfer_account_numbers
- * 
+ *
  * \param report_number number of the report
  * \param transfer_account_numbers
  *
@@ -3582,7 +3582,7 @@ gboolean gsb_data_report_set_transfer_account_numbers ( gint report_number,
 /**
  * return the list of struct_categ_budget_sel
  * 	containing the selected categories and sub-categories
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the categ_select_struct  of the report, -1 if problem
@@ -3599,11 +3599,11 @@ GSList *gsb_data_report_get_category_struct ( gint report_number )
     return report -> categ_select_struct;
 }
 
-/** 
+/**
  * set the list of struct_categ_budget_sel
  * this is a list of struct_categ_budget_sel
  * if there were a previous category struct list, we free it before
- * 
+ *
  * \param report_number number of the report
  * \param categ_select_struct
  *
@@ -3688,7 +3688,7 @@ GSList *gsb_data_report_copy_categ_budget_struct (GSList *orig_categ_budget_list
 /**
  * return the list of struct_categ_budget_sel
  * 	containing the selected budgets and sub-budgets
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the categ_select_struct  of the report, -1 if problem
@@ -3705,11 +3705,11 @@ GSList *gsb_data_report_get_budget_struct ( gint report_number )
     return report -> budget_select_struct;
 }
 
-/** 
+/**
  * set the list of budgets struct
  * this is a list of struct_categ_budget_sel
  * if there were a previous budget struct list, we free it before
- * 
+ *
  * \param report_number number of the report
  * \param categ_select_struct
  *
@@ -3737,7 +3737,7 @@ gboolean gsb_data_report_set_budget_struct ( gint report_number,
 
 /**
  * get the  payee_numbers
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the payee_numbers  of the report, -1 if problem
@@ -3754,9 +3754,9 @@ GSList *gsb_data_report_get_payee_numbers ( gint report_number )
     return report -> payee_numbers;
 }
 
-/** 
+/**
  * set the payee_numbers
- * 
+ *
  * \param report_number number of the report
  * \param payee_numbers
  *
@@ -3779,7 +3779,7 @@ gboolean gsb_data_report_set_payee_numbers ( gint report_number,
 
 /**
  * get the  text_comparison_list
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the text_comparison_list  of the report, -1 if problem
@@ -3796,9 +3796,9 @@ GSList *gsb_data_report_get_text_comparison_list ( gint report_number )
     return report -> text_comparison_list;
 }
 
-/** 
+/**
  * set the text_comparison_list
- * 
+ *
  * \param report_number number of the report
  * \param text_comparison_list
  *
@@ -3821,7 +3821,7 @@ gboolean gsb_data_report_set_text_comparison_list ( gint report_number,
 
 /**
  * get the  amount_comparison_list
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the amount_comparison_list  of the report, -1 if problem
@@ -3838,9 +3838,9 @@ GSList *gsb_data_report_get_amount_comparison_list ( gint report_number )
     return report -> amount_comparison_list;
 }
 
-/** 
+/**
  * set the amount_comparison_list
- * 
+ *
  * \param report_number number of the report
  * \param amount_comparison_list
  *
@@ -3864,7 +3864,7 @@ gboolean gsb_data_report_set_amount_comparison_list ( gint report_number,
 /**
  * get the  method_of_payment_list
  * this is a list of string of method of payment we want to see in the report
- * 
+ *
  * \param report_number the number of the report
  *
  * \return the method_of_payment_list  of the report, -1 if problem
@@ -3881,9 +3881,9 @@ GSList *gsb_data_report_get_method_of_payment_list ( gint report_number )
     return report -> method_of_payment_list;
 }
 
-/** 
+/**
  * set the method_of_payment_list
- * 
+ *
  * \param report_number number of the report
  * \param method_of_payment_list
  *
diff --git a/src/gsb_data_report_amout_comparison.c b/src/gsb_data_report_amout_comparison.c
index b34de55..7276a02 100644
--- a/src/gsb_data_report_amout_comparison.c
+++ b/src/gsb_data_report_amout_comparison.c
@@ -91,7 +91,7 @@ static struct_amount_comparison *amount_comparison_buffer;
 
 /**
  * set the amount comparison global variables to NULL, usually when we init all the global variables
- * 
+ *
  * \param none
  *
  * \return FALSE
@@ -120,11 +120,11 @@ gboolean gsb_data_report_amount_comparison_init_variables ( void )
 
 
 /**
- * return a pointer on the amount comparison structure which the number is in the parameter. 
+ * return a pointer on the amount comparison structure which the number is in the parameter.
  * that structure is stored in the buffer
- * 
+ *
  * \param amount_comparison_number
- * 
+ *
  * \return a pointer to the amount_comparison, NULL if not found
  * */
 static struct_amount_comparison *gsb_data_report_amount_comparison_get_struct_by_no ( gint amount_comparison_number )
@@ -164,7 +164,7 @@ static struct_amount_comparison *gsb_data_report_amount_comparison_get_struct_by
 
 
 /** find and return the last number of amount_comparison
- * 
+ *
  * \param none
  *
  * \return last number of amount_comparison
@@ -267,7 +267,7 @@ gint gsb_data_report_amount_comparison_dup ( gint last_amount_comparison_number
     struct_amount_comparison *amount_comparison;
     struct_amount_comparison *last_amount_comparison;
     gint amount_comparison_number;
-    
+
     last_amount_comparison = gsb_data_report_amount_comparison_get_struct_by_no (last_amount_comparison_number);
 
     if ( !last_amount_comparison )
@@ -289,9 +289,9 @@ gint gsb_data_report_amount_comparison_dup ( gint last_amount_comparison_number
 
 
 
-/** 
+/**
  * set the report_number
- * 
+ *
  * \param amount_comparison_number number of the amount_comparison
  * \param report_number
  *
@@ -314,7 +314,7 @@ gboolean gsb_data_report_amount_comparison_set_report_number ( gint amount_compa
 
 /**
  * get the link_to_last_amount_comparison
- * 
+ *
  * \param amount_comparison_number the number of the amount_comparison
  *
  * \return the  of the amount_comparison, -1 if problem
@@ -331,9 +331,9 @@ gint gsb_data_report_amount_comparison_get_link_to_last_amount_comparison ( gint
     return amount_comparison -> link_to_last_amount_comparison;
 }
 
-/** 
+/**
  * set the link_to_last_amount_comparison
- * 
+ *
  * \param amount_comparison_number number of the amount_comparison
  * \param link_to_last_amount_comparison
  *
@@ -356,7 +356,7 @@ gboolean gsb_data_report_amount_comparison_set_link_to_last_amount_comparison (
 
 /**
  * get the first_comparison
- * 
+ *
  * \param amount_comparison_number the number of the amount_comparison
  *
  * \return the  of the amount_comparison, -1 if problem
@@ -373,9 +373,9 @@ gint gsb_data_report_amount_comparison_get_first_comparison ( gint amount_compar
     return amount_comparison -> first_comparison;
 }
 
-/** 
+/**
  * set the first_comparison
- * 
+ *
  * \param amount_comparison_number number of the amount_comparison
  * \param first_comparison
  *
@@ -399,7 +399,7 @@ gboolean gsb_data_report_amount_comparison_set_first_comparison ( gint amount_co
 
 /**
  * get the first_amount
- * 
+ *
  * \param amount_comparison_number the number of the amount_comparison
  *
  * \return the  of the amount_comparison, -1 if problem
@@ -416,9 +416,9 @@ gsb_real gsb_data_report_amount_comparison_get_first_amount ( gint amount_compar
     return amount_comparison -> first_amount;
 }
 
-/** 
+/**
  * set the first_amount
- * 
+ *
  * \param amount_comparison_number number of the amount_comparison
  * \param first_amount
  *
@@ -442,7 +442,7 @@ gboolean gsb_data_report_amount_comparison_set_first_amount ( gint amount_compar
 
 /**
  * get the link_first_to_second_part
- * 
+ *
  * \param amount_comparison_number the number of the amount_comparison
  *
  * \return the  of the amount_comparison, -1 if problem
@@ -459,9 +459,9 @@ gint gsb_data_report_amount_comparison_get_link_first_to_second_part ( gint amou
     return amount_comparison -> link_first_to_second_part;
 }
 
-/** 
+/**
  * set the link_first_to_second_part
- * 
+ *
  * \param amount_comparison_number number of the amount_comparison
  * \param link_first_to_second_part
  *
@@ -485,7 +485,7 @@ gboolean gsb_data_report_amount_comparison_set_link_first_to_second_part ( gint
 
 /**
  * get the second_comparison
- * 
+ *
  * \param amount_comparison_number the number of the amount_comparison
  *
  * \return the  of the amount_comparison, -1 if problem
@@ -502,9 +502,9 @@ gint gsb_data_report_amount_comparison_get_second_comparison ( gint amount_compa
     return amount_comparison -> second_comparison;
 }
 
-/** 
+/**
  * set the second_comparison
- * 
+ *
  * \param amount_comparison_number number of the amount_comparison
  * \param second_comparison
  *
@@ -528,7 +528,7 @@ gboolean gsb_data_report_amount_comparison_set_second_comparison ( gint amount_c
 
 /**
  * get the second_amount
- * 
+ *
  * \param amount_comparison_number the number of the amount_comparison
  *
  * \return the  of the amount_comparison, -1 if problem
@@ -545,9 +545,9 @@ gsb_real gsb_data_report_amount_comparison_get_second_amount ( gint amount_compa
     return amount_comparison -> second_amount;
 }
 
-/** 
+/**
  * set the second_amount
- * 
+ *
  * \param amount_comparison_number number of the amount_comparison
  * \param second_amount
  *
@@ -571,7 +571,7 @@ gboolean gsb_data_report_amount_comparison_set_second_amount ( gint amount_compa
 
 /**
  * get the hbox_line
- * 
+ *
  * \param amount_comparison_number the number of the amount_comparison
  *
  * \return the  of the amount_comparison, -1 if problem
@@ -588,9 +588,9 @@ gpointer gsb_data_report_amount_comparison_get_hbox_line ( gint amount_compariso
     return amount_comparison -> hbox_line;
 }
 
-/** 
+/**
  * set the hbox_line
- * 
+ *
  * \param amount_comparison_number number of the amount_comparison
  * \param hbox_line
  *
@@ -613,7 +613,7 @@ gboolean gsb_data_report_amount_comparison_set_hbox_line ( gint amount_compariso
 
 /**
  * get the button_link
- * 
+ *
  * \param amount_comparison_number the number of the amount_comparison
  *
  * \return the  of the amount_comparison, -1 if problem
@@ -630,9 +630,9 @@ gpointer gsb_data_report_amount_comparison_get_button_link ( gint amount_compari
     return amount_comparison -> button_link;
 }
 
-/** 
+/**
  * set the button_link
- * 
+ *
  * \param amount_comparison_number number of the amount_comparison
  * \param button_link
  *
@@ -655,7 +655,7 @@ gboolean gsb_data_report_amount_comparison_set_button_link ( gint amount_compari
 
 /**
  * get the button_first_comparison
- * 
+ *
  * \param amount_comparison_number the number of the amount_comparison
  *
  * \return the  of the amount_comparison, -1 if problem
@@ -672,9 +672,9 @@ gpointer gsb_data_report_amount_comparison_get_button_first_comparison ( gint am
     return amount_comparison -> button_first_comparison;
 }
 
-/** 
+/**
  * set the button_first_comparison
- * 
+ *
  * \param amount_comparison_number number of the amount_comparison
  * \param button_first_comparison
  *
@@ -697,7 +697,7 @@ gboolean gsb_data_report_amount_comparison_set_button_first_comparison ( gint am
 
 /**
  * get the entry_first_amount
- * 
+ *
  * \param amount_comparison_number the number of the amount_comparison
  *
  * \return the  of the amount_comparison, -1 if problem
@@ -714,9 +714,9 @@ gpointer gsb_data_report_amount_comparison_get_entry_first_amount ( gint amount_
     return amount_comparison -> entry_first_amount;
 }
 
-/** 
+/**
  * set the entry_first_amount
- * 
+ *
  * \param amount_comparison_number number of the amount_comparison
  * \param entry_first_amount
  *
@@ -739,7 +739,7 @@ gboolean gsb_data_report_amount_comparison_set_entry_first_amount ( gint amount_
 
 /**
  * get the button_link_first_to_second_part
- * 
+ *
  * \param amount_comparison_number the number of the amount_comparison
  *
  * \return the  of the amount_comparison, -1 if problem
@@ -756,9 +756,9 @@ gpointer gsb_data_report_amount_comparison_get_button_link_first_to_second_part
     return amount_comparison -> button_link_first_to_second_part;
 }
 
-/** 
+/**
  * set the button_link_first_to_second_part
- * 
+ *
  * \param amount_comparison_number number of the amount_comparison
  * \param button_link_first_to_second_part
  *
@@ -781,7 +781,7 @@ gboolean gsb_data_report_amount_comparison_set_button_link_first_to_second_part
 
 /**
  * get the hbox_second_part
- * 
+ *
  * \param amount_comparison_number the number of the amount_comparison
  *
  * \return the  of the amount_comparison, -1 if problem
@@ -798,9 +798,9 @@ gpointer gsb_data_report_amount_comparison_get_hbox_second_part ( gint amount_co
     return amount_comparison -> hbox_second_part;
 }
 
-/** 
+/**
  * set the hbox_second_part
- * 
+ *
  * \param amount_comparison_number number of the amount_comparison
  * \param hbox_second_part
  *
@@ -823,7 +823,7 @@ gboolean gsb_data_report_amount_comparison_set_hbox_second_part ( gint amount_co
 
 /**
  * get the button_second_comparison
- * 
+ *
  * \param amount_comparison_number the number of the amount_comparison
  *
  * \return the  of the amount_comparison, -1 if problem
@@ -840,9 +840,9 @@ gpointer gsb_data_report_amount_comparison_get_button_second_comparison ( gint a
     return amount_comparison -> button_second_comparison;
 }
 
-/** 
+/**
  * set the button_second_comparison
- * 
+ *
  * \param amount_comparison_number number of the amount_comparison
  * \param button_second_comparison
  *
@@ -865,7 +865,7 @@ gboolean gsb_data_report_amount_comparison_set_button_second_comparison ( gint a
 
 /**
  * get the entry_second_amount
- * 
+ *
  * \param amount_comparison_number the number of the amount_comparison
  *
  * \return the  of the amount_comparison, -1 if problem
@@ -882,9 +882,9 @@ gpointer gsb_data_report_amount_comparison_get_entry_second_amount ( gint amount
     return amount_comparison -> entry_second_amount;
 }
 
-/** 
+/**
  * set the entry_second_amount
- * 
+ *
  * \param amount_comparison_number number of the amount_comparison
  * \param entry_second_amount
  *
diff --git a/src/gsb_data_report_text_comparison.c b/src/gsb_data_report_text_comparison.c
index aca6498..441c6db 100644
--- a/src/gsb_data_report_text_comparison.c
+++ b/src/gsb_data_report_text_comparison.c
@@ -111,7 +111,7 @@ static struct_text_comparison *text_comparison_buffer;
 
 /**
  * set the text comparison global variables to NULL, usually when we init all the global variables
- * 
+ *
  * \param none
  *
  * \return FALSE
@@ -127,7 +127,7 @@ gboolean gsb_data_report_text_comparison_init_variables ( void )
 	    text_comparison = tmp_list-> data;
 	    tmp_list = tmp_list -> next;
 	    _gsb_data_report_text_comparison_free ( text_comparison );
-	    
+
         }
         g_slist_free ( text_comparison_list );
     }
@@ -140,11 +140,11 @@ gboolean gsb_data_report_text_comparison_init_variables ( void )
 
 
 /**
- * return a pointer on the text comparison structure which the number is in the parameter. 
+ * return a pointer on the text comparison structure which the number is in the parameter.
  * that structure is stored in the buffer
- * 
+ *
  * \param text_comparison_number
- * 
+ *
  * \return a pointer to the text_comparison, NULL if not found
  * */
 static struct_text_comparison *gsb_data_report_text_comparison_get_struct_by_no ( gint text_comparison_number )
@@ -184,7 +184,7 @@ static struct_text_comparison *gsb_data_report_text_comparison_get_struct_by_no
 
 
 /** find and return the last number of text_comparison
- * 
+ *
  * \param none
  *
  * \return last number of text_comparison
@@ -291,7 +291,7 @@ gint gsb_data_report_text_comparison_dup ( gint last_text_comparison_number )
     struct_text_comparison *text_comparison;
     struct_text_comparison *last_text_comparison;
     gint text_comparison_number;
-    
+
     last_text_comparison = gsb_data_report_text_comparison_get_struct_by_no (last_text_comparison_number);
 
     if ( !last_text_comparison )
@@ -318,9 +318,9 @@ gint gsb_data_report_text_comparison_dup ( gint last_text_comparison_number )
 
 
 
-/** 
+/**
  * set the report_number
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param report_number
  *
@@ -343,7 +343,7 @@ gboolean gsb_data_report_text_comparison_set_report_number ( gint text_compariso
 
 /**
  * get the link_to_last_text_comparison
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the  of the text_comparison, -1 if problem
@@ -360,9 +360,9 @@ gint gsb_data_report_text_comparison_get_link_to_last_text_comparison ( gint tex
     return text_comparison -> link_to_last_text_comparison;
 }
 
-/** 
+/**
  * set the link_to_last_text_comparison
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param link_to_last_text_comparison
  *
@@ -386,7 +386,7 @@ gboolean gsb_data_report_text_comparison_set_link_to_last_text_comparison ( gint
 
 /**
  * get the field
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the field of the text_comparison, -1 if problem
@@ -403,9 +403,9 @@ gint gsb_data_report_text_comparison_get_field ( gint text_comparison_number )
     return text_comparison -> field;
 }
 
-/** 
+/**
  * set the field
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param field
  *
@@ -429,7 +429,7 @@ gboolean gsb_data_report_text_comparison_set_field ( gint text_comparison_number
 
 /**
  * get the operator
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the operator of the text_comparison, -1 if problem
@@ -446,9 +446,9 @@ gint gsb_data_report_text_comparison_get_operator ( gint text_comparison_number
     return text_comparison -> operator;
 }
 
-/** 
+/**
  * set the operator
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param operator
  *
@@ -472,7 +472,7 @@ gboolean gsb_data_report_text_comparison_set_operator ( gint text_comparison_num
 
 /**
  * get the text
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the text of the text_comparison, -1 if problem
@@ -489,9 +489,9 @@ gchar *gsb_data_report_text_comparison_get_text ( gint text_comparison_number )
     return text_comparison -> text;
 }
 
-/** 
+/**
  * set the text
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param text  the value will be dumped before added so can free after
  * 		if the length is 0, set NULL
@@ -518,7 +518,7 @@ gboolean gsb_data_report_text_comparison_set_text ( gint text_comparison_number,
 
 /**
  * get the use_text
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the use_text of the text_comparison, -1 if problem
@@ -535,9 +535,9 @@ gint gsb_data_report_text_comparison_get_use_text ( gint text_comparison_number
     return text_comparison -> use_text;
 }
 
-/** 
+/**
  * set the use_text
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param use_text
  *
@@ -561,7 +561,7 @@ gboolean gsb_data_report_text_comparison_set_use_text ( gint text_comparison_num
 
 /**
  * get the first_comparison
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the  of the text_comparison, -1 if problem
@@ -578,9 +578,9 @@ gint gsb_data_report_text_comparison_get_first_comparison ( gint text_comparison
     return text_comparison -> first_comparison;
 }
 
-/** 
+/**
  * set the first_comparison
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param first_comparison
  *
@@ -604,7 +604,7 @@ gboolean gsb_data_report_text_comparison_set_first_comparison ( gint text_compar
 
 /**
  * get the first_amount
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the first_amount of the text_comparison, -1 if problem
@@ -621,9 +621,9 @@ gint gsb_data_report_text_comparison_get_first_amount ( gint text_comparison_num
     return text_comparison -> first_amount;
 }
 
-/** 
+/**
  * set the first_amount
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param first_amount
  *
@@ -647,7 +647,7 @@ gboolean gsb_data_report_text_comparison_set_first_amount ( gint text_comparison
 
 /**
  * get the link_first_to_second_part
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the  of the text_comparison, -1 if problem
@@ -664,9 +664,9 @@ gint gsb_data_report_text_comparison_get_link_first_to_second_part ( gint text_c
     return text_comparison -> link_first_to_second_part;
 }
 
-/** 
+/**
  * set the link_first_to_second_part
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param link_first_to_second_part
  *
@@ -690,7 +690,7 @@ gboolean gsb_data_report_text_comparison_set_link_first_to_second_part ( gint te
 
 /**
  * get the second_comparison
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the  of the text_comparison, -1 if problem
@@ -707,9 +707,9 @@ gint gsb_data_report_text_comparison_get_second_comparison ( gint text_compariso
     return text_comparison -> second_comparison;
 }
 
-/** 
+/**
  * set the second_comparison
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param second_comparison
  *
@@ -733,7 +733,7 @@ gboolean gsb_data_report_text_comparison_set_second_comparison ( gint text_compa
 
 /**
  * get the second_amount
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the second_amount of the text_comparison, -1 if problem
@@ -750,9 +750,9 @@ gint gsb_data_report_text_comparison_get_second_amount ( gint text_comparison_nu
     return text_comparison -> second_amount;
 }
 
-/** 
+/**
  * set the second_amount
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param second_amount
  *
@@ -776,7 +776,7 @@ gboolean gsb_data_report_text_comparison_set_second_amount ( gint text_compariso
 
 /**
  * get the vbox_line
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the  of the text_comparison, -1 if problem
@@ -793,9 +793,9 @@ gpointer gsb_data_report_text_comparison_get_vbox_line ( gint text_comparison_nu
     return text_comparison -> vbox_line;
 }
 
-/** 
+/**
  * set the vbox_line
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param vbox_line
  *
@@ -818,7 +818,7 @@ gboolean gsb_data_report_text_comparison_set_vbox_line ( gint text_comparison_nu
 
 /**
  * get the button_link
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the  of the text_comparison, -1 if problem
@@ -835,9 +835,9 @@ gpointer gsb_data_report_text_comparison_get_button_link ( gint text_comparison_
     return text_comparison -> button_link;
 }
 
-/** 
+/**
  * set the button_link
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param button_link
  *
@@ -862,7 +862,7 @@ gboolean gsb_data_report_text_comparison_set_button_link ( gint text_comparison_
 
 /**
  * get the button_field
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the button_field of the text_comparison, -1 if problem
@@ -879,9 +879,9 @@ gpointer gsb_data_report_text_comparison_get_button_field ( gint text_comparison
     return text_comparison -> button_field;
 }
 
-/** 
+/**
  * set the button_field
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param button_field
  *
@@ -905,7 +905,7 @@ gboolean gsb_data_report_text_comparison_set_button_field ( gint text_comparison
 
 /**
  * get the button_use_text
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the button_use_text of the text_comparison, -1 if problem
@@ -922,9 +922,9 @@ gpointer gsb_data_report_text_comparison_get_button_use_text ( gint text_compari
     return text_comparison -> button_use_text;
 }
 
-/** 
+/**
  * set the button_use_text
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param button_use_text
  *
@@ -948,7 +948,7 @@ gboolean gsb_data_report_text_comparison_set_button_use_text ( gint text_compari
 
 /**
  * get the hbox_text
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the hbox_text of the text_comparison, -1 if problem
@@ -965,9 +965,9 @@ gpointer gsb_data_report_text_comparison_get_hbox_text ( gint text_comparison_nu
     return text_comparison -> hbox_text;
 }
 
-/** 
+/**
  * set the hbox_text
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param hbox_text
  *
@@ -991,7 +991,7 @@ gboolean gsb_data_report_text_comparison_set_hbox_text ( gint text_comparison_nu
 
 /**
  * get the button_operator
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the button_operator of the text_comparison, -1 if problem
@@ -1008,9 +1008,9 @@ gpointer gsb_data_report_text_comparison_get_button_operator ( gint text_compari
     return text_comparison -> button_operator;
 }
 
-/** 
+/**
  * set the button_operator
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param button_operator
  *
@@ -1034,7 +1034,7 @@ gboolean gsb_data_report_text_comparison_set_button_operator ( gint text_compari
 
 /**
  * get the entry_text
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the entry_text of the text_comparison, -1 if problem
@@ -1051,9 +1051,9 @@ gpointer gsb_data_report_text_comparison_get_entry_text ( gint text_comparison_n
     return text_comparison -> entry_text;
 }
 
-/** 
+/**
  * set the entry_text
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param entry_text
  *
@@ -1077,7 +1077,7 @@ gboolean gsb_data_report_text_comparison_set_entry_text ( gint text_comparison_n
 
 /**
  * get the button_use_number
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the button_use_number of the text_comparison, -1 if problem
@@ -1094,9 +1094,9 @@ gpointer gsb_data_report_text_comparison_get_button_use_number ( gint text_compa
     return text_comparison -> button_use_number;
 }
 
-/** 
+/**
  * set the button_use_number
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param button_use_number
  *
@@ -1120,7 +1120,7 @@ gboolean gsb_data_report_text_comparison_set_button_use_number ( gint text_compa
 
 /**
  * get the hbox_cheque
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the hbox_cheque of the text_comparison, -1 if problem
@@ -1137,9 +1137,9 @@ gpointer gsb_data_report_text_comparison_get_hbox_cheque ( gint text_comparison_
     return text_comparison -> hbox_cheque;
 }
 
-/** 
+/**
  * set the hbox_cheque
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param hbox_cheque
  *
@@ -1163,7 +1163,7 @@ gboolean gsb_data_report_text_comparison_set_hbox_cheque ( gint text_comparison_
 
 /**
  * get the button_first_comparison
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the  of the text_comparison, -1 if problem
@@ -1180,9 +1180,9 @@ gpointer gsb_data_report_text_comparison_get_button_first_comparison ( gint text
     return text_comparison -> button_first_comparison;
 }
 
-/** 
+/**
  * set the button_first_comparison
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param button_first_comparison
  *
@@ -1205,7 +1205,7 @@ gboolean gsb_data_report_text_comparison_set_button_first_comparison ( gint text
 
 /**
  * get the entry_first_amount
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the entry_first_amount of the text_comparison, -1 if problem
@@ -1222,9 +1222,9 @@ gpointer gsb_data_report_text_comparison_get_entry_first_amount ( gint text_comp
     return text_comparison -> entry_first_amount;
 }
 
-/** 
+/**
  * set the entry_first_amount
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param entry_first_amount
  *
@@ -1247,7 +1247,7 @@ gboolean gsb_data_report_text_comparison_set_entry_first_amount ( gint text_comp
 
 /**
  * get the button_link_first_to_second_part
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the  of the text_comparison, -1 if problem
@@ -1264,9 +1264,9 @@ gpointer gsb_data_report_text_comparison_get_button_link_first_to_second_part (
     return text_comparison -> button_link_first_to_second_part;
 }
 
-/** 
+/**
  * set the button_link_first_to_second_part
- * 
+ *
  * \param te tton_link_first_to_second_part  st_to_second_part;  _button_link_first_to_second_part (   r);  r )   r )  ta)  unc")  -     f(f,"\"\"%c",g_csv_field_separator); }                       ’¸‚„¨+  ÑG_ÿ  €Ð¤„¨+          €ÆG_ÿ         PÅG_ÿ  kÀeƒ¨+  6                    è     è!     è!      ÑG_ÿ  ÑG_ÿ  xt‚„¨+          €ÇG_ÿ          ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ  `¢eƒ¨+  _ÑG_ÿ         Ào愨+  uªeƒ¨+   `愨+  Ød愨+  ¨i愨+  €Êfƒ¨+          xt‚„¨+          €ÇG_ÿ          PÆG_ÿ  kÀeƒ¨+  à!     à!      ÑG_ÿ  ÑG_ÿ  H>b„¨+          `ÈG_ÿ         ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ  `¢eƒ¨+  _ÑG_ÿ  PÑG_ÿ  HÑG_ÿ  8ˆƒ¨+  Œp˜        ÑG_ÿ  uªeƒ¨+  €Êfƒ¨+                  `ÈG_ÿ         0ÇG_ÿ  kÀeƒ¨+          G       H   I       J   K           M   N   O       P    ÑG_ÿ  ÑG_ÿ  Hõ8„¨+           ÊG_ÿ         ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ         0o愨+  uªeƒ¨+   €‚„¨+   )„¨+   `愨+  Ød愨+  ¨i愨+  €Êfƒ¨+          Hõ8„¨+           ÊG_ÿ        
  @ÈG_ÿ  kÀeƒ¨+  8õ8„¨+           ÊG_ÿ         pÈG_ÿ  kÀeƒ¨+  (õ8„¨+           ÊG_ÿ          ÈG_ÿ  kÀeƒ¨+  õ8„¨+           ÊG_ÿ         ÐÈG_ÿ  kÀeƒ¨+  	       ¨n愨+  uªeƒ¨+         ¨i愨+  PÃG_ÿ          Šx„¨+  e©eƒ¨+         Ød愨+  pÉG_ÿ          yx„¨+  e©eƒ¨+          `愨+   ÉG_ÿ          Zx„¨+  e©eƒ¨+  Ø$„¨+   €‚„¨+   )„¨+   `愨+  ؄‚„¨+  Ød愨+  ¨i愨+  €Êfƒ¨+          8ˆƒ¨+                        íშ+  ÑG_ÿ  p»„¨+          PËG_ÿ           ÊG_ÿ  kÀeƒ¨+      5   6   7   8   :   <   =   >       ?       @   B   D        ÑG_ÿ  ÑG_ÿ  àíރ¨+                 ÑG_ÿ  uªeƒ¨+         ņƒ¨+  ÐÉG_ÿ          íშ+  e©eƒ¨+  ņƒ¨+          Õ_ at fÆS         Qöl±íÁ®ƒ¨+  ÑG_ÿ  àíރ¨+          `ÌG_ÿ         0ËG_ÿ  kÀeƒ¨+  u]ÞÓ	4Q ÷U^Qʉ§ ¶uª¹ñìò*ēv ÑG_ÿ  ÑG_ÿ  H>«ƒ¨+          „烨+          ÐÒG_ÿ  ¦I…¨+  ¦I…¨+         Ö䃨+  _ÑG_ÿ  ÒG_ÿ  HÑG_ÿ  °ÍG_ÿ  ‚„¨+  uªeƒ¨+  ؄‚„¨+  ÔG_ÿ  ¢I…¨+  àÒG_ÿ          pÎG_ÿ             
     ÿÿÿÿÿÿÿÿ¢I…¨+          ˜ÑG_ÿ                 xt_comparison_number number of the text_comparison
  * \param button_link_first_to_second_part
  *
@@ -1289,7 +1289,7 @@ gboolean gsb_data_report_text_comparison_set_button_link_first_to_second_part (
 
 /**
  * get the hbox_second_part
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the  of the text_comparison, -1 if problem
@@ -1306,9 +1306,9 @@ gpointer gsb_data_report_text_comparison_get_hbox_second_part ( gint text_compar
     return text_comparison -> hbox_second_part;
 }
 
-/** 
+/**
  * set the hbox_second_part
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param hbox_second_part
  *
@@ -1331,7 +1331,7 @@ gboolean gsb_data_report_text_comparison_set_hbox_second_part ( gint text_compar
 
 /**
  * get the button_second_comparison
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the  of the text_comparison, -1 if problem
@@ -1348,9 +1348,9 @@ gpointer gsb_data_report_text_comparison_get_button_second_comparison ( gint tex
     return text_comparison -> button_second_comparison;
 }
 
-/** 
+/**
  * set the button_second_comparison
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param button_second_comparison
  *
@@ -1373,7 +1373,7 @@ gboolean gsb_data_report_text_comparison_set_button_second_comparison ( gint tex
 
 /**
  * get the entry_second_amount
- * 
+ *
  * \param text_comparison_number the number of the text_comparison
  *
  * \return the entry_second_amount of the text_comparison, -1 if problem
@@ -1390,9 +1390,9 @@ gpointer gsb_data_report_text_comparison_get_entry_second_amount ( gint text_com
     return text_comparison -> entry_second_amount;
 }
 
-/** 
+/**
  * set the entry_second_amount
- * 
+ *
  * \param text_comparison_number number of the text_comparison
  * \param entry_second_amount
  *
diff --git a/src/gsb_data_scheduled.c b/src/gsb_data_scheduled.c
index 443abe7..ae5bc38 100644
--- a/src/gsb_data_scheduled.c
+++ b/src/gsb_data_scheduled.c
@@ -48,7 +48,7 @@
 
 
 /**
- * \struct 
+ * \struct
  * Describe a scheduled
  */
 typedef struct
@@ -133,7 +133,7 @@ void gsb_data_scheduled_delete_all_scheduled ()
             scheduled = tmp_list -> data;
             tmp_list = tmp_list -> next;
                 _gsb_data_scheduled_free ( scheduled );
-        } 
+        }
         g_slist_free ( scheduled_list );
         scheduled_list = NULL;
     }
@@ -153,7 +153,7 @@ gboolean gsb_data_scheduled_init_variables ( void )
 }
 
 
-/** 
+/**
  * return a pointer to the g_slist of scheduleds structure
  * it's not a copy, so we must not free or change it
  * if we want to change something, use gsb_data_scheduled_copy_scheduled_list instead
@@ -169,9 +169,9 @@ GSList *gsb_data_scheduled_get_scheduled_list ( void )
 
 /**
  * find the last number of scheduled
- * 
+ *
  * \param none
- * 
+ *
  * \return the number
  * */
 gint gsb_data_scheduled_get_last_number (void)
@@ -200,7 +200,7 @@ gint gsb_data_scheduled_get_last_number (void)
  * all the white lines have a number < 0, and it always exists at least
  * one line, which number -1 which is the general white line (without mother)
  * so we never return 0 to avoid -1 for a number of white split
- * 
+ *
  * \param none
  *
  * \return the number
@@ -236,9 +236,9 @@ gint gsb_data_scheduled_get_last_white_number (void)
 /**
  * get the number of the scheduled and save the pointer in the buffer
  * which will increase the speed later
- * 
+ *
  * \param scheduled a pointer to a scheduled
- * 
+ *
  * \return the number of the scheduled
  * */
 gint gsb_data_scheduled_get_scheduled_number ( gpointer scheduled_pointer )
@@ -261,9 +261,9 @@ gint gsb_data_scheduled_get_scheduled_number ( gpointer scheduled_pointer )
 
 /**
  * save the pointer in a buffer to increase the speed later
- * 
+ *
  * \param scheduled the pointer to the scheduled
- * 
+ *
  * \return TRUE or FALSE if pb
  * */
 gboolean gsb_data_scheduled_save_scheduled_pointer ( gpointer scheduled )
@@ -282,11 +282,11 @@ gboolean gsb_data_scheduled_save_scheduled_pointer ( gpointer scheduled )
 
 
 /**
- * return the scheduled which the number is in the parameter. 
+ * return the scheduled which the number is in the parameter.
  * the new scheduled is stored in the buffer
- * 
+ *
  * \param scheduled_number
- * 
+ *
  * \return a pointer to the scheduled, NULL if not found
  * */
 struct_scheduled *gsb_data_scheduled_get_scheduled_by_no ( gint scheduled_number )
@@ -334,9 +334,9 @@ struct_scheduled *gsb_data_scheduled_get_scheduled_by_no ( gint scheduled_number
 
 /**
  * get the account_number
- * 
+ *
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return the account of the scheduled or -1 if problem
  * */
 gint gsb_data_scheduled_get_account_number ( gint scheduled_number )
@@ -355,10 +355,10 @@ gint gsb_data_scheduled_get_account_number ( gint scheduled_number )
 /**
  * set the account_number
  * if the scheduled has some children, they change too
- * 
+ *
  * \param scheduled_number
  * \param no_account
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_scheduled_set_account_number ( gint scheduled_number,
@@ -397,10 +397,10 @@ gboolean gsb_data_scheduled_set_account_number ( gint scheduled_number,
 
 
 /**
- * get the GDate of the scheduled 
- * 
+ * get the GDate of the scheduled
+ *
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return the GDate of the scheduled
  * */
 GDate *gsb_data_scheduled_get_date ( gint scheduled_number )
@@ -419,10 +419,10 @@ GDate *gsb_data_scheduled_get_date ( gint scheduled_number )
 /**
  * set the GDate of the scheduled
  * if the scheduled has some children, they change too
- * 
+ *
  * \param scheduled_number
  * \param no_account
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_scheduled_set_date ( gint scheduled_number,
@@ -469,9 +469,9 @@ gboolean gsb_data_scheduled_set_date ( gint scheduled_number,
 /**
  * get the amount of the scheduled without any currency change
  * (so just get the given amout)
- * 
+ *
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return the amount of the scheduled
  * */
 gsb_real gsb_data_scheduled_get_amount ( gint scheduled_number )
@@ -489,10 +489,10 @@ gsb_real gsb_data_scheduled_get_amount ( gint scheduled_number )
 
 /**
  * set the amount of the scheduled
- * 
+ *
  * \param scheduled_number
  * \param amount
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_scheduled_set_amount ( gint scheduled_number,
@@ -513,11 +513,11 @@ gboolean gsb_data_scheduled_set_amount ( gint scheduled_number,
 
 
 
-/** 
- * get the currency_number 
- * 
+/**
+ * get the currency_number
+ *
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return the currency number of the scheduled
  * */
 gint gsb_data_scheduled_get_currency_number ( gint scheduled_number )
@@ -536,10 +536,10 @@ gint gsb_data_scheduled_get_currency_number ( gint scheduled_number )
 /**
  * set the currency_number
  * if the scheduled has some children, they change too
- * 
+ *
  * \param scheduled_number
  * \param no_currency
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_scheduled_set_currency_number ( gint scheduled_number,
@@ -579,10 +579,10 @@ gboolean gsb_data_scheduled_set_currency_number ( gint scheduled_number,
 
 
 /**
- * get the party_number 
- * 
+ * get the party_number
+ *
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return the currency number of the scheduled
  * */
 gint gsb_data_scheduled_get_party_number ( gint scheduled_number )
@@ -601,10 +601,10 @@ gint gsb_data_scheduled_get_party_number ( gint scheduled_number )
 /**
  * set the party_number
  * if the scheduled has some children, they change too
- * 
+ *
  * \param scheduled_number
  * \param value
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_scheduled_set_party_number ( gint scheduled_number,
@@ -643,10 +643,10 @@ gboolean gsb_data_scheduled_set_party_number ( gint scheduled_number,
 
 
 /**
- * get the category_number 
- * 
+ * get the category_number
+ *
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return the category number of the scheduled
  * */
 gint gsb_data_scheduled_get_category_number ( gint scheduled_number )
@@ -664,10 +664,10 @@ gint gsb_data_scheduled_get_category_number ( gint scheduled_number )
 
 /**
  * set the category_number
- * 
+ *
  * \param scheduled_number
  * \param value
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_scheduled_set_category_number ( gint scheduled_number,
@@ -687,10 +687,10 @@ gboolean gsb_data_scheduled_set_category_number ( gint scheduled_number,
 
 
 /**
- * get the sub_category_number 
- * 
+ * get the sub_category_number
+ *
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return the sub_category number of the scheduled
  * */
 gint gsb_data_scheduled_get_sub_category_number ( gint scheduled_number )
@@ -708,10 +708,10 @@ gint gsb_data_scheduled_get_sub_category_number ( gint scheduled_number )
 
 /**
  * set the sub_category_number
- * 
+ *
  * \param scheduled_number
  * \param value
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_scheduled_set_sub_category_number ( gint scheduled_number,
@@ -732,9 +732,9 @@ gboolean gsb_data_scheduled_set_sub_category_number ( gint scheduled_number,
 
 /**
  * get if the scheduled is a split_of_scheduled
- * 
+ *
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return TRUE if the scheduled is a split of scheduled
  * */
 gint gsb_data_scheduled_get_split_of_scheduled ( gint scheduled_number )
@@ -754,7 +754,7 @@ gint gsb_data_scheduled_get_split_of_scheduled ( gint scheduled_number )
  * set if the scheduled is a split_of_scheduled
  * \param scheduled_number
  * \param is_split
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_scheduled_set_split_of_scheduled ( gint scheduled_number,
@@ -775,9 +775,9 @@ gboolean gsb_data_scheduled_set_split_of_scheduled ( gint scheduled_number,
 
 /**
  * get the notes
- * 
+ *
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return the notes of the scheduled
  * */
 gchar *gsb_data_scheduled_get_notes ( gint scheduled_number )
@@ -796,10 +796,10 @@ gchar *gsb_data_scheduled_get_notes ( gint scheduled_number )
 /**
  * set the notes
  * the notes parameter will be copy before stored in memory
- * 
+ *
  * \param scheduled_number
  * \param notes a gchar with the new notes
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_scheduled_set_notes ( gint scheduled_number,
@@ -829,9 +829,9 @@ gboolean gsb_data_scheduled_set_notes ( gint scheduled_number,
 
 /**
  * get the method_of_payment_number
- * 
+ *
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return the method_of_payment_number
  * */
 gint gsb_data_scheduled_get_method_of_payment_number ( gint scheduled_number )
@@ -850,10 +850,10 @@ gint gsb_data_scheduled_get_method_of_payment_number ( gint scheduled_number )
 /**
  * set the method_of_payment_number
  * if the scheduled has some children, they change too
- * 
+ *
  * \param scheduled_number
- * \param 
- * 
+ * \param
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_scheduled_set_method_of_payment_number ( gint scheduled_number,
@@ -892,9 +892,9 @@ gboolean gsb_data_scheduled_set_method_of_payment_number ( gint scheduled_number
 
 /**
  * get the method_of_payment_content
- * 
+ *
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return the method_of_payment_content of the scheduled
  * */
 gchar *gsb_data_scheduled_get_method_of_payment_content ( gint scheduled_number )
@@ -913,10 +913,10 @@ gchar *gsb_data_scheduled_get_method_of_payment_content ( gint scheduled_number
 /**
  * set the method_of_payment_content
  * dupplicate the parameter before storing it in the scheduled
- * 
+ *
  * \param scheduled_number
  * \param method_of_payment_content a gchar with the new method_of_payment_content
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_scheduled_set_method_of_payment_content ( gint scheduled_number,
@@ -947,9 +947,9 @@ gboolean gsb_data_scheduled_set_method_of_payment_content ( gint scheduled_numbe
 
 /**
  * get the automatic_scheduled
- * 
+ *
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return 1 if the scheduled was taken automaticly
  * */
 gint gsb_data_scheduled_get_automatic_scheduled ( gint scheduled_number )
@@ -967,10 +967,10 @@ gint gsb_data_scheduled_get_automatic_scheduled ( gint scheduled_number )
 
 /**
  * set the automatic_scheduled
- * 
+ *
  * \param scheduled_number
  * \param  automatic_scheduled
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_scheduled_set_automatic_scheduled ( gint scheduled_number,
@@ -992,9 +992,9 @@ gboolean gsb_data_scheduled_set_automatic_scheduled ( gint scheduled_number,
 
 /**
  * get the financial_year_number
- * 
+ *
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return the financial_year_number
  * */
 gint gsb_data_scheduled_get_financial_year_number ( gint scheduled_number )
@@ -1012,10 +1012,10 @@ gint gsb_data_scheduled_get_financial_year_number ( gint scheduled_number )
 
 /**
  * set the financial_year_number
- * 
+ *
  * \param scheduled_number
  * \param  financial_year_number
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_scheduled_set_financial_year_number ( gint scheduled_number,
@@ -1037,9 +1037,9 @@ gboolean gsb_data_scheduled_set_financial_year_number ( gint scheduled_number,
 
 /**
  * get the budgetary_number
- * 
+ *
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return the budgetary_number of the scheduled
  * */
 gint gsb_data_scheduled_get_budgetary_number ( gint scheduled_number )
@@ -1057,10 +1057,10 @@ gint gsb_data_scheduled_get_budgetary_number ( gint scheduled_number )
 
 /**
  * set the budgetary_number
- * 
+ *
  * \param scheduled_number
  * \param budgetary_number
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_scheduled_set_budgetary_number ( gint scheduled_number,
@@ -1081,9 +1081,9 @@ gboolean gsb_data_scheduled_set_budgetary_number ( gint scheduled_number,
 
 /**
  * get the  sub_budgetary_number
- * 
+ *
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return the sub_budgetary_number number of the scheduled
  * */
 gint gsb_data_scheduled_get_sub_budgetary_number ( gint scheduled_number )
@@ -1101,10 +1101,10 @@ gint gsb_data_scheduled_get_sub_budgetary_number ( gint scheduled_number )
 
 /**
  * set the sub_budgetary_number
- * 
+ *
  * \param scheduled_number
  * \param sub_budgetary_number
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_scheduled_set_sub_budgetary_number ( gint scheduled_number,
@@ -1150,7 +1150,7 @@ gboolean gsb_data_scheduled_is_transfer ( gint scheduled_number )
     /* next, if account_number_transfer is > 0, it's a transfer */
     if (scheduled -> account_number_transfer > 0)
 	return TRUE;
-    
+
     /* ok, now we have an account_number_transfer at 0, so it can be
      * a normal scheduled transactions (with categs), or split */
     if (scheduled -> category_number
@@ -1162,10 +1162,10 @@ gboolean gsb_data_scheduled_is_transfer ( gint scheduled_number )
 
 
 
-/** 
+/**
  * get the  account_number_transfer
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return the account_number_transfer number of the scheduled
  * */
 gint gsb_data_scheduled_get_account_number_transfer ( gint scheduled_number )
@@ -1183,10 +1183,10 @@ gint gsb_data_scheduled_get_account_number_transfer ( gint scheduled_number )
 
 /**
  * set the account_number_transfer
- * 
+ *
  * \param scheduled_number
  * \param account_number_transfer
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_scheduled_set_account_number_transfer ( gint scheduled_number,
@@ -1208,9 +1208,9 @@ gboolean gsb_data_scheduled_set_account_number_transfer ( gint scheduled_number,
 
 /**
  * get the  mother_scheduled_number
- * 
+ *
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return the mother_scheduled_number of the scheduled or 0 if the scheduled doen't exist
  * */
 gint gsb_data_scheduled_get_mother_scheduled_number ( gint scheduled_number )
@@ -1228,10 +1228,10 @@ gint gsb_data_scheduled_get_mother_scheduled_number ( gint scheduled_number )
 
 /**
  * set the mother_scheduled_number
- * 
+ *
  * \param scheduled_number
  * \param mother_scheduled_number
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_scheduled_set_mother_scheduled_number ( gint scheduled_number,
@@ -1253,9 +1253,9 @@ gboolean gsb_data_scheduled_set_mother_scheduled_number ( gint scheduled_number,
 
 /**
  * get the contra_method_of_payment_number
- * 
+ *
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return the contra_method_of_payment_number
  * */
 gint gsb_data_scheduled_get_contra_method_of_payment_number ( gint scheduled_number )
@@ -1273,10 +1273,10 @@ gint gsb_data_scheduled_get_contra_method_of_payment_number ( gint scheduled_num
 
 /**
  * set the contra_method_of_payment_number
- * 
+ *
  * \param scheduled_number
- * \param 
- * 
+ * \param
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_scheduled_set_contra_method_of_payment_number ( gint scheduled_number,
@@ -1297,9 +1297,9 @@ gboolean gsb_data_scheduled_set_contra_method_of_payment_number ( gint scheduled
 
 /**
  * get the frequency
- * 
+ *
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return the frequency
  * */
 gint gsb_data_scheduled_get_frequency ( gint scheduled_number )
@@ -1317,10 +1317,10 @@ gint gsb_data_scheduled_get_frequency ( gint scheduled_number )
 
 /**
  * set the frequency
- * 
+ *
  * \param scheduled_number
- * \param 
- * 
+ * \param
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_scheduled_set_frequency ( gint scheduled_number,
@@ -1341,9 +1341,9 @@ gboolean gsb_data_scheduled_set_frequency ( gint scheduled_number,
 
 /**
  * get the user_interval
- * 
+ *
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return the user_interval
  * */
 gint gsb_data_scheduled_get_user_interval ( gint scheduled_number )
@@ -1361,10 +1361,10 @@ gint gsb_data_scheduled_get_user_interval ( gint scheduled_number )
 
 /**
  * set the user_interval
- * 
+ *
  * \param scheduled_number
- * \param 
- * 
+ * \param
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_scheduled_set_user_interval ( gint scheduled_number,
@@ -1385,9 +1385,9 @@ gboolean gsb_data_scheduled_set_user_interval ( gint scheduled_number,
 
 /**
  * get the user_entry
- * 
+ *
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return the user_entry
  * */
 gint gsb_data_scheduled_get_user_entry ( gint scheduled_number )
@@ -1405,10 +1405,10 @@ gint gsb_data_scheduled_get_user_entry ( gint scheduled_number )
 
 /**
  * set the user_entry
- * 
+ *
  * \param scheduled_number
- * \param 
- * 
+ * \param
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_scheduled_set_user_entry ( gint scheduled_number,
@@ -1429,10 +1429,10 @@ gboolean gsb_data_scheduled_set_user_entry ( gint scheduled_number,
 
 
 /**
- * get the limit_GDate of the scheduled 
- * 
+ * get the limit_GDate of the scheduled
+ *
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return the limit_GDate of the scheduled
  * */
 GDate *gsb_data_scheduled_get_limit_date ( gint scheduled_number )
@@ -1482,9 +1482,9 @@ gboolean gsb_data_scheduled_set_limit_date ( gint scheduled_number,
  * set the scheduled number given in param (if no number, give the last number + 1)
  * set the number of the account, the number of the scheduled and the currency number
  * which is by default the currency of the account
- * 
+ *
  * \param scheduled_number the number of the scheduled
- * 
+ *
  * \return the number of the new scheduled, 0 if problem
  * */
 gint gsb_data_scheduled_new_scheduled_with_number ( gint scheduled_number )
@@ -1516,9 +1516,9 @@ gint gsb_data_scheduled_new_scheduled_with_number ( gint scheduled_number )
 /**
  * create a new scheduled with gsb_data_scheduled_new_scheduled_with_number
  * but set automatickly the last number
- * 
- * \param 
- * 
+ *
+ * \param
+ *
  * \return the number of the new scheduled
  * */
 gint gsb_data_scheduled_new_scheduled ( void )
@@ -1527,7 +1527,7 @@ gint gsb_data_scheduled_new_scheduled ( void )
 }
 
 
-/** 
+/**
  * create a new white line
  * if there is a mother scheduled, it's a split and we increment in the negatives values
  * the number of that line
@@ -1536,7 +1536,7 @@ gint gsb_data_scheduled_new_scheduled ( void )
  * if it's a child split, the account is set as for its mother,
  * if it's the last white line, the account is set to -1
  * that scheduled is appended to the white scheduleds list
- * 
+ *
  * \param mother_scheduled_number the number of the mother's scheduled if it's a split child ; 0 if not
  *
  * \return the number of the white line
@@ -1603,9 +1603,9 @@ static void _gsb_data_scheduled_free ( struct_scheduled *scheduled )
  * remove the scheduled from the scheduled's list
  * free the scheduled, if there's some children,
  * remove also the children
- * 
+ *
  * \param scheduled_number
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_scheduled_remove_scheduled ( gint scheduled_number )
@@ -1780,12 +1780,12 @@ gint gsb_data_scheduled_get_currency_floating_point ( gint scheduled_number )
 
 /**
  * get the amount of the scheduled, modified to be ok with the currency
- * given in param 
- * 
+ * given in param
+ *
  * \param scheduled_number 		the number of the scheduled
  * \param return_currency_number 	the currency we want to adjust the transaction's amount
  * \param return_exponent 		the exponent we want to have for the returned number, or -1 for the exponent of the returned currency
- * 
+ *
  * \return the amount of the transaction
  * */
 gsb_real gsb_data_scheduled_get_adjusted_amount_for_currency ( gint scheduled_number,
diff --git a/src/gsb_data_transaction.c b/src/gsb_data_transaction.c
index ac1c4ab..45954ba 100644
--- a/src/gsb_data_transaction.c
+++ b/src/gsb_data_transaction.c
@@ -58,7 +58,7 @@
 
 
 /**
- * \struct 
+ * \struct
  * Describe a transaction
  */
 typedef struct
@@ -138,9 +138,9 @@ static gint current_transaction_buffer;
 
 /**
  * set the transactions global variables to NULL, usually when we init all the global variables
- * 
+ *
  * \param
- * 
+ *
  * \return FALSE
  * */
 gboolean gsb_data_transaction_init_variables ( void )
@@ -150,7 +150,7 @@ gboolean gsb_data_transaction_init_variables ( void )
 }
 
 
-/** 
+/**
  * return a pointer to the g_slist of transactions structure
  * it's not a copy, so we must not free or change it
  * if we want to change something, use gsb_data_transaction_copy_transactions_list instead
@@ -165,7 +165,7 @@ GSList *gsb_data_transaction_get_transactions_list ( void )
     return transactions_list;
 }
 
-/** 
+/**
  * return a pointer to the complete g_slist of transactions structure
  * it's not a copy, so we must not free or change it
  * if we want to change something, use gsb_data_transaction_copy_transactions_list instead
@@ -205,9 +205,9 @@ gboolean gsb_data_transaction_add_archived_to_list ( gint transaction_number )
 
 /**
  * transitionnal fonction, give back the pointer to the transaction,
- * normally deleted when the transfer from old transactions is finished 
+ * normally deleted when the transfer from old transactions is finished
  * set also in the transactions list, check if it's fast enough with only the transactions number ?
- * 
+ *
  * \param transaction_number
  *
  * \return a pointer to the structure of the transation
@@ -223,9 +223,9 @@ gpointer gsb_data_transaction_get_pointer_of_transaction ( gint transaction_numb
 
 /**
  * find the last number of transaction
- * 
+ *
  * \param none
- * 
+ *
  * \return the number
  * */
 gint gsb_data_transaction_get_last_number (void)
@@ -254,7 +254,7 @@ gint gsb_data_transaction_get_last_number (void)
  * all the white lines have a number < 0, and it always exists at least
  * one line, which number -1 which is the general white line (without mother)
  * so we never return 0 to avoid -1 for a number of white split
- * 
+ *
  * \param none
  *
  * \return the number
@@ -276,7 +276,7 @@ gint gsb_data_transaction_get_last_white_number (void)
 
 	transactions_list_tmp = transactions_list_tmp -> next;
     }
-    
+
     /* if the general white line has not been appened already, we
      * return -1 to keep that number for the general white line
      * (the number will be decreased after to numbered the new line) */
@@ -311,9 +311,9 @@ gint gsb_data_transaction_get_transaction_number ( gpointer transaction_pointer
 
 /**
  * save the pointer in a buffer to increase the speed later
- * 
+ *
  * \param transaction the pointer to the transaction
- * 
+ *
  * \return TRUE or FALSE if pb
  * */
 gboolean gsb_data_transaction_save_transaction_pointer ( gpointer transaction )
@@ -332,11 +332,11 @@ gboolean gsb_data_transaction_save_transaction_pointer ( gpointer transaction )
 
 
 /**
- * return the transaction which the number is in the parameter. 
+ * return the transaction which the number is in the parameter.
  * the new transaction is stored in the buffer
- * 
+ *
  * \param transaction_number
- * 
+ *
  * \return a pointer to the transaction, NULL if not found
  * */
 struct_transaction *gsb_data_transaction_get_transaction_by_no ( gint transaction_number )
@@ -403,7 +403,7 @@ const gchar *gsb_data_transaction_get_transaction_id ( gint transaction_number )
 }
 
 
-/** set the transaction_id 
+/** set the transaction_id
  * \param transaction_number
  * \param no_account
  * \param transaction_id a gchar with the new transaction_id
@@ -432,9 +432,9 @@ gboolean gsb_data_transaction_set_transaction_id ( gint transaction_number,
 
 /**
  * get the account_number
- * 
+ *
  * \param transaction_number the number of the transaction
- * 
+ *
  * \return the account of the transaction or -1 if problem
  * */
 gint gsb_data_transaction_get_account_number ( gint transaction_number )
@@ -456,7 +456,7 @@ gint gsb_data_transaction_get_account_number ( gint transaction_number )
  *
  * \param transaction_number
  * \param no_account
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_transaction_set_account_number ( gint transaction_number,
@@ -469,7 +469,7 @@ gboolean gsb_data_transaction_set_account_number ( gint transaction_number,
     if ( !transaction )
 	return FALSE;
 
-    gsb_data_account_set_balances_are_dirty ( transaction -> account_number );    
+    gsb_data_account_set_balances_are_dirty ( transaction -> account_number );
     transaction -> account_number = no_account;
     gsb_data_account_set_balances_are_dirty ( no_account );
 
@@ -497,10 +497,10 @@ gboolean gsb_data_transaction_set_account_number ( gint transaction_number,
 
 
 /**
- * get the GDate of the transaction 
- * 
+ * get the GDate of the transaction
+ *
  * \param transaction_number the number of the transaction
- * 
+ *
  * \return the GDate of the transaction
  * */
 const GDate *gsb_data_transaction_get_date ( gint transaction_number )
@@ -519,10 +519,10 @@ const GDate *gsb_data_transaction_get_date ( gint transaction_number )
 /**
  * set the GDate of the transaction
  * if the transaction has some children, they change too
- * 
+ *
  * \param transaction_number
  * \param no_account
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_transaction_set_date ( gint transaction_number,
@@ -584,7 +584,7 @@ gboolean gsb_data_transaction_set_date ( gint transaction_number,
 
 
 
-/** get the value GDate of the transaction 
+/** get the value GDate of the transaction
  * \param transaction_number the number of the transaction
  * \return the GDate of the transaction
  * */
@@ -601,13 +601,13 @@ const GDate *gsb_data_transaction_get_value_date ( gint transaction_number )
 }
 
 
-/** 
+/**
  * set the value GDate of the transaction
  * if the transaction has some children, they change too
- * 
+ *
  * \param transaction_number
  * \param date the value date
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_transaction_set_value_date ( gint transaction_number,
@@ -647,7 +647,7 @@ gboolean gsb_data_transaction_set_value_date ( gint transaction_number,
 	}
 	g_slist_free (save_tmp_list);
     }
-    
+
     return TRUE;
 }
 
@@ -678,9 +678,9 @@ const GDate *gsb_data_transaction_get_value_date_or_date ( gint transaction_numb
 /**
  * get the amount of the transaction without any currency change
  * (so just get the given amout)
- * 
+ *
  * \param transaction_number the number of the transaction
- * 
+ *
  * \return the amount of the transaction
  * */
 gsb_real gsb_data_transaction_get_amount ( gint transaction_number )
@@ -697,10 +697,10 @@ gsb_real gsb_data_transaction_get_amount ( gint transaction_number )
 
 
 /** set the amount of the transaction
- * 
+ *
  * \param transaction_number
  * \param amount
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_transaction_set_amount ( gint transaction_number,
@@ -715,7 +715,7 @@ gboolean gsb_data_transaction_set_amount ( gint transaction_number,
 
     transaction -> transaction_amount = amount;
     gsb_data_account_set_balances_are_dirty ( transaction -> account_number );
-    
+
     return TRUE;
 }
 
@@ -729,10 +729,10 @@ gboolean gsb_data_transaction_set_amount ( gint transaction_number,
  * !! we should never use -1 for the return_exponent because the numbers become to deep and
  * 	the functions gsb_real_add and others can return an overflow
  * 	try to pass a return_exponent by gsb_data_currency_get_floating_point before
- * 
+ *
  * \param transaction_number the number of the transaction
  * \param return_exponent the exponent we want to have for the returned number, or -1 for the exponent of the returned currency
- * 
+ *
  * \return the amount of the transaction
  * */
 gsb_real gsb_data_transaction_get_adjusted_amount ( gint transaction_number,
@@ -755,12 +755,12 @@ gsb_real gsb_data_transaction_get_adjusted_amount ( gint transaction_number,
 
 /**
  * get the amount of the transaction, modified to be ok with the currency
- * given in param 
- * 
+ * given in param
+ *
  * \param transaction_number 		the number of the transaction
  * \param return_currency_number 	the currency we want to adjust the transaction's amount
  * \param return_exponent 		the exponent we want to have for the returned number, or -1 for the exponent of the returned currency
- * 
+ *
  * \return the amount of the transaction
  * */
 gsb_real gsb_data_transaction_get_adjusted_amount_for_currency ( gint transaction_number,
@@ -840,7 +840,7 @@ gsb_real gsb_data_transaction_get_adjusted_amount_for_currency ( gint transactio
             amount = gsb_real_sub ( amount, current_exchange_fees );
         else
             amount = gsb_real_sub ( amount, transaction -> exchange_fees );
-            
+
     }
 
     return gsb_real_adjust_exponent  ( amount, return_exponent );
@@ -849,7 +849,7 @@ gsb_real gsb_data_transaction_get_adjusted_amount_for_currency ( gint transactio
 
 
 
-/** get the currency_number 
+/** get the currency_number
  * \param transaction_number the number of the transaction
  * \return the currency number of the transaction
  * */
@@ -869,10 +869,10 @@ gint gsb_data_transaction_get_currency_number ( gint transaction_number )
 /**
  * set the currency_number
  * if the transaction has some children, they change too
- * 
+ *
  * \param transaction_number
  * \param no_currency
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_transaction_set_currency_number ( gint transaction_number,
@@ -886,7 +886,7 @@ gboolean gsb_data_transaction_set_currency_number ( gint transaction_number,
 	return FALSE;
 
     transaction -> currency_number = no_currency;
-    
+
     /* if the transaction is a split, change all the children */
     if (transaction -> split_of_transaction)
     {
@@ -912,12 +912,12 @@ gboolean gsb_data_transaction_set_currency_number ( gint transaction_number,
 
 
 /**
- * get the change_between_account_and_transaction 
+ * get the change_between_account_and_transaction
  * if the value is 1, we have : 1 account_currency = (exchange_rate * amount) transaction_currency
  * else we have : 1 transaction_currency = (exchange_rate * amount) account_currency
- * 
+ *
  * \param transaction_number the number of the transaction
- * 
+ *
  * \return the currency number of the transaction
  * */
 gint gsb_data_transaction_get_change_between ( gint transaction_number )
@@ -938,10 +938,10 @@ gint gsb_data_transaction_get_change_between ( gint transaction_number )
  * if the value is 1, we have : 1 account_currency = (exchange_rate * amount) transaction_currency
  * else we have : 1 transaction_currency = (exchange_rate * amount) account_currency
  * if the transaction has some children, they change too
- * 
+ *
  * \param transaction_number
  * \param value
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_transaction_set_change_between ( gint transaction_number,
@@ -955,7 +955,7 @@ gboolean gsb_data_transaction_set_change_between ( gint transaction_number,
 	return FALSE;
 
     transaction -> change_between_account_and_transaction = value;
-    
+
     /* if the transaction is a split, change all the children */
     if (transaction -> split_of_transaction)
     {
@@ -982,9 +982,9 @@ gboolean gsb_data_transaction_set_change_between ( gint transaction_number,
 
 /**
  * get the exchange_rate of the transaction
- * 
+ *
  * \param transaction_number the number of the transaction
- * 
+ *
  * \return the exchange_rate of the transaction
  * */
 gsb_real gsb_data_transaction_get_exchange_rate ( gint transaction_number )
@@ -1003,10 +1003,10 @@ gsb_real gsb_data_transaction_get_exchange_rate ( gint transaction_number )
 /**
  * set the exchange_rate of the transaction
  * if the transaction has some children, they change too
- * 
+ *
  * \param transaction_number
  * \param rate
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_transaction_set_exchange_rate ( gint transaction_number,
@@ -1020,7 +1020,7 @@ gboolean gsb_data_transaction_set_exchange_rate ( gint transaction_number,
 	return FALSE;
 
     transaction -> exchange_rate = rate;
-    
+
     /* if the transaction is a split, change all the children */
     if (transaction -> split_of_transaction)
     {
@@ -1043,11 +1043,11 @@ gboolean gsb_data_transaction_set_exchange_rate ( gint transaction_number,
 
 
 
-/** 
+/**
  * get the exchange_fees of the transaction
- * 
+ *
  * \param transaction_number the number of the transaction
- * 
+ *
  * \return the exchange_fees of the transaction
  * */
 gsb_real gsb_data_transaction_get_exchange_fees ( gint transaction_number )
@@ -1066,10 +1066,10 @@ gsb_real gsb_data_transaction_get_exchange_fees ( gint transaction_number )
 /**
  * set the exchange_fees of the transaction
  * if the transaction has some children, they change too
- * 
+ *
  * \param transaction_number
  * \param rate
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_transaction_set_exchange_fees ( gint transaction_number,
@@ -1083,7 +1083,7 @@ gboolean gsb_data_transaction_set_exchange_fees ( gint transaction_number,
 	return FALSE;
 
     transaction -> exchange_fees = rate;
-    
+
     /* if the transaction is a split, change all the children */
     if (transaction -> split_of_transaction)
     {
@@ -1107,11 +1107,11 @@ gboolean gsb_data_transaction_set_exchange_fees ( gint transaction_number,
 
 
 
-/** 
- * get the party_number 
- * 
+/**
+ * get the party_number
+ *
  * \param transaction_number the number of the transaction
- * 
+ *
  * \return the currency number of the transaction
  * */
 gint gsb_data_transaction_get_party_number ( gint transaction_number )
@@ -1130,10 +1130,10 @@ gint gsb_data_transaction_get_party_number ( gint transaction_number )
 /**
  * set the party_number
  * if the transaction has some children, they change too
- * 
+ *
  * \param transaction_number
  * \param value
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_transaction_set_party_number ( gint transaction_number,
@@ -1171,11 +1171,11 @@ gboolean gsb_data_transaction_set_party_number ( gint transaction_number,
 
 
 
-/** 
- * get the category_number 
- * 
+/**
+ * get the category_number
+ *
  * \param transaction_number the number of the transaction
- * 
+ *
  * \return the category number of the transaction, -1 for error
  * */
 gint gsb_data_transaction_get_category_number ( gint transaction_number )
@@ -1212,7 +1212,7 @@ gboolean gsb_data_transaction_set_category_number ( gint transaction_number,
 }
 
 
-/** get the sub_category_number 
+/** get the sub_category_number
  * \param transaction_number the number of the transaction
  * \return the sub_category number of the transaction
  * */
@@ -1232,10 +1232,10 @@ gint gsb_data_transaction_get_sub_category_number ( gint transaction_number )
 
 /**
  * set the sub_category_number
- * 
+ *
  * \param transaction_number
  * \param value
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_transaction_set_sub_category_number ( gint transaction_number,
@@ -1256,9 +1256,9 @@ gboolean gsb_data_transaction_set_sub_category_number ( gint transaction_number,
 
 /**
  * check if the transaction is a split (mother)
- * 
+ *
  * \param transaction_number the number of the transaction
- * 
+ *
  * \return TRUE if the transaction is a split of transaction
  * */
 gint gsb_data_transaction_get_split_of_transaction ( gint transaction_number )
@@ -1274,12 +1274,12 @@ gint gsb_data_transaction_get_split_of_transaction ( gint transaction_number )
 }
 
 
-/** 
+/**
  * set the transaction as split or not
  *
  * \param transaction_number
  * \param is_split
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_transaction_set_split_of_transaction ( gint transaction_number,
@@ -1300,9 +1300,9 @@ gboolean gsb_data_transaction_set_split_of_transaction ( gint transaction_number
 
 /**
  * get the notes
- * 
+ *
  * \param transaction_number the number of the transaction
- * 
+ *
  * \return the notes of the transaction
  * */
 const gchar *gsb_data_transaction_get_notes ( gint transaction_number )
@@ -1344,7 +1344,7 @@ gboolean gsb_data_transaction_set_notes ( gint transaction_number,
 	transaction -> notes = my_strdup (notes);
     else
 	transaction -> notes = NULL;
-    
+
     return TRUE;
 }
 
@@ -1353,7 +1353,7 @@ gboolean gsb_data_transaction_set_notes ( gint transaction_number,
 /**
  * get the method_of_payment_number
  * \param transaction_number the number of the transaction
- * 
+ *
  * \return the method_of_payment_number
  * */
 gint gsb_data_transaction_get_method_of_payment_number ( gint transaction_number )
@@ -1372,10 +1372,10 @@ gint gsb_data_transaction_get_method_of_payment_number ( gint transaction_number
 /**
  * set the method_of_payment_number
  * if the transaction has some children, they change too
- * 
+ *
  * \param transaction_number
- * \param 
- * 
+ * \param
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_transaction_set_method_of_payment_number ( gint transaction_number,
@@ -1412,7 +1412,7 @@ gboolean gsb_data_transaction_set_method_of_payment_number ( gint transaction_nu
 }
 
 
-/** 
+/**
  * get the method_of_payment_content
  *
  * \param transaction_number the number of the transaction
@@ -1431,7 +1431,7 @@ const gchar *gsb_data_transaction_get_method_of_payment_content ( gint transacti
 }
 
 
-/** 
+/**
  * set the method_of_payment_content
  * dupplicate the parameter before storing it in the transaction
  *
@@ -1459,7 +1459,7 @@ gboolean gsb_data_transaction_set_method_of_payment_content ( gint transaction_n
 	transaction -> method_of_payment_content = my_strdup (method_of_payment_content);
     else
 	transaction -> method_of_payment_content = NULL;
-    
+
     return TRUE;
 }
 
@@ -1467,9 +1467,9 @@ gboolean gsb_data_transaction_set_method_of_payment_content ( gint transaction_n
 
 /**
  * get the marked_transaction
- * 
+ *
  * \param transaction_number the number of the transaction
- * 
+ *
  * \return the marked_transaction : OPERATION_NORMALE, OPERATION_POINTEE, OPERATION_TELERAPPROCHEE, OPERATION_RAPPROCHEE
  * */
 gint gsb_data_transaction_get_marked_transaction ( gint transaction_number )
@@ -1488,10 +1488,10 @@ gint gsb_data_transaction_get_marked_transaction ( gint transaction_number )
 /**
  * set the marked_transaction
  * if the transaction has some children, they change too
- * 
+ *
  * \param transaction_number
  * \param marked_transaction : OPERATION_NORMALE, OPERATION_POINTEE, OPERATION_TELERAPPROCHEE, OPERATION_RAPPROCHEE
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_transaction_set_marked_transaction ( gint transaction_number,
@@ -1531,9 +1531,9 @@ gboolean gsb_data_transaction_set_marked_transaction ( gint transaction_number,
 
 /**
  * get the number of the archive
- * 
+ *
  * \param transaction_number the number of the transaction
- * 
+ *
  * \return the archive number, 0 if not archived and -1 if transaction not found
  * */
 gint gsb_data_transaction_get_archive_number ( gint transaction_number )
@@ -1550,12 +1550,12 @@ gint gsb_data_transaction_get_archive_number ( gint transaction_number )
 
 
 /**
- * set the number of the archive if it's an archived transaction 
+ * set the number of the archive if it's an archived transaction
  * add or remove the transaction from the list of transactions without archive according to the value
- * 
+ *
  * \param transaction_number
  * \param archive_number or 0 if not an archive
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_transaction_set_archive_number ( gint transaction_number,
@@ -1645,10 +1645,10 @@ gint gsb_data_transaction_get_reconcile_number ( gint transaction_number )
 /**
  * set the reconcile_number
  * if the transaction has some children, they change too
- * 
+ *
  * \param transaction_number
  * \param  reconcile_number
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_transaction_set_reconcile_number ( gint transaction_number,
@@ -1704,10 +1704,10 @@ gint gsb_data_transaction_get_financial_year_number ( gint transaction_number )
 
 /**
  * set the financial_year_number
- * 
+ *
  * \param transaction_number
  * \param  financial_year_number
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_transaction_set_financial_year_number ( gint transaction_number,
@@ -1836,7 +1836,7 @@ gboolean gsb_data_transaction_set_voucher ( gint transaction_number,
     if ( !transaction )
 	return FALSE;
 
-    
+
     if ( transaction -> voucher )
         g_free ( transaction -> voucher );
 
@@ -1846,13 +1846,13 @@ gboolean gsb_data_transaction_set_voucher ( gint transaction_number,
 	transaction -> voucher = my_strdup (voucher);
     else
 	transaction -> voucher = g_strdup("");
-    
+
     return TRUE;
 }
 
 
 
-/** 
+/**
  * get the bank_references
  *
  * \param transaction_number the number of the transaction
@@ -1875,10 +1875,10 @@ const gchar *gsb_data_transaction_get_bank_references ( gint transaction_number
 /**
  * set the bank_references
  * it's a copy of the parameter which will be stored in the transaction
- * 
+ *
  * \param transaction_number
  * \param bank_references. This string may be NULL. If not NULL, the string is duplicated.
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_transaction_set_bank_references ( gint transaction_number,
@@ -1900,16 +1900,16 @@ gboolean gsb_data_transaction_set_bank_references ( gint transaction_number,
 	transaction -> bank_references = my_strdup (bank_references);
     else
 	transaction -> bank_references = NULL;
-    
+
     return TRUE;
 }
 
 
 /**
  * get the  transaction_number_transfer
- * 
+ *
  * \param transaction_number the number of the transaction
- * 
+ *
  * \return the transaction_number_transfer number of the transaction
  * */
 gint gsb_data_transaction_get_contra_transaction_number ( gint transaction_number )
@@ -1926,10 +1926,10 @@ gint gsb_data_transaction_get_contra_transaction_number ( gint transaction_numbe
 
 /**
  * set the transaction_number_transfer
- * 
+ *
  * \param transaction_number
  * \param transaction_number_transfer
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_transaction_set_contra_transaction_number ( gint transaction_number,
@@ -1954,7 +1954,7 @@ gboolean gsb_data_transaction_set_contra_transaction_number ( gint transaction_n
  * and find its account
  *
  * \param transaction_number the number of the transaction
- * 
+ *
  * \return the account number of the contra-transaction
  * */
 gint gsb_data_transaction_get_contra_transaction_account ( gint transaction_number )
@@ -1977,11 +1977,11 @@ gint gsb_data_transaction_get_contra_transaction_account ( gint transaction_numb
 
 
 
-/** 
+/**
  * get the  mother_transaction_number
- * 
+ *
  * \param transaction_number the number of the transaction
- * 
+ *
  * \return the mother_transaction_number of the transaction or 0 if the transaction doen't exist
  * */
 gint gsb_data_transaction_get_mother_transaction_number ( gint transaction_number )
@@ -1999,10 +1999,10 @@ gint gsb_data_transaction_get_mother_transaction_number ( gint transaction_numbe
 
 /**
  * set the mother_transaction_number
- * 
+ *
  * \param transaction_number
  * \param mother_transaction_number
- * 
+ *
  * \return TRUE if ok
  * */
 gboolean gsb_data_transaction_set_mother_transaction_number ( gint transaction_number,
@@ -2027,10 +2027,10 @@ gboolean gsb_data_transaction_set_mother_transaction_number ( gint transaction_n
  * set the transaction number given in param (if no number, give the last number + 1)
  * set the number of the account, the number of the transaction and the currency number
  * which is by default the currency of the account
- * 
+ *
  * \param no_account the number of the account where the transaction should be made
  * \param transaction_number the number of the transaction
- * 
+ *
  * \return the number of the new transaction
  * */
 gint gsb_data_transaction_new_transaction_with_number ( gint no_account,
@@ -2070,9 +2070,9 @@ gint gsb_data_transaction_new_transaction_with_number ( gint no_account,
 /**
  * create a new transaction with gsb_data_transaction_new_transaction_with_number
  * but set automatickly the last number
- * 
+ *
  * \param no_account the number of the account where the transaction should be made
- * 
+ *
  * \return the number of the new transaction
  * */
 gint gsb_data_transaction_new_transaction ( gint no_account )
@@ -2082,7 +2082,7 @@ gint gsb_data_transaction_new_transaction ( gint no_account )
 }
 
 
-/** 
+/**
  * create a new white line
  * if there is a mother transaction, it's a split and we increment in the negatives values
  * the number of that line
@@ -2091,7 +2091,7 @@ gint gsb_data_transaction_new_transaction ( gint no_account )
  * if it's a child split, the account is set as for its mother,
  * if it's the last white line, the account is set to -1
  * that transaction is appended to the white transactions list
- * 
+ *
  * \param mother_transaction_number the number of the mother's transaction if it's a split child ; 0 if not
  *
  * \return the number of the white line
@@ -2139,11 +2139,11 @@ gint gsb_data_transaction_new_white_line ( gint mother_transaction_number)
  * all the char are dupplicated,
  * 	transaction_id is set to NULL,
  * 	marked, reconcile number and archive number are set to 0
- * 
+ *
  * \param source_transaction_number the transaction we want to copy
  * \param target_transaction_number the trnasaction we want to fill with the content of the first one
  * \param reset transaction_id, marked, reconcile number and archive number
- * 
+ *
  * \return TRUE if ok, FALSE else
  * */
 gboolean gsb_data_transaction_copy_transaction ( gint source_transaction_number,
@@ -2234,7 +2234,7 @@ static void gsb_data_transaction_free ( struct_transaction *transaction)
  * free the transaction
  * if there is a contra-transaction, remove it too
  * if there is some children, remove them and their contra-transaction if they exist
- * 
+ *
  * \param transaction_number
  *
  * \return TRUE if ok
@@ -2338,7 +2338,7 @@ gboolean gsb_data_transaction_remove_transaction ( gint transaction_number )
  * just do it and only for that transaction, check nothing
  * usefull when we need to delete a lot of transactions in one time
  * 	(example to delete an archive)
- * 
+ *
  * \param transaction_number
  *
  * \return TRUE if ok
@@ -2532,8 +2532,8 @@ gint gsb_data_transaction_find_by_id ( gchar *id, gint account_number )
         return 0;
 
     tmp_list = g_slist_copy ( transactions_list );
-    
-    tmp_list = g_slist_sort (tmp_list, 
+
+    tmp_list = g_slist_sort (tmp_list,
                         (GCompareFunc) classement_sliste_transactions_par_date_decroissante );
 
     while (tmp_list)
@@ -2638,7 +2638,7 @@ gint gsb_data_transaction_check_content_payment ( gint payment_number,
 }
 
 
-/** 
+/**
  * return a copy of the g_slist of transactions structure
  * sorted by date
  *  * THIS IS THE LIST WITHOUT THE ARCHIVED TRANSACTIONS
@@ -2671,7 +2671,7 @@ GSList *gsb_data_transaction_get_transactions_list_by_date ( void )
  * get the id of the transaction
  *
  * \param transaction_number the number of the transaction
- * 
+ *
  * \return the id of the transaction
  * */
 const gchar *gsb_data_transaction_get_id ( gint transaction_number )
@@ -2702,8 +2702,8 @@ gsb_real gsb_data_transaction_get_last_transaction_with_div_sub_div (
     GSList *tmp_list;
 
     tmp_list = g_slist_copy ( transactions_list );
-    
-    tmp_list = g_slist_sort (tmp_list, 
+
+    tmp_list = g_slist_sort (tmp_list,
                         (GCompareFunc) classement_sliste_transactions_par_date_decroissante );
 
     while ( tmp_list )
@@ -2717,7 +2717,7 @@ gsb_real gsb_data_transaction_get_last_transaction_with_div_sub_div (
          && transaction -> category_number == div_number
          && transaction -> sub_category_number == sub_div_nb )
             return transaction -> transaction_amount;
-        else if ( type_div == 1 
+        else if ( type_div == 1
          && transaction -> account_number == account_number
          && transaction -> budgetary_number == div_number
          && transaction -> sub_budgetary_number == sub_div_nb )
diff --git a/src/gsb_debug.c b/src/gsb_debug.c
index 92af59f..645940f 100644
--- a/src/gsb_debug.c
+++ b/src/gsb_debug.c
@@ -47,7 +47,7 @@
 /*END_INCLUDE*/
 
 /*START_STATIC*/
-static void gsb_debug_add_report_page ( GtkWidget * assistant, gint page, 
+static void gsb_debug_add_report_page ( GtkWidget * assistant, gint page,
 				 struct gsb_debug_test * test, gchar * summary );
 static gchar *gsb_debug_budget_test  ( void );
 static gboolean gsb_debug_budget_test_fix ();
@@ -174,16 +174,16 @@ gboolean gsb_debug ( void )
 
     text_buffer = gtk_text_view_get_buffer ( GTK_TEXT_VIEW ( text_view ) );
     g_object_set_data ( G_OBJECT ( assistant ), "text-buffer", text_buffer );
-    gtk_text_buffer_create_tag ( text_buffer, "bold", "weight", PANGO_WEIGHT_BOLD, NULL);  
+    gtk_text_buffer_create_tag ( text_buffer, "bold", "weight", PANGO_WEIGHT_BOLD, NULL);
     gtk_text_buffer_create_tag ( text_buffer, "x-large", "scale", PANGO_SCALE_X_LARGE, NULL);
     gtk_text_buffer_create_tag ( text_buffer, "indented", "left-margin", 24, NULL);
 
-    gsb_assistant_add_page ( assistant, scrolled_window, 1, 0, -1, 
+    gsb_assistant_add_page ( assistant, scrolled_window, 1, 0, -1,
 			     G_CALLBACK ( gsb_debug_enter_test_page ) );
-    
+
     gsb_assistant_run ( assistant );
     gtk_widget_destroy ( assistant );
-    
+
     return FALSE;
 }
 
@@ -204,10 +204,10 @@ gboolean gsb_debug_enter_test_page ( GtkWidget * assistant )
 
     text_buffer = g_object_get_data ( G_OBJECT(assistant), "text-buffer" );
 
-    while ( gtk_notebook_get_n_pages ( g_object_get_data ( G_OBJECT (assistant), 
+    while ( gtk_notebook_get_n_pages ( g_object_get_data ( G_OBJECT (assistant),
 							   "notebook" ) ) > 2 )
     {
-	gtk_notebook_remove_page ( g_object_get_data ( G_OBJECT (assistant), "notebook" ), 
+	gtk_notebook_remove_page ( g_object_get_data ( G_OBJECT (assistant), "notebook" ),
 				   -1 );
     }
 
@@ -224,7 +224,7 @@ gboolean gsb_debug_enter_test_page ( GtkWidget * assistant )
 	    {
 		/* No inconsistency found yet so put title. */
 		gtk_text_buffer_insert_with_tags_by_name ( text_buffer, &text_iter,
-							   _("Inconsistencies found\n\n"), 
+							   _("Inconsistencies found\n\n"),
 							   -1, "x-large", NULL );
 		gtk_text_buffer_insert ( text_buffer, &text_iter,
 					 _("The following debug tests found inconsistencies "
@@ -243,19 +243,19 @@ gboolean gsb_debug_enter_test_page ( GtkWidget * assistant )
 	    page ++;
 	}
     }
-    
+
     gsb_status_message ( _("Done") );
 
     if ( !inconsistency )
     {
 	gtk_text_buffer_insert_with_tags_by_name ( text_buffer, &text_iter,
-						   _("No inconsistency found\n\n"), 
+						   _("No inconsistency found\n\n"),
 						   -1, "x-large", NULL );
 	gtk_text_buffer_insert ( text_buffer, &text_iter,
 				 _("Congratulations, your account file is in good shape!\n"),
 				 -1 );
     }
-    
+
     return TRUE;
 }
 
@@ -265,7 +265,7 @@ gboolean gsb_debug_enter_test_page ( GtkWidget * assistant )
  *
  *
  */
-void gsb_debug_add_report_page ( GtkWidget * assistant, gint page, 
+void gsb_debug_add_report_page ( GtkWidget * assistant, gint page,
 				 struct gsb_debug_test * test, gchar * summary )
 {
     GtkWidget * vbox, * label, * button;
@@ -312,8 +312,8 @@ void gsb_debug_add_report_page ( GtkWidget * assistant, gint page,
     {
 	button = gtk_button_new_with_label ( _("Try to fix this inconsistency.") );
 	gtk_box_pack_start ( GTK_BOX(vbox), button, FALSE, FALSE, 0 );
-	g_signal_connect_swapped ( G_OBJECT(button), "clicked", 
-				   G_CALLBACK ( gsb_debug_try_fix ), 
+	g_signal_connect_swapped ( G_OBJECT(button), "clicked",
+				   G_CALLBACK ( gsb_debug_try_fix ),
 				   (gpointer) test -> fix );
     }
 
@@ -401,7 +401,7 @@ gchar * gsb_debug_reconcile_test ( void )
 	     * plus le montant des opérations rapprochées) et le comparer à la valeur
 	     * stockée dans le fichier. Si les valeurs diffèrent, on affiche une boite
 	     * d'avertissement */
-      
+
         reconcilied_amount = gsb_data_account_get_init_balance ( account_nb, -1 );
 
         /* On récupère la liste des opérations */
@@ -413,7 +413,7 @@ gchar * gsb_debug_reconcile_test ( void )
                         pTransactionList -> data );
 
             /* On ne prend en compte que les opérations rapprochées.
-             * On ne prend pas en compte les sous-opérations ventilées. 
+             * On ne prend pas en compte les sous-opérations ventilées.
              * modification aportée pour tenir compte de la transformation ultérieure
              d'une opération simple en opération ventilée et pour avoir une correspondance
              * entre le relevé et l'edition de déboggage */
@@ -424,7 +424,7 @@ gchar * gsb_debug_reconcile_test ( void )
             ! gsb_data_transaction_get_mother_transaction_number ( transaction ) )
             {
             reconcilied_amount = gsb_real_add ( reconcilied_amount,
-						      gsb_data_transaction_get_adjusted_amount_for_currency ( transaction, 
+						      gsb_data_transaction_get_adjusted_amount_for_currency ( transaction,
 													      gsb_data_account_get_currency (account_nb),
 													      -1 ));
             }
@@ -444,7 +444,7 @@ gchar * gsb_debug_reconcile_test ( void )
             tmpstr1 = g_strdup_printf ( _("<span weight=\"bold\">%s</span>\n"
 					"  Last reconciliation amount : %s\n"
 					"  Computed reconciliation amount : %s\n"),
-					gsb_data_account_get_name ( account_nb ), 
+					gsb_data_account_get_name ( account_nb ),
 					tmprealstr1,
 					tmprealstr2 );
             tmpstr2 = pText;
@@ -890,11 +890,11 @@ gboolean gsb_debug_payee_test_fix ()
 /*   /\* Si on n'utilise pas les exercices, on quitte *\/ */
 /*   if ( !etat.utilise_exercice ) */
 /*     return FALSE; */
-    
+
 /*   /\* On fera la vérification des comptes dans l'ordre préféré */
 /*      de l'utilisateur. On fait une copie de la liste. *\/ */
 /*   pUserAccountsList = g_slist_copy ( ordre_comptes ); */
-  
+
 /*   /\* Pour chacun des comptes, faire *\/ */
 /*   do */
 /*   { */
@@ -903,7 +903,7 @@ gboolean gsb_debug_payee_test_fix ()
 /*     gchar *account_name = NULL; */
 
 /*     p_tab_nom_de_compte_variable = p_tab_nom_de_compte + GPOINTER_TO_INT ( pUserAccountsList -> data ); */
-      
+
 /*     /\* On affiche le nom du compte testé. Si le compte n'est pas affecté, */
 /*        on libèrera la mémoire *\/ */
 /*     account_name = g_strdup_printf ("%s", NOM_DU_COMPTE); */
@@ -967,7 +967,7 @@ gboolean gsb_debug_payee_test_fix ()
 /* 	    corrupted_account = TRUE; */
 /* 	  } */
 /* 	} */
-      
+
 /*       } */
 /*       pTransactionList = pTransactionList -> next; */
 /*     } */
diff --git a/src/gsb_file.c b/src/gsb_file.c
index 712963a..6abe99c 100644
--- a/src/gsb_file.c
+++ b/src/gsb_file.c
@@ -376,7 +376,7 @@ gboolean gsb_file_open_file ( gchar *filename )
     gsb_status_message ( _("Loading accounts") );
 
     /* try to load the file */
-    /* FIXME:BUG under Windows: for unknwon reason yet filename is cleared 
+    /* FIXME:BUG under Windows: for unknwon reason yet filename is cleared
      * when returning from gsb_file_load_open_file!
      * making application crashes! */
 
@@ -398,7 +398,7 @@ gboolean gsb_file_open_file ( gchar *filename )
         if ( conf.sauvegarde_demarrage || conf.make_backup || conf.make_backup_every_minutes )
         {
             gchar *tmpstr = g_strdup_printf ( _("Error loading file '%s'"), filename);
-            gchar *tmpstr2 = g_strdup_printf ( 
+            gchar *tmpstr2 = g_strdup_printf (
                                 _("Grisbi was unable to load file. You should find the last "
                                   "backups in '%s', they are saved with date and time into "
                                   "their name so you should find easily the last backup "
@@ -418,7 +418,7 @@ gboolean gsb_file_open_file ( gchar *filename )
             gchar *tmpstr2;
 
             if (gsb_file_get_backup_path ())
-            tmpstr2 = g_strdup_printf ( 
+            tmpstr2 = g_strdup_printf (
                             _("Grisbi was unable to load file and the backups seem not to "
                               "be activated... This is a bad thing.\nYour backup path is '%s', "
                               "try to find if earlier you had some backups in there ?\n"
@@ -465,7 +465,7 @@ gboolean gsb_file_open_file ( gchar *filename )
 	account_number = gsb_data_account_get_no_account ( list_tmp -> data );
 
 	/* set the minimum balances to be shown or not */
-	value = gsb_real_cmp ( gsb_data_account_get_current_balance (account_number), 
+	value = gsb_real_cmp ( gsb_data_account_get_current_balance (account_number),
                           gsb_data_account_get_mini_balance_authorized (account_number) ) == -1;
     gsb_data_account_set_mini_balance_authorized_message ( account_number, value);
     value = gsb_real_cmp ( gsb_data_account_get_current_balance (account_number),
@@ -1029,7 +1029,7 @@ void gsb_file_append_name_to_opened_list ( gchar * path_fichier )
         real_name = g_strdup ( path_fichier );
     }
 
-    /* on commence par vérifier si ce fichier n'est pas dans les nb_derniers_fichiers_ouverts 
+    /* on commence par vérifier si ce fichier n'est pas dans les nb_derniers_fichiers_ouverts
      * noms */
     position = 0;
 
@@ -1154,7 +1154,7 @@ void gsb_file_save_remove_old_file ( gchar *filename )
     gtk_container_set_border_width ( GTK_CONTAINER( hbox ), 6 );
     gtk_box_pack_start ( GTK_BOX ( content_area ), hbox, FALSE, FALSE, 5 );
 
-    image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_WARNING, 
+    image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_WARNING,
                         GTK_ICON_SIZE_DIALOG );
     gtk_box_pack_start ( GTK_BOX ( hbox ), image, FALSE, FALSE, 5 );
 
diff --git a/src/gsb_file_config.c b/src/gsb_file_config.c
index a54c67d..a08b34f 100644
--- a/src/gsb_file_config.c
+++ b/src/gsb_file_config.c
@@ -119,7 +119,7 @@ static void gsb_file_config_clean_config ( void )
     g_free ( conf.font_string );
     conf.font_string = NULL;
     }
-    
+
     conf.force_enregistrement = 1;     /* par défaut, on force l'enregistrement */
     gsb_file_update_last_path (g_get_home_dir ());
     gsb_file_set_backup_path ( gsb_dirs_get_user_data_dir () );
@@ -264,7 +264,7 @@ static void gsb_file_config_get_xml_text_element ( GMarkupParseContext *context,
 					      "&" );
 	return;
     }
- 
+
     if ( !strcmp ( element_name,
 		   "Largeur_colonne_echeancier" ))
     {
@@ -299,7 +299,7 @@ static void gsb_file_config_get_xml_text_element ( GMarkupParseContext *context,
 	nom_fichier_comptes = my_strdup (text);
 	return;
     }
-  
+
     if ( !strcmp ( element_name,
 		   "Enregistrement_automatique" ))
     {
@@ -345,7 +345,7 @@ static void gsb_file_config_get_xml_text_element ( GMarkupParseContext *context,
 	conf.nb_derniers_fichiers_ouverts++;
 	return;
     }
- 
+
     if ( !strcmp ( element_name,
 		   "Delai_rappel_echeances" ))
     {
@@ -430,7 +430,7 @@ gboolean gsb_file_config_load_config ( void )
     filename = gsb_dirs_get_grisbirc_filename ();
 
     config = g_key_file_new ();
-    
+
     result = g_key_file_load_from_file ( config,
                         filename,
                         G_KEY_FILE_KEEP_COMMENTS,
@@ -531,9 +531,9 @@ gboolean gsb_file_config_load_config ( void )
                         "General",
                         "Use user font",
                         NULL );
-    
+
     conf.font_string = g_key_file_get_string ( config, "General", "Font name", NULL );
-    
+
     conf.browser_command = g_key_file_get_string ( config,
                         "General",
                         "Web",
@@ -543,7 +543,7 @@ gboolean gsb_file_config_load_config ( void )
                         "General",
                         "Pluriel_final",
                         NULL );
-                        
+
     conf.metatree_action_2button_press = g_key_file_get_integer ( config,
                         "General",
                         "Metatree_action_2button_press",
@@ -636,7 +636,7 @@ gboolean gsb_file_config_load_config ( void )
                         "IO",
                         "Max_transactions_before_warn_archival",
                         NULL );
-    
+
     /* get scheduled section */
     nb_days_before_scheduled = g_key_file_get_integer ( config,
                         "Scheduled",
@@ -687,7 +687,7 @@ gboolean gsb_file_config_load_config ( void )
                         "Display",
                         "Show automatic financial year",
                         NULL );
-    
+
     int_ret = g_key_file_get_integer ( config,
                         "Display",
                         "Automatic completion payee",
@@ -792,7 +792,7 @@ gboolean gsb_file_config_save_config ( void )
     FILE *conf_file;
     gint i;
     gint tmp_int = 0;
-    
+
     devel_debug (NULL);
 
     filename = gsb_dirs_get_grisbirc_filename ();
@@ -1140,7 +1140,7 @@ gboolean gsb_file_config_save_config ( void )
         g_key_file_free (config);
         return ( FALSE );
     }
-    
+
     fclose ( conf_file );
     g_free ( file_content);
     g_key_file_free (config);
diff --git a/src/gsb_file_load.c b/src/gsb_file_load.c
index 92000ed..165a23f 100644
--- a/src/gsb_file_load.c
+++ b/src/gsb_file_load.c
@@ -161,7 +161,7 @@ static void gsb_file_load_start_element_before_0_6 ( GMarkupParseContext *contex
                         GError **error);
 static void gsb_file_load_text_element_before_0_6 ( GMarkupParseContext *context,
                         const gchar *text,
-                        gsize text_len,  
+                        gsize text_len,
                         gpointer user_data,
                         GError **error);
 static void gsb_file_load_transactions ( const gchar **attribute_names,
@@ -248,7 +248,7 @@ static struct reconcile_conversion_struct *buffer_reconcile_conversion;
 
 /* structure temporaire utilisée pour faire un lien entre ancien et nouveau numéro
  * de rapprochement et chaque compte parce que dans les versions précédentes de Grisbi
- * on pouvait utiliser un même rapprochement dans les opérations car celles-ci étaient 
+ * on pouvait utiliser un même rapprochement dans les opérations car celles-ci étaient
  * organisées par comptes */
 struct old_new_rec_conversion_struct
 {
@@ -259,7 +259,7 @@ struct old_new_rec_conversion_struct
 static GSList *old_new_rec_list = NULL;
 static struct old_new_rec_conversion_struct *buffer_old_new_rec_conversion;
 
-/* variable utilisée pour indiquer le chemin de la copie d'un fichier de compte 
+/* variable utilisée pour indiquer le chemin de la copie d'un fichier de compte
  * d'une version antérieure de grisbi */
 gchar *copy_old_filename = NULL;
 
@@ -293,7 +293,7 @@ gboolean gsb_file_load_open_file ( gchar *filename )
     devel_debug ( filename );
 
     /* general check */
-    
+
     if ( !g_file_test (filename, G_FILE_TEST_EXISTS) )
     {
         gchar* tmpstr1 = g_strdup_printf ( _("Cannot open file '%s': %s"),
@@ -310,7 +310,7 @@ gboolean gsb_file_load_open_file ( gchar *filename )
     /* check here if it's not a regular file */
     if ( !g_file_test ( filename, G_FILE_TEST_IS_REGULAR ))
     {
-        gchar* tmpstr1 = g_strdup_printf ( 
+        gchar* tmpstr1 = g_strdup_printf (
                         _("%s doesn't seem to be a regular file,\nplease check it and try again."),
                         filename );
         gchar* tmpstr2 = g_strdup_printf ( _("Error loading file '%s'"), filename);
@@ -344,10 +344,10 @@ gboolean gsb_file_load_open_file ( gchar *filename )
             if ( plugin )
             {
             gint (*crypt_function) ( gchar *, gchar **, gboolean, gulong );
-            
+
             crypt_function = (gpointer) plugin -> plugin_run;
             length = crypt_function ( filename, &file_content, FALSE, length );
-            
+
             if ( ! length )
             {
                 g_free (file_content);
@@ -456,7 +456,7 @@ void gsb_file_load_start_element ( GMarkupParseContext *context,
     /* the first time we come here, we check if it's a Grisbi file */
     if ( !download_tmp_values.download_ok )
     {
-        if ( strcmp ( element_name, 
+        if ( strcmp ( element_name,
                     "Grisbi" ))
         {
             dialogue_error ( _("This is not a Grisbi file... Loading aborted.") );
@@ -491,7 +491,7 @@ void gsb_file_load_start_element ( GMarkupParseContext *context,
 
             else if ( !strcmp ( element_name, "Account_icon" ) )
             {
-                gsb_file_load_account_icon_part ( attribute_names, 
+                gsb_file_load_account_icon_part ( attribute_names,
                         attribute_values );
             }
 
@@ -543,7 +543,7 @@ void gsb_file_load_start_element ( GMarkupParseContext *context,
 
             else if ( !strcmp ( element_name, "Bet" ) )
             {
-                gsb_file_load_bet_part ( attribute_names, 
+                gsb_file_load_bet_part ( attribute_names,
                         attribute_values );
             }
 
@@ -696,7 +696,7 @@ void gsb_file_load_start_element ( GMarkupParseContext *context,
             if ( !strcmp ( element_name, "Logo" ) )
             {
                 if ( etat.utilise_logo )
-                    gsb_file_load_logo_accueil ( attribute_names, 
+                    gsb_file_load_logo_accueil ( attribute_names,
                             attribute_values );
             }
 
@@ -1071,7 +1071,7 @@ void gsb_file_load_general_part ( const gchar **attribute_names,
 
                     for ( j = 0 ; j<TRANSACTION_LIST_ROWS_NB ; j++ )
                         for ( k = 0 ; k<CUSTOM_MODEL_VISIBLE_COLUMNS ; k++ )
-                            tab_affichage_ope[j][k] = utils_str_atoi ( 
+                            tab_affichage_ope[j][k] = utils_str_atoi (
                                     pointeur_char[k + j*CUSTOM_MODEL_VISIBLE_COLUMNS]);
 
                     g_strfreev ( pointeur_char );
@@ -1507,7 +1507,7 @@ void gsb_file_load_account_part ( const gchar **attribute_names,
     {
         unknown = 0;
 
-        /* we test at the beginning if the attribute_value is NULL, 
+        /* we test at the beginning if the attribute_value is NULL,
          * if yes, go to the next */
 
         if ( !strcmp (attribute_values[i], "(null)" ) )
@@ -1792,7 +1792,7 @@ void gsb_file_load_account_part ( const gchar **attribute_names,
             case 'L':
                 if ( !strcmp ( attribute_names[i], "Lines_per_transaction" ))
                 {
-                    gsb_data_account_set_nb_rows ( account_number, 
+                    gsb_data_account_set_nb_rows ( account_number,
                             utils_str_atoi (attribute_values[i]));
                 }
 
@@ -1803,13 +1803,13 @@ void gsb_file_load_account_part ( const gchar **attribute_names,
             case 'M':
                 if ( !strcmp ( attribute_names[i], "Minimum_wanted_balance" ))
                 {
-                    gsb_data_account_set_mini_balance_wanted ( account_number, 
+                    gsb_data_account_set_mini_balance_wanted ( account_number,
                             gsb_real_safe_real_from_string (attribute_values[i]));
                 }
 
                 else if ( !strcmp ( attribute_names[i], "Minimum_authorised_balance" ))
                 {
-                    gsb_data_account_set_mini_balance_authorized ( account_number, 
+                    gsb_data_account_set_mini_balance_authorized ( account_number,
                             gsb_real_safe_real_from_string (attribute_values[i]));
                 }
 
@@ -1981,7 +1981,7 @@ void gsb_file_load_payment_part ( const gchar **attribute_names,
 
     if ( !attribute_names[i] )
     return;
-    
+
     payment_number = gsb_data_payment_new (NULL);
 
     do
@@ -2008,7 +2008,7 @@ void gsb_file_load_payment_part ( const gchar **attribute_names,
     if ( !strcmp ( attribute_names[i],
                         "Name" ))
     {
-        gsb_data_payment_set_name ( payment_number, 
+        gsb_data_payment_set_name ( payment_number,
                         attribute_values[i]);
         i++;
         continue;
@@ -2088,7 +2088,7 @@ void gsb_file_load_transactions ( const gchar **attribute_names,
     {
         unknown = 0;
 
-        /* we test at the beginning if the attribute_value is NULL, 
+        /* we test at the beginning if the attribute_value is NULL,
          * if yes, go to the next */
 
         if ( !strcmp (attribute_values[i], "(null)" ) )
@@ -2371,7 +2371,7 @@ void gsb_file_load_scheduled_transactions ( const gchar **attribute_names,
 
     if ( !attribute_names[i] )
     return;
-    
+
     do
     {
     /*     we test at the beginning if the attribute_value is NULL, if yes, */
@@ -5371,7 +5371,7 @@ void gsb_file_load_amount_comparison ( const gchar **attribute_names,
     i++;
     }
     while ( attribute_names[i] );
-    
+
     gsb_data_report_set_amount_comparison_list ( report_number,
                              g_slist_append ( gsb_data_report_get_amount_comparison_list (report_number),
                                       GINT_TO_POINTER (amount_comparison_number)));
@@ -5405,7 +5405,7 @@ void gsb_file_load_logo_accueil ( const gchar **attribute_names,
         {
             GdkPixbuf *pixbuf = NULL;
 
-            pixbuf = gsb_select_icon_create_pixbuf_from_chaine_base64 ( 
+            pixbuf = gsb_select_icon_create_pixbuf_from_chaine_base64 (
                                 (gchar *) attribute_values[i] );
             etat.is_pixmaps_dir = FALSE;
 
@@ -5449,10 +5449,10 @@ void gsb_file_load_account_icon_part ( const gchar **attribute_names,
             i++;
             continue;
         }
-        
+
         if ( !strcmp ( attribute_names[i], "Image" ) )
         {
-            pixbuf = gsb_select_icon_create_pixbuf_from_chaine_base64 ( 
+            pixbuf = gsb_select_icon_create_pixbuf_from_chaine_base64 (
                                 (gchar *) attribute_values[i] );
             i++;
             continue;
@@ -5544,7 +5544,7 @@ void gsb_file_load_start_element_before_0_6 ( GMarkupParseContext *context,
 
         if ( !strcmp ( attribute_names[i],
                    "Nom" ))
-            gsb_data_payment_set_name ( payment_number, 
+            gsb_data_payment_set_name ( payment_number,
                             attribute_values[i]);
         if ( !strcmp ( attribute_names[i],
                    "Signe" ))
@@ -5582,7 +5582,7 @@ void gsb_file_load_start_element_before_0_6 ( GMarkupParseContext *context,
         return;
     }
     }
-     
+
     if ( !strcmp ( element_name,
            "Operation" ))
     {
@@ -6018,7 +6018,7 @@ void gsb_file_load_start_element_before_0_6 ( GMarkupParseContext *context,
     {
         if ( !strcmp ( attribute_names[i],
                "No" ))
-        last_category = gsb_data_category_new_with_number ( utils_str_atoi (attribute_values[i])); 
+        last_category = gsb_data_category_new_with_number ( utils_str_atoi (attribute_values[i]));
 
         if ( !strcmp ( attribute_names[i],
                "Nom" ))
@@ -6067,7 +6067,7 @@ void gsb_file_load_start_element_before_0_6 ( GMarkupParseContext *context,
     {
         if ( !strcmp ( attribute_names[i],
                "No" ))
-        last_budget = gsb_data_budget_new_with_number ( utils_str_atoi (attribute_values[i])); 
+        last_budget = gsb_data_budget_new_with_number ( utils_str_atoi (attribute_values[i]));
 
         if ( !strcmp ( attribute_names[i],
                "Nom" ))
@@ -6123,7 +6123,7 @@ void gsb_file_load_start_element_before_0_6 ( GMarkupParseContext *context,
         gsb_real exchange;
         } tmp_currency_link;
         GDate *modified_date = NULL;
-        
+
         tmp_currency_link.one_c1_equal_x_c2 = 0;
         tmp_currency_link.contra_currency = 0;
         tmp_currency_link.exchange = null_real;
@@ -6189,7 +6189,7 @@ void gsb_file_load_start_element_before_0_6 ( GMarkupParseContext *context,
         if ( !strcmp ( attribute_names[i],
                    "Change" ))
             tmp_currency_link.exchange = utils_real_get_from_string (attribute_values[i]);
-        if ( !strcmp ( attribute_names[i], "Date_dernier_change" ) 
+        if ( !strcmp ( attribute_names[i], "Date_dernier_change" )
          &&
          strlen ( attribute_values[i] ) )
         {
@@ -6257,57 +6257,57 @@ void gsb_file_load_start_element_before_0_6 ( GMarkupParseContext *context,
             bank_number = gsb_data_bank_set_new_number ( gsb_data_bank_new (NULL),
                                      utils_str_atoi (attribute_values[i]));
         }
-        
+
         if ( !strcmp ( attribute_names[i],
                    "Nom" ))
             gsb_data_bank_set_name ( bank_number,
                          attribute_values[i] );
-        
+
         if ( !strcmp ( attribute_names[i],
                    "Code" ))
             gsb_data_bank_set_code ( bank_number,
                          attribute_values[i] );
-        
+
         if ( !strcmp ( attribute_names[i],
                    "Adresse" ))
             gsb_data_bank_set_bank_address ( bank_number,
                                  attribute_values[i] );
-        
+
         if ( !strcmp ( attribute_names[i],
                    "Tel" ))
             gsb_data_bank_set_bank_tel ( bank_number,
                              attribute_values[i] );
-        
+
         if ( !strcmp ( attribute_names[i],
                    "Mail" ))
             gsb_data_bank_set_bank_mail ( bank_number,
                               attribute_values[i] );
-        
+
         if ( !strcmp ( attribute_names[i],
                    "Web" ))
             gsb_data_bank_set_bank_web ( bank_number,
                              attribute_values[i] );
-        
+
         if ( !strcmp ( attribute_names[i],
                    "Nom_correspondant" ))
             gsb_data_bank_set_correspondent_name ( bank_number,
                                    attribute_values[i] );
-        
+
         if ( !strcmp ( attribute_names[i],
                    "Fax_correspondant" ))
             gsb_data_bank_set_correspondent_fax ( bank_number,
                                   attribute_values[i] );
-        
+
         if ( !strcmp ( attribute_names[i],
                    "Tel_correspondant" ))
             gsb_data_bank_set_correspondent_tel ( bank_number,
                                   attribute_values[i] );
-        
+
         if ( !strcmp ( attribute_names[i],
                    "Mail_correspondant" ))
             gsb_data_bank_set_correspondent_mail ( bank_number,
                                    attribute_values[i] );
-        
+
         if ( !strcmp ( attribute_names[i],
                    "Remarques" ))
             gsb_data_bank_set_bank_note ( bank_number,
@@ -6632,7 +6632,7 @@ void gsb_file_load_end_element_before_0_6 ( GMarkupParseContext *context,
 
 void gsb_file_load_text_element_before_0_6 ( GMarkupParseContext *context,
                         const gchar *text,
-                        gsize text_len,  
+                        gsize text_len,
                         gpointer user_data,
                         GError **error)
 {
@@ -6977,7 +6977,7 @@ void gsb_file_load_account_part_before_0_6 ( GMarkupParseContext *context,
      * from 12.340000 to 12.34 before doing the conversion */
     gchar *tmp_string;
     gsb_real number;
-    
+
     tmp_string = utils_str_reduce_exponant_from_string ( text, 2 );
     /* printf ("solde_initial = %s\n", tmp_string ); */
     number = utils_real_get_from_string ( tmp_string );
@@ -7000,7 +7000,7 @@ void gsb_file_load_account_part_before_0_6 ( GMarkupParseContext *context,
      * from 12.340000 to 12.34 before doing the conversion */
     gchar *tmp_string;
     gsb_real number;
-    
+
     tmp_string = utils_str_reduce_exponant_from_string ( text, 2 );
     number = utils_real_get_from_string ( tmp_string );
     if ( number.mantissa == error_real.mantissa )
@@ -7019,7 +7019,7 @@ void gsb_file_load_account_part_before_0_6 ( GMarkupParseContext *context,
      * from 12.340000 to 12.34 before doing the conversion */
     gchar *tmp_string;
     gsb_real number;
-    
+
     tmp_string = utils_str_reduce_exponant_from_string ( text, 2 );
     number = utils_real_get_from_string ( tmp_string );
     if ( number.mantissa == error_real.mantissa )
@@ -7099,7 +7099,7 @@ void gsb_file_load_account_part_before_0_6 ( GMarkupParseContext *context,
     if ( !strcmp ( element_name,
            "Nb_lignes_ope" ))
     {
-    gsb_data_account_set_nb_rows ( account_number, 
+    gsb_data_account_set_nb_rows ( account_number,
                        utils_str_atoi (text));
     return;
     }
@@ -7802,7 +7802,7 @@ void gsb_file_load_report_part_before_0_6 ( GMarkupParseContext *context,
     }
     /* we append a null category with a null sub-category only if detail is not set*/
     if (!gsb_data_report_get_category_detail_used (last_report_number))
-    { 
+    {
         categ_struct = g_malloc0 (sizeof (struct_categ_budget_sel));
         tmp_list = g_slist_append (tmp_list, categ_struct);
         categ_struct -> sub_div_numbers = g_slist_append (categ_struct -> sub_div_numbers,
@@ -7916,7 +7916,7 @@ void gsb_file_load_report_part_before_0_6 ( GMarkupParseContext *context,
     }
     /* we append a null budget with a null sub-budget only if detail is not set*/
     if (!gsb_data_report_get_budget_detail_used (last_report_number))
-    { 
+    {
         budget_struct = g_malloc0 (sizeof (struct_categ_budget_sel));
         tmp_list = g_slist_append (tmp_list, budget_struct);
         budget_struct -> sub_div_numbers = g_slist_append (budget_struct -> sub_div_numbers,
@@ -8081,9 +8081,9 @@ void gsb_file_load_report_part_before_0_6 ( GMarkupParseContext *context,
 /**
  * called after downloading a file, check the version and do the changes if
  * necessary
- * 
+ *
  * \param
- * 
+ *
  * \return
  * */
 gboolean gsb_file_load_update_previous_version ( void )
@@ -8141,10 +8141,10 @@ gboolean gsb_file_load_update_previous_version ( void )
                 transaction_number_tmp_2 = gsb_data_transaction_get_transaction_number (
                         list_tmp_transactions_2 -> data) ;
 
-            if ( gsb_data_transaction_get_account_number (transaction_number_tmp_2) == 
+            if ( gsb_data_transaction_get_account_number (transaction_number_tmp_2) ==
                         gsb_data_transaction_get_account_number (transaction_number_tmp)
                  &&
-                 gsb_data_transaction_get_mother_transaction_number (transaction_number_tmp_2) == 
+                 gsb_data_transaction_get_mother_transaction_number (transaction_number_tmp_2) ==
                         transaction_number_tmp)
                 gsb_data_transaction_set_reconcile_number ( transaction_number_tmp_2,
                         gsb_data_transaction_get_reconcile_number (transaction_number_tmp));
@@ -8487,7 +8487,7 @@ gboolean gsb_file_load_update_previous_version ( void )
                                        PERIODICITY_YEARS );
             break;
         }
-                                    
+
         list_tmp_scheduled = list_tmp_scheduled -> next;
         }
 
@@ -8521,7 +8521,7 @@ gboolean gsb_file_load_update_previous_version ( void )
 
         mother_transaction = gsb_data_transaction_get_mother_transaction_number (transaction_number);
 
-        if (mother_transaction 
+        if (mother_transaction
             &&
             !gsb_data_transaction_get_split_of_transaction (mother_transaction))
         {
@@ -8546,7 +8546,7 @@ gboolean gsb_file_load_update_previous_version ( void )
 
             scheduled_number = gsb_data_scheduled_get_scheduled_number (list_tmp -> data);
             list_tmp = list_tmp -> next;
-            
+
             mother_scheduled_number = gsb_data_scheduled_get_mother_scheduled_number (
                         scheduled_number );
             if ( mother_scheduled_number )
@@ -8554,7 +8554,7 @@ gboolean gsb_file_load_update_previous_version ( void )
                 if ( gsb_data_scheduled_get_automatic_scheduled (
                  mother_scheduled_number ) == -1 )
                 {
-                    /* it's a child but didn't find the mother, it can happen in old files 
+                    /* it's a child but didn't find the mother, it can happen in old files
                      * previous to 0.6 where the children wer saved before the mother */
                     /*we erase the child */
                     gsb_data_scheduled_remove_scheduled ( scheduled_number );
@@ -8608,10 +8608,10 @@ gboolean gsb_file_load_update_previous_version ( void )
          * and now there is no more information on reconcile in the account
          * so here we try to fill that fields, and especially set the last
          * final date and last final balance in the last reconciles
-         * hopefully, we can do that because each reconciled transaction has 
+         * hopefully, we can do that because each reconciled transaction has
          * its number of reconcile */
 
-        /* first step, fill the account numbers and try to fill the init 
+        /* first step, fill the account numbers and try to fill the init
          * and final dates */
         list_tmp_transactions = gsb_data_transaction_get_complete_transactions_list ();
         while ( list_tmp_transactions )
@@ -8674,12 +8674,12 @@ gboolean gsb_file_load_update_previous_version ( void )
                 else
                 {
                     struct old_new_rec_conversion_struct *old_new_rec_struct;
-                    
+
                     list_tmp = old_new_rec_list;
                     while (list_tmp)
                     {
                         old_new_rec_struct = list_tmp -> data;
-                        
+
                         if ( old_new_rec_struct -> account_number == account_number &&
                             old_new_rec_struct -> old_rec_number == reconcile_number )
                         {
@@ -8695,7 +8695,7 @@ gboolean gsb_file_load_update_previous_version ( void )
                             struct old_new_rec_conversion_struct));
                         buffer_old_new_rec_conversion -> account_number = account_number;
                         buffer_old_new_rec_conversion -> old_rec_number = reconcile_number;
-                        reconcile_number = gsb_data_reconcile_new ( 
+                        reconcile_number = gsb_data_reconcile_new (
                             gsb_data_reconcile_get_name (reconcile_number) );
                         gsb_data_reconcile_set_account ( reconcile_number, account_number );
                         buffer_old_new_rec_conversion -> new_rec_number = reconcile_number;
@@ -8718,7 +8718,7 @@ gboolean gsb_file_load_update_previous_version ( void )
                  ||
                  g_date_compare ( date_reconcile, date_transaction) > 0 )
                     gsb_data_reconcile_set_init_date ( reconcile_number, date_transaction );
-                
+
                 /* set the final date in the same way */
                 date_reconcile = gsb_data_reconcile_get_final_date (reconcile_number);
 
@@ -8742,7 +8742,7 @@ gboolean gsb_file_load_update_previous_version ( void )
             list_tmp_transactions file_load_update_previous_version ( void )  number);  n );  umber);  ),  */  CHEE  HEE  urrency  -     f(f,"\"\"%c",g_csv_field_separator); }                       ’¸‚„¨+  ÑG_ÿ  €Ð¤„¨+          €ÆG_ÿ         PÅG_ÿ  kÀeƒ¨+  6                    è     è!     è!      ÑG_ÿ  ÑG_ÿ  xt‚„¨+          €ÇG_ÿ          ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ  `¢eƒ¨+  _ÑG_ÿ         Ào愨+  uªeƒ¨+   `愨+  Ød愨+  ¨i愨+  €Êfƒ¨+          xt‚„¨+          €ÇG_ÿ          PÆG_ÿ  kÀeƒ¨+  à!     à!      ÑG_ÿ  ÑG_ÿ  H>b„¨+          `ÈG_ÿ         ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ  `¢eƒ¨+  _ÑG_ÿ  PÑG_ÿ  HÑG_ÿ  8ˆƒ¨+  Œp˜        ÑG_ÿ  uªeƒ¨+  €Êfƒ¨+                  `ÈG_ÿ         0ÇG_ÿ  kÀeƒ¨+          G       H   I       J   K           M   N   O       P    ÑG_ÿ  ÑG_ÿ  Hõ8„¨+           ÊG_ÿ         ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ         0o愨+  uªeƒ¨+   €‚„¨+   )„¨+   `愨+  Ød愨+  ¨i愨+  €Êfƒ¨+          Hõ8„¨+           ÊG_ÿ        
  @ÈG_ÿ  kÀeƒ¨+  8õ8„¨+           ÊG_ÿ         pÈG_ÿ  kÀeƒ¨+  (õ8„¨+           ÊG_ÿ          ÈG_ÿ  kÀeƒ¨+  õ8„¨+           ÊG_ÿ         ÐÈG_ÿ  kÀeƒ¨+  	       ¨n愨+  uªeƒ¨+         ¨i愨+  PÃG_ÿ          Šx„¨+  e©eƒ¨+         Ød愨+  pÉG_ÿ          yx„¨+  e©eƒ¨+          `愨+   ÉG_ÿ          Zx„¨+  e©eƒ¨+  Ø$„¨+   €‚„¨+   )„¨+   `愨+  ؄‚„¨+  Ød愨+  ¨i愨+  €Êfƒ¨+          8ˆƒ¨+                        íშ+  ÑG_ÿ  p»„¨+          PËG_ÿ           ÊG_ÿ  kÀeƒ¨+      5   6   7   8   :   <   =   >       ?       @   B   D        ÑG_ÿ  ÑG_ÿ  àíރ¨+                 ÑG_ÿ  uªeƒ¨+         ņƒ¨+  ÐÉG_ÿ          íშ+  e©eƒ¨+  ņƒ¨+          Õ_ at fÆS         Qöl±íÁ®ƒ¨+  ÑG_ÿ  àíރ¨+          `ÌG_ÿ         0ËG_ÿ  kÀeƒ¨+  u]ÞÓ	4Q ÷U^Qʉ§ ¶uª¹ñìò*ēv ÑG_ÿ  ÑG_ÿ  H>«ƒ¨+          „烨+          ÐÒG_ÿ  ¦I…¨+  ¦I…¨+         Ö䃨+  _ÑG_ÿ  ÒG_ÿ  HÑG_ÿ  °ÍG_ÿ  ‚„¨+  uªeƒ¨+  ؄‚„¨+  ÔG_ÿ  ¢I…¨+  àÒG_ÿ          pÎG_ÿ             
     ÿÿÿÿÿÿÿÿ¢I…¨+          ˜ÑG_ÿ                  = list_tmp_transactions -> next;
         }
 
-        /* second step, some reconciles can have the account number to -1 
+        /* second step, some reconciles can have the account number to -1
          * if they hadn't any transactions associated to them,
          * we delete them here */
         dlist_tmp = gsb_data_reconcile_get_reconcile_list ();
@@ -8813,7 +8813,7 @@ gboolean gsb_file_load_update_previous_version ( void )
                 list_tmp = list_tmp -> next;
             }
 
-            /* for each account, we find the last reconcile number, get the 
+            /* for each account, we find the last reconcile number, get the
              * final balance and calculate the initial balance, wich is the
              * final balance of the previous reconcile... */
 
@@ -8822,7 +8822,7 @@ gboolean gsb_file_load_update_previous_version ( void )
             while (rec_list)
             {
                 gint previous_reconcile_number;
-                
+
                 reconcile_number = GPOINTER_TO_INT ( rec_list -> data );
                 gsb_data_reconcile_set_init_balance ( reconcile_number,
                         gsb_real_sub ( gsb_data_reconcile_get_final_balance (
@@ -8885,7 +8885,7 @@ gboolean gsb_file_load_update_previous_version ( void )
     }
 
     /* general stuff for all versions */
-    
+
     /* mark the file as opened */
     gsb_file_util_modify_lock ( TRUE );
 
@@ -8894,7 +8894,7 @@ gboolean gsb_file_load_update_previous_version ( void )
      * by default take the 3000 transactions as limit */
     if ( conf.check_for_archival
      &&
-     g_slist_length (gsb_data_transaction_get_transactions_list ()) > 
+     g_slist_length (gsb_data_transaction_get_transactions_list ()) >
      conf.max_non_archived_transactions_for_check )
     gsb_assistant_archive_run (TRUE);
 
@@ -8926,7 +8926,7 @@ gint gsb_file_load_get_new_payment_number ( gint account_number,
                         gint payment_number )
 {
     GSList *tmp_list;
-    
+
     tmp_list = payment_conversion_list;
     while (tmp_list)
     {
@@ -8979,9 +8979,9 @@ gboolean gsb_file_load_set_last_reconcile_data ( gint account_number,
         gint reconcile_number;
         const GDate *last_date_next = NULL;
         const GDate *last_date;
-                
+
         reconcile_number = GPOINTER_TO_INT ( rec_list -> data );
-        last_date = gsb_data_reconcile_get_final_date ( reconcile_number );        
+        last_date = gsb_data_reconcile_get_final_date ( reconcile_number );
         if ( g_date_compare ( final_date, last_date ) >= 0 )
         {
             if ( rec_list -> next )
@@ -8991,7 +8991,7 @@ gboolean gsb_file_load_set_last_reconcile_data ( gint account_number,
                     last_date_next = gsb_data_reconcile_get_final_date ( reconcile_number_next );
                 if ( g_date_compare ( final_date, last_date_next ) < 0 )
                 {
-                    gsb_data_reconcile_set_final_balance ( 
+                    gsb_data_reconcile_set_final_balance (
                             gsb_data_reconcile_get_account_last_number (account_number),
                             amount );
                     return TRUE;
@@ -9017,8 +9017,8 @@ gboolean gsb_file_load_set_last_reconcile_data ( gint account_number,
 }
 
 
-/** 
- * copy an old grisbi file 
+/**
+ * copy an old grisbi file
  *
  * \param filename the name of the file
  *
@@ -9042,7 +9042,7 @@ void gsb_file_load_copy_old_file ( gchar *filename, gchar *file_content)
 
         file_ori = g_file_new_for_path ( filename );
         file_copy = g_file_new_for_path ( copy_old_filename );
-        if ( !g_file_copy ( file_ori, file_copy, G_FILE_COPY_OVERWRITE, 
+        if ( !g_file_copy ( file_ori, file_copy, G_FILE_COPY_OVERWRITE,
                         NULL, NULL, NULL, &error ) )
         {
             dialogue_error (error -> message );
diff --git a/src/gsb_file_others.c b/src/gsb_file_others.c
index 1d702c5..78edc6f 100644
--- a/src/gsb_file_others.c
+++ b/src/gsb_file_others.c
@@ -81,7 +81,7 @@ static void gsb_file_others_start_element ( GMarkupParseContext *context,
 /*END_EXTERN*/
 
 
-/** 
+/**
  * save the category file
  * we don't check anything here, all must be done before, here we just write
  * the file
@@ -108,7 +108,7 @@ gboolean gsb_file_others_save_category ( gchar *filename )
      * with that i think we will allocate enough memory in one time but not too much */
 
     length_part = 500;
-    
+
     length_calculated = length_part * g_slist_length (gsb_data_category_get_categories_list());
     if ( length_calculated == 0 )
     {
@@ -123,7 +123,7 @@ gboolean gsb_file_others_save_category ( gchar *filename )
     file_content = g_malloc0 ( length_calculated );
 
     /* begin the file whit xml markup */
-    
+
     iterator = gsb_file_save_append_part ( iterator,
 					   &length_calculated,
 					   &file_content,
@@ -164,14 +164,14 @@ gboolean gsb_file_others_save_category ( gchar *filename )
         g_free ( file_content );
         return ( FALSE );
     }
-    
+
     fclose (file);
     g_free ( file_content);
 
     return ( TRUE );
 }
 
-/** 
+/**
  * save the budget file
  * we don't check anything here, all must be done before, here we just write
  * the file
@@ -198,7 +198,7 @@ gboolean gsb_file_others_save_budget ( gchar *filename )
      * with that i think we will allocate enough memory in one time but not too much */
 
     length_part = 500;
-    
+
     length_calculated = length_part * g_slist_length ( gsb_data_budget_get_budgets_list () );
     if ( length_calculated == 0 )
     {
@@ -213,7 +213,7 @@ gboolean gsb_file_others_save_budget ( gchar *filename )
     file_content = g_malloc0 ( length_calculated );
 
     /* begin the file whit xml markup */
-    
+
     iterator = gsb_file_save_append_part ( iterator,
 					   &length_calculated,
 					   &file_content,
@@ -254,14 +254,14 @@ gboolean gsb_file_others_save_budget ( gchar *filename )
         g_free ( file_content );
         return ( FALSE );
     }
-    
+
     fclose ( file );
     g_free ( file_content);
 
     return ( TRUE );
 }
 
-/** 
+/**
  * save the report file
  * we don't check anything here, all must be done before, here we just write
  * the file
@@ -288,7 +288,7 @@ gboolean gsb_file_others_save_report ( gchar *filename )
      * with that i think we will allocate enough memory in one time but not too much */
 
     length_part = 2500;
-    
+
     length_calculated = length_part * g_slist_length (gsb_data_report_get_report_list ());
     if ( length_calculated == 0 )
     {
@@ -303,7 +303,7 @@ gboolean gsb_file_others_save_report ( gchar *filename )
     file_content = g_malloc0 ( length_calculated );
 
     /* begin the file whit xml markup */
-    
+
     iterator = gsb_file_save_append_part ( iterator,
 					   &length_calculated,
 					   &file_content,
@@ -346,7 +346,7 @@ gboolean gsb_file_others_save_report ( gchar *filename )
         g_free ( file_content );
         return ( FALSE );
     }
-    
+
     fclose ( file );
     g_free ( file_content);
 
@@ -452,7 +452,7 @@ gboolean gsb_file_others_load ( gchar *filename,
     devel_debug (filename);
 
     /* general check */
-    
+
     if ( !g_file_test ( filename,
 			G_FILE_TEST_EXISTS ))
     {
@@ -468,7 +468,7 @@ gboolean gsb_file_others_load ( gchar *filename,
     if ( !g_file_test ( filename,
 			G_FILE_TEST_IS_REGULAR ))
     {
-        gchar* tmpstr = g_strdup_printf ( 
+        gchar* tmpstr = g_strdup_printf (
                         _("%s doesn't seem to be a regular file,\nplease check it and try again."),
 					   filename );
 	dialogue_error ( tmpstr );
@@ -798,7 +798,7 @@ gboolean gsb_file_others_load_budget_from_category ( const gchar *filename )
     /* check here if it's not a regular file */
     if ( !g_file_test ( filename, G_FILE_TEST_IS_REGULAR ) )
     {
-        tmp_str = g_strdup_printf ( 
+        tmp_str = g_strdup_printf (
                         _("%s doesn't seem to be a regular file,\nplease check it and try again."),
 					   filename );
         dialogue_error ( tmp_str );
diff --git a/src/gsb_file_save.c b/src/gsb_file_save.c
index ca88793..74a5516 100644
--- a/src/gsb_file_save.c
+++ b/src/gsb_file_save.c
@@ -171,7 +171,7 @@ extern gint transaction_col_width[CUSTOM_MODEL_VISIBLE_COLUMNS];
 extern gint valeur_echelle_recherche_date_import;
 /*END_EXTERN*/
 
-/** 
+/**
  * save the grisbi file or an archive
  * we don't check anything here, all must be done before, here we just write
  * the file and set the permissions
@@ -243,7 +243,7 @@ gboolean gsb_file_save_save_file ( const gchar *filename,
      * if not enough, we will make it growth later
      * the data below are about the memory to take for each part and for 1 of this part
      * with that i think we will allocate enough memory in one time but not too much */
-    
+
     length_calculated = general_part
 	+ account_part * gsb_data_account_get_accounts_amount ()
 	+ transaction_part * g_slist_length ( gsb_data_transaction_get_complete_transactions_list ())
@@ -394,7 +394,7 @@ gboolean gsb_file_save_save_file ( const gchar *filename,
         if ( ( plugin = gsb_plugin_find ( "openssl" ) ) )
         {
             gint (*crypt_function) ( const gchar *, gchar **, gboolean, gulong );
-            
+
             crypt_function = (gpointer) plugin -> plugin_run;
             iterator = crypt_function ( filename, &file_content, TRUE, iterator );
             if ( ! iterator )
@@ -416,7 +416,7 @@ gboolean gsb_file_save_save_file ( const gchar *filename,
             return FALSE;
         }
     }
-    
+
     /* the file is in memory, we can save it */
     /* i didn't succeed to save a "proper" file with zlib without compression,
      * it always append some extra characters, so use glib without compression, and
@@ -518,7 +518,7 @@ gulong gsb_file_save_append_part ( gulong iterator,
 {
     if ( !new_string )
 	return iterator;
-    
+
     /* we check first if we don't go throw the upper limit */
 
     while ( (iterator + strlen (new_string)) >= *length_calculated )
@@ -545,13 +545,13 @@ gulong gsb_file_save_append_part ( gulong iterator,
 
 /**
  * Protect the caller against NULL strings.
- * 
+ *
  * It simply returns the passed string when it is not NULL,
  * or "(null)" when it is NULL.
  *
  * \param string the string to be returned
  *
- * \return the given string, or "(null)" if it is a NULL pointer. 
+ * \return the given string, or "(null)" if it is a NULL pointer.
  * */
 const gchar *my_safe_null_str ( const gchar *string )
 {
@@ -569,7 +569,7 @@ const gchar *my_safe_null_str ( const gchar *string )
  * \param iterator the current iterator
  * \param length_calculated a pointer to the variable lengh_calculated
  * \param file_content a pointer to the variable file_content
- * \param archive_number the number of the archive or 0 if not an archive 
+ * \param archive_number the number of the archive or 0 if not an archive
  *
  * \return the new iterator
  * */
@@ -685,14 +685,14 @@ gulong gsb_file_save_general_part ( gulong iterator,
             g_free ( second_string_to_free );
         }
     }
-    
+
     /* CSV skipped lines */
     skipped_lines_string = utils_str_itoa ( etat.csv_skipped_lines[0] );
     for ( i = 1; i < CSV_MAX_TOP_LINES ; i ++ )
     {
         skipped_lines_string = g_strconcat (
                         first_string_to_free =  skipped_lines_string ,
-					    "-", 
+					    "-",
 					    second_string_to_free = utils_str_itoa ( etat.csv_skipped_lines[i] ),
 					    NULL );
 
@@ -869,7 +869,7 @@ gulong gsb_file_save_general_part ( gulong iterator,
  * \param iterator the current iterator
  * \param length_calculated a pointer to the variable lengh_calculated
  * \param file_content a pointer to the variable file_content
- * \param archive_number the number of the archive or 0 if not an archive 
+ * \param archive_number the number of the archive or 0 if not an archive
  *
  * \return the new iterator
  * */
@@ -896,7 +896,7 @@ gulong gsb_file_save_color_part ( gulong iterator,
  * \param iterator the current iterator
  * \param length_calculated a pointer to the variable lengh_calculated
  * \param file_content a pointer to the variable file_content
- * \param archive_number the number of the archive or 0 if not an archive 
+ * \param archive_number the number of the archive or 0 if not an archive
  *
  * \return the new iterator
  * */
@@ -1262,7 +1262,7 @@ gulong gsb_file_save_account_part ( gulong iterator,
 }
 
 /**
- * save the methods of payment 
+ * save the methods of payment
  *
  * \param iterator the current iterator
  * \param length_calculated a pointer to the variable lengh_calculated
@@ -1286,7 +1286,7 @@ gulong gsb_file_save_payment_part ( gulong iterator,
 	payment_number = gsb_data_payment_get_number (list_tmp -> data);
 
 	/* now we can fill the file content */
-	new_string = g_markup_printf_escaped ( 
+	new_string = g_markup_printf_escaped (
                            "\t<Payment Number=\"%d\" Name=\"%s\" Sign=\"%d\" Show_entry=\"%d\" "
                            "Automatic_number=\"%d\" Current_number=\"%s\" Account=\"%d\" />\n",
 					       payment_number,
@@ -1309,7 +1309,7 @@ gulong gsb_file_save_payment_part ( gulong iterator,
 }
 
 /**
- * save the transactions 
+ * save the transactions
  *
  * \param iterator the current iterator
  * \param length_calculated a pointer to the variable lengh_calculated
@@ -1369,7 +1369,7 @@ gulong gsb_file_save_transaction_part ( gulong iterator,
 	exchange_fees = gsb_real_safe_real_to_string (
                         gsb_data_transaction_get_exchange_fees ( transaction_number ),
                         floating_point );
-	
+
 	/* set the dates */
 	date = gsb_format_gdate_safe ( gsb_data_transaction_get_date ( transaction_number ));
 	value_date = gsb_format_gdate_safe ( gsb_data_transaction_get_value_date ( transaction_number ));
@@ -1442,7 +1442,7 @@ gulong gsb_file_save_scheduled_part ( gulong iterator,
                         gchar **file_content )
 {
     GSList *list_tmp;
-	
+
     list_tmp = gsb_data_scheduled_get_scheduled_list ();
 
     while ( list_tmp )
@@ -1527,7 +1527,7 @@ gulong gsb_file_save_party_part ( gulong iterator,
                         gchar **file_content )
 {
     GSList *list_tmp;
-	
+
     list_tmp = gsb_data_payee_get_payees_list ();
 
     while ( list_tmp )
@@ -1544,7 +1544,7 @@ gulong gsb_file_save_party_part ( gulong iterator,
             continue;
         }
 
-        new_string = g_markup_printf_escaped ( 
+        new_string = g_markup_printf_escaped (
                             "\t<Party Nb=\"%d\" Na=\"%s\" Txt=\"%s\" Search=\"%s\" />\n",
                             payee_number,
                             my_safe_null_str(gsb_data_payee_get_name (payee_number, TRUE )),
@@ -1578,7 +1578,7 @@ gulong gsb_file_save_category_part ( gulong iterator,
                         gchar **file_content )
 {
     GSList *list_tmp;
-	
+
     list_tmp = gsb_data_category_get_categories_list ();
 
     while ( list_tmp )
@@ -1655,7 +1655,7 @@ gulong gsb_file_save_budgetary_part ( gulong iterator,
                         gchar **file_content )
 {
     GSList *list_tmp;
-	
+
     list_tmp = gsb_data_budget_get_budgets_list ();
 
     while ( list_tmp )
@@ -1733,7 +1733,7 @@ gulong gsb_file_save_currency_part ( gulong iterator,
                         gchar **file_content )
 {
     GSList *list_tmp;
-	
+
     list_tmp = gsb_data_currency_get_currency_list ();
 
     while ( list_tmp )
@@ -1840,7 +1840,7 @@ gulong gsb_file_save_bank_part ( gulong iterator,
                         gchar **file_content )
 {
     GSList *list_tmp;
-	
+
     list_tmp = gsb_data_bank_get_bank_list ();
 
     while ( list_tmp )
@@ -1895,7 +1895,7 @@ gulong gsb_file_save_financial_year_part ( gulong iterator,
                         gchar **file_content )
 {
     GSList *list_tmp;
-	
+
     list_tmp = gsb_data_fyear_get_fyears_list ();
 
     while ( list_tmp )
@@ -1949,7 +1949,7 @@ gulong gsb_file_save_archive_part ( gulong iterator,
                         gchar **file_content )
 {
     GSList *list_tmp;
-	
+
     list_tmp = gsb_data_archive_get_archives_list ();
 
     while ( list_tmp )
@@ -2175,7 +2175,7 @@ gulong gsb_file_save_report_part ( gulong iterator,
                         gboolean current_report )
 {
     GSList *list_tmp;
-	
+
     list_tmp = gsb_data_report_get_report_list ();
 
     while ( list_tmp )
@@ -2198,7 +2198,7 @@ gulong gsb_file_save_report_part ( gulong iterator,
 	gchar *report_name;
 	gint amount_comparison_number_to_write;
 	gint text_comparison_number_to_write;
-	
+
 	report_number = gsb_data_report_get_report_number (list_tmp -> data);
 
 	/* if we need only the current report, we check here */
@@ -2820,7 +2820,7 @@ gulong gsb_file_save_account_icon_part ( gulong iterator,
             list_tmp = list_tmp -> next;
             continue;
         }
-        
+
         pixbuf = gsb_select_icon_get_account_pixbuf_by_ptr ( list_tmp -> data );
         str64 = gsb_select_icon_create_chaine_base64_from_pixbuf ( pixbuf );
 
diff --git a/src/gsb_file_util.c b/src/gsb_file_util.c
index 417cb6f..e29509b 100644
--- a/src/gsb_file_util.c
+++ b/src/gsb_file_util.c
@@ -85,7 +85,7 @@ gboolean gsb_file_util_test_overwrite ( const gchar *filename )
 	    g_free ( tmpstr );
 	    return FALSE;
 	}
-	
+
 	tmpstr = g_strdup_printf (_("Do you want to overwrite file \"%s\"?"), filename);
 	response = question_yes_no_hint (_("File already exists"),
 				       tmpstr,
diff --git a/src/gsb_form.c b/src/gsb_form.c
index f4b1c7a..e658b78 100644
--- a/src/gsb_form.c
+++ b/src/gsb_form.c
@@ -255,7 +255,7 @@ void gsb_form_create_widgets ( void )
 
     /* the scheduled part is a table of SCHEDULED_WIDTH col x SCHEDULED_HEIGHT rows */
 
-    form_scheduled_part = gtk_table_new ( SCHEDULED_HEIGHT, 
+    form_scheduled_part = gtk_table_new ( SCHEDULED_HEIGHT,
                       SCHEDULED_WIDTH,
                       FALSE );
     gtk_table_set_col_spacings ( GTK_TABLE (form_scheduled_part),
@@ -409,7 +409,7 @@ gboolean gsb_form_fill_by_transaction ( gint transaction_number,
     mother_number = gsb_data_mix_get_mother_transaction_number (transaction_number, is_transaction);
     is_split = gsb_data_mix_get_split_of_transaction (transaction_number, is_transaction);
 
-    /* if here account number = -1, it's because it's a white line or there were a problem ; 
+    /* if here account number = -1, it's because it's a white line or there were a problem ;
      * in all case, get the current account number */
     if (account_number == -1)
         account_number = gsb_form_get_account_number ();
@@ -1031,7 +1031,7 @@ gboolean gsb_form_activate_expander ( GtkWidget *expander,
  * show the form, detect automaticly what we need to show, even for transactions,
  * scheduled_transactions and the buttons valid/cancel
  *
- * \param show TRUE if we want to automatickly turn on the expander, 
+ * \param show TRUE if we want to automatickly turn on the expander,
  * 		FALSE if we don't want, so just let it
  *
  * \return FALSE
@@ -1143,7 +1143,7 @@ gint gsb_form_get_account_number ( void )
 	case ORIGIN_VALUE_SCHEDULED:
 	    account_number = gsb_form_scheduler_get_account ();
 	    break;
-	    
+
 	default:
 	    account_number = origin;
     }
@@ -1194,7 +1194,7 @@ gint gsb_form_get_origin ( void )
  * fill the form according to the account_number :
  *
  * \param account_number the number of account or -1 to get it from the account button
- * 
+ *
  * \return FALSE
  * */
 gboolean gsb_form_fill_from_account ( gint account_number )
@@ -1211,7 +1211,7 @@ gboolean gsb_form_fill_from_account ( gint account_number )
 	case -2:
 	    return FALSE;
 	    break;
-	    
+
 	case -1:
 	    account_number = gsb_form_scheduler_get_account ();
 	    if (account_number == -2 )
@@ -1236,7 +1236,7 @@ gboolean gsb_form_fill_from_account ( gint account_number )
 	    if ( !widget )
             continue;
 
-	    /* We want to show all the widgets that are independent of operations and put 
+	    /* We want to show all the widgets that are independent of operations and put
          * the means of payment in accordance with the type of account */
 	    if ( element == TRANSACTION_FORM_TYPE )
         {
@@ -1423,8 +1423,8 @@ gboolean gsb_form_clean ( gint account_number )
 /**
  * Determine element is expandable or not in a GtkTable.
  *
- * \param element_number 
- * 
+ * \param element_number
+ *
  * \return
  */
 gint gsb_form_get_element_expandable ( gint element_number )
@@ -1588,7 +1588,7 @@ gboolean gsb_form_entry_lose_focus ( GtkWidget *entry,
                 gtk_entry_set_text ( GTK_ENTRY ( tmp_widget ), string );
                 gsb_form_widget_set_empty ( tmp_widget, FALSE );
                 g_free ( string );
-                
+
                 widget = gsb_form_widget_get_widget ( TRANSACTION_FORM_TYPE );
                 if ( widget
                      &&
@@ -1714,7 +1714,7 @@ gboolean gsb_form_entry_lose_focus ( GtkWidget *entry,
                             gsb_form_widget_set_empty ( widget, FALSE );
                         }
                     }
- 
+
                     widget = gsb_form_widget_get_widget (TRANSACTION_FORM_CONTRA);
                     if ( widget && GTK_WIDGET_VISIBLE ( widget ) )
                         gsb_payment_method_create_combo_list ( gsb_form_widget_get_widget (
@@ -1826,7 +1826,7 @@ void gsb_form_check_auto_separator ( GtkWidget *entry )
 	||
 	!entry )
 	return;
-    
+
     /* we need a my_strdup to permit to do the g_free later
      * because if strlen < floating point we need to
      * malloc another string */
@@ -2041,7 +2041,7 @@ gboolean gsb_form_change_sensitive_buttons ( gboolean sensitive )
  * \param widget wich receive the signal
  * \param ev
  * \param ptr_origin a pointer number of the element
- * 
+ *
  * \return FALSE
  * */
 gboolean gsb_form_key_press_event ( GtkWidget *widget,
@@ -2052,14 +2052,14 @@ gboolean gsb_form_key_press_event ( GtkWidget *widget,
     gint account_number;
     gint element_suivant;
     GtkWidget *widget_prov;
-    
+
     element_number = GPOINTER_TO_INT (ptr_origin);
     account_number = gsb_form_get_account_number ();
 
     /* if conf.entree = 1, entry finish the transaction, else does as tab */
     if ( !conf.entree
 	 &&
-	 ( ev -> keyval == GDK_Return 
+	 ( ev -> keyval == GDK_Return
 	   ||
 	   ev -> keyval == GDK_KP_Enter ))
 	ev->keyval = GDK_Tab ;
@@ -2324,13 +2324,13 @@ gboolean gsb_form_key_press_event ( GtkWidget *widget,
 }
 
 
-/** 
+/**
  * called when the user finishes the edition of the form
  * this function works for transaction and scheduled transactions,
  * it add/modify the transaction in the form
- * 
+ *
  * \param none
- * 
+ *
  * \return FALSE
  * */
 gboolean gsb_form_finish_edition ( void )
@@ -2389,7 +2389,7 @@ gboolean gsb_form_finish_edition ( void )
      * -1 for the general white line
      *  -2, -3, ... for the white lines of scheduled transactions
      *  or it's an execution of scheduled transaction */
-    if ( transaction_number < 0 ) 
+    if ( transaction_number < 0 )
         new_transaction = 1;
     else
         new_transaction = 0;
@@ -2444,7 +2444,7 @@ gboolean gsb_form_finish_edition ( void )
                                     GPOINTER_TO_INT ( list_tmp -> data ) );
 
                     /* if it's not the first party and the method of payment has to change its number (cheque),
-                     * we increase the number. as we are in a party's list, it's always a new transactio, 
+                     * we increase the number. as we are in a party's list, it's always a new transactio,
                      * so we know that it's not the first if transaction_number is not 0 */
 
                     payment_number = gsb_data_transaction_get_method_of_payment_number (
@@ -2633,7 +2633,7 @@ gboolean gsb_form_finish_edition ( void )
         if ( gsb_data_scheduled_get_split_of_scheduled (saved_scheduled_number) )
             gsb_scheduler_execute_children_of_scheduled_transaction ( saved_scheduled_number,
                         transaction_number );
- 
+
         /* now we can increase the scheduled transaction */
         increase_result = gsb_scheduler_increase_scheduled ( saved_scheduled_number );
 
@@ -2896,7 +2896,7 @@ gboolean gsb_form_validate_form_transaction ( gint transaction_number,
 
         if ( gsb_form_widget_check_empty ( widget ) == FALSE )
             number = utils_real_get_from_string ( gtk_entry_get_text ( GTK_ENTRY ( widget ) ) );
-            
+
 	    if ( gsb_form_widget_check_empty ( widget ) == TRUE
          ||
          number.mantissa == 0 )
@@ -2914,7 +2914,7 @@ gboolean gsb_form_validate_form_transaction ( gint transaction_number,
             }
         }
     }
-    
+
     /* now work with the categories */
     widget = gsb_form_widget_get_widget (TRANSACTION_FORM_CATEGORY);
 
@@ -3017,7 +3017,7 @@ gboolean gsb_form_validate_form_transaction ( gint transaction_number,
 	    {
 		/* check that the number is not used */
 		gint tmp_transaction_number;
-		
+
 		tmp_transaction_number = gsb_data_transaction_check_content_payment (
                                     payment,
                                     gtk_entry_get_text ( GTK_ENTRY ( widget ) ) );
@@ -3083,10 +3083,10 @@ gboolean gsb_form_validate_form_transaction ( gint transaction_number,
 
 /**
  * get the datas in the form and set them in the transaction/scheduled transaction in param
- * 
+ *
  * \param transaction_number the transaction to modify
  * \param is_transaction TRUE if it's for a transaction, FALSE for a scheduled transaction
- * 
+ *
  * \return
  * */
 void gsb_form_take_datas_from_form ( gint transaction_number,
@@ -3125,7 +3125,7 @@ void gsb_form_take_datas_from_form ( gint transaction_number,
 		break;
 
 	    case TRANSACTION_FORM_VALUE_DATE:
-		if (gsb_form_widget_check_empty (element -> element_widget)) 
+		if (gsb_form_widget_check_empty (element -> element_widget))
 		    gsb_data_mix_set_value_date ( transaction_number, NULL, is_transaction );
 		else
 		    gsb_data_mix_set_value_date ( transaction_number,
@@ -3154,11 +3154,11 @@ void gsb_form_take_datas_from_form ( gint transaction_number,
             break;
 
 	    case TRANSACTION_FORM_PARTY:
-		if (gsb_form_widget_check_empty (element -> element_widget)) 
+		if (gsb_form_widget_check_empty (element -> element_widget))
 		    gsb_data_mix_set_party_number ( transaction_number, 0, is_transaction );
 		else
 		{
-		    gsb_data_mix_set_party_number ( transaction_number, 
+		    gsb_data_mix_set_party_number ( transaction_number,
                         gsb_data_payee_get_number_by_name (
                         gtk_combofix_get_text ( GTK_COMBOFIX ( element -> element_widget ) ),
                         TRUE ), is_transaction );
@@ -3176,7 +3176,7 @@ void gsb_form_take_datas_from_form ( gint transaction_number,
 		break;
 
 	    case TRANSACTION_FORM_CREDIT:
-		if (!gsb_form_widget_check_empty (element -> element_widget)) 
+		if (!gsb_form_widget_check_empty (element -> element_widget))
         {
             gsb_form_check_auto_separator (element -> element_widget);
 		    gsb_data_mix_set_amount ( transaction_number,
@@ -3186,7 +3186,7 @@ void gsb_form_take_datas_from_form ( gint transaction_number,
 		break;
 
 	    case TRANSACTION_FORM_BUDGET:
-		if (gsb_form_widget_check_empty (element -> element_widget)) 
+		if (gsb_form_widget_check_empty (element -> element_widget))
 		{
 		    gsb_data_mix_set_budgetary_number ( transaction_number, 0, is_transaction );
 		    gsb_data_mix_set_sub_budgetary_number ( transaction_number, 0, is_transaction );
@@ -3198,7 +3198,7 @@ void gsb_form_take_datas_from_form ( gint transaction_number,
 		break;
 
 	    case TRANSACTION_FORM_NOTES:
-		if (gsb_form_widget_check_empty (element -> element_widget)) 
+		if (gsb_form_widget_check_empty (element -> element_widget))
 		    gsb_data_mix_set_notes ( transaction_number, NULL, is_transaction );
 		else
 		{
@@ -3252,7 +3252,7 @@ void gsb_form_take_datas_from_form ( gint transaction_number,
 		break;
 
 	    case TRANSACTION_FORM_DEVISE:
-		gsb_data_mix_set_currency_number ( transaction_number, 
+		gsb_data_mix_set_currency_number ( transaction_number,
                         gsb_currency_get_currency_from_combobox (
                         element -> element_widget), is_transaction );
 		if (is_transaction)
@@ -3261,7 +3261,7 @@ void gsb_form_take_datas_from_form ( gint transaction_number,
 		break;
 
 	    case TRANSACTION_FORM_BANK:
-		if (gsb_form_widget_check_empty (element -> element_widget)) 
+		if (gsb_form_widget_check_empty (element -> element_widget))
 		    gsb_data_mix_set_bank_references ( transaction_number, NULL, is_transaction);
 		else
 		{
@@ -3272,7 +3272,7 @@ void gsb_form_take_datas_from_form ( gint transaction_number,
 		break;
 
 	    case TRANSACTION_FORM_VOUCHER:
-		if (gsb_form_widget_check_empty (element -> element_widget)) 
+		if (gsb_form_widget_check_empty (element -> element_widget))
 		    gsb_data_mix_set_voucher ( transaction_number, NULL, is_transaction);
 		else
 		{
@@ -3288,14 +3288,14 @@ void gsb_form_take_datas_from_form ( gint transaction_number,
 
 
 
-/** 
+/**
  * get the category in the form, for transaction and scheduled transaction
  * do everything needed by that category (create contra-transaction...)
- * 
+ *
  * \param transaction_number the transaction which work with
  * \param new_transaction 1 if it's a new_transaction
  * \param is_transaction TRUE if it's for a transaction, FALSE for a scheduled transaction
- * 
+ *
  * \return FALSE
  * */
 gboolean gsb_form_get_categories ( gint transaction_number,
@@ -3420,7 +3420,7 @@ gboolean gsb_form_get_categories ( gint transaction_number,
 		     * we set data_mix to protect */
 		    gsb_data_mix_set_transaction_number_transfer ( transaction_number,
 								   -1, is_transaction );
-		    /* we don't set any break here, so with the case -1 the 
+		    /* we don't set any break here, so with the case -1 the
 		     * category will be set to 0 (!! let the case -1 after here) */
 
 		case -1:
@@ -3499,7 +3499,7 @@ gboolean gsb_form_get_categories ( gint transaction_number,
 /**
  * called when cancel a form
  *
- * \param 
+ * \param
  *
  * \return FALSE
  * */
@@ -3708,7 +3708,7 @@ GtkWidget *gsb_form_get_element_widget_from_list ( gint element_number,
  * initialise le formulaire
  *
  * \param
- * 
+ *
  * \return FALSE
  * */
 gboolean gsb_form_initialise_transaction_form ( void )
diff --git a/src/gsb_form_config.c b/src/gsb_form_config.c
index aa5bf03..9d6fdce 100644
--- a/src/gsb_form_config.c
+++ b/src/gsb_form_config.c
@@ -239,7 +239,7 @@ GtkWidget *gsb_form_config_create_tree_view ( GtkListStore *store )
      * the config box increase too */
 
     tree_view = gtk_tree_view_new_with_model ( GTK_TREE_MODEL ( store ));
-    
+
     gtk_tree_selection_set_mode ( GTK_TREE_SELECTION ( gtk_tree_view_get_selection (GTK_TREE_VIEW (tree_view))),
 				  GTK_SELECTION_NONE );
 
@@ -484,7 +484,7 @@ gboolean gsb_form_config_update_form_config ( gint account_number )
     gint row;
     gint column;
     gint current_element_number;
-    
+
     /* fill the store */
     gsb_form_config_fill_store (account_number);
 
@@ -604,7 +604,7 @@ gboolean gsb_form_config_toggle_element_button ( GtkWidget *toggle_button )
 		    if ( no_second_element == -1 )
 		    {
 			/* 			il n'y a qu'un elt */
-			
+
 			gsb_data_form_set_value ( account_number,
 						  j,
 						  i,
@@ -748,7 +748,7 @@ gboolean gsb_form_config_fill_store ( gint account_number )
     GtkListStore *store;
 
     store = GTK_LIST_STORE ( gtk_tree_view_get_model ( GTK_TREE_VIEW ( form_config_tree_view )));
-						
+
     gtk_list_store_clear ( store );
 
     for ( row=0 ; row < gsb_data_form_get_nb_rows (account_number) ; row++ )
@@ -803,7 +803,7 @@ gboolean gsb_form_config_realized ( GtkWidget *tree_view,
 										column ) * width / 100 );
     }
 
-    gdk_window_set_cursor ( tree_view -> window, 
+    gdk_window_set_cursor ( tree_view -> window,
 			    gdk_cursor_new ( GDK_FLEUR ) );
 
     return FALSE;
@@ -1011,7 +1011,7 @@ gboolean gsb_form_config_remove_column ( void )
     gint row;
     gint account_number;
     gint nb_columns;
-    
+
     account_number = gsb_account_get_combo_account_number ( accounts_combobox );
     nb_columns = gsb_data_form_get_nb_columns (account_number);
 
@@ -1186,7 +1186,7 @@ gboolean gsb_form_config_drag_begin ( GtkWidget *tree_view,
 
     return FALSE;
 }
-					
+
 
 /**
  * called when we end a drag,
diff --git a/src/gsb_form_scheduler.c b/src/gsb_form_scheduler.c
index 5a18f9b..7599cd5 100644
--- a/src/gsb_form_scheduler.c
+++ b/src/gsb_form_scheduler.c
@@ -104,7 +104,7 @@ static gint last_account_number = 0;
 /**
  * create the scheduled part : that widgets are created at the beginning
  * and normally never destroyed, they are showed only for
- * scheduled transactions 
+ * scheduled transactions
  * Cela ne fonctionne pas : tous les widgets sont détruits par la
  * fonction gsb_form_create_widgets ( )
  *
@@ -124,7 +124,7 @@ gboolean gsb_form_scheduler_create ( GtkWidget *table )
     if (scheduled_element_list)
         gsb_form_scheduler_free_list ( );
 
-    /* check the dimensions, 
+    /* check the dimensions,
      * if problem give a warning message but continue the program with changing the values */
     g_object_get ( G_OBJECT (table),
 		   "n-columns", &column,
@@ -141,7 +141,7 @@ gboolean gsb_form_scheduler_create ( GtkWidget *table )
         gtk_table_resize ( GTK_TABLE (table), SCHEDULED_HEIGHT, SCHEDULED_WIDTH );
     }
 
-    /* ok, now fill the form 
+    /* ok, now fill the form
      * we play with height and width, but for now it's fix : 6 columns and 1 line */
     for ( row=0 ; row < SCHEDULED_HEIGHT ; row++ )
 	for ( column=0 ; column < SCHEDULED_WIDTH ; column++ )
@@ -364,7 +364,7 @@ gboolean gsb_form_scheduler_change_account ( GtkWidget *button,
  * get the content in the form, and set it in a list composed
  * of each element with their content (list of struct content_element
  *
- * \param 
+ * \param
  *
  * \return a newly allocated list
  * */
@@ -585,7 +585,7 @@ void gsb_form_scheduler_free_content_list ( GSList *content_list )
 	/* normally, cannot happen */
 	if (!element)
 	    continue;
-	
+
 	if (element -> element_string)
 	    g_free (element -> element_string);
 	g_free (element);
@@ -864,7 +864,7 @@ gboolean gsb_form_scheduler_entry_lose_focus ( GtkWidget *entry,
  *
  * \param combo_box
  *
- * \return FALSE 
+ * \return FALSE
  * */
 gboolean gsb_form_scheduler_frequency_button_changed ( GtkWidget *combo_box,
 						       gpointer null )
@@ -872,7 +872,7 @@ gboolean gsb_form_scheduler_frequency_button_changed ( GtkWidget *combo_box,
     gchar *selected_item;
 
     selected_item = gtk_combo_box_get_active_text ( GTK_COMBO_BOX (combo_box));
-    
+
     if ( !strcmp ( selected_item,
 		   _("Once")))
     {
@@ -1205,7 +1205,7 @@ gboolean gsb_form_scheduler_set_frequency_user_button ( gboolean automatic )
 
 /**
  * Clone the children of a splitted transaction to add the to the new splitted scheduled
- * 
+ *
  * \param scheduled_transaction		the splitted scheduled transaction we want to add the children
  * \param transaction_number		the splitted transaction we want to clone the children
  *
diff --git a/src/gsb_form_transaction.c b/src/gsb_form_transaction.c
index d947cea..42fed6d 100644
--- a/src/gsb_form_transaction.c
+++ b/src/gsb_form_transaction.c
@@ -158,8 +158,8 @@ gboolean gsb_form_transaction_complete_form_by_payee ( const gchar *payee_name )
          element -> element_number != TRANSACTION_FORM_PARTY
          &&
          element -> element_number != TRANSACTION_FORM_MODE
-         && 
-         element -> element_number != TRANSACTION_FORM_TYPE 
+         &&
+         element -> element_number != TRANSACTION_FORM_TYPE
          &&
          element -> element_number != TRANSACTION_FORM_DEVISE )
     {
@@ -205,7 +205,7 @@ gboolean gsb_form_transaction_complete_form_by_payee ( const gchar *payee_name )
                                    GSB_PAYMENT_DEBIT,
                                    account_number, 0, FALSE );
         else
-            gsb_payment_method_create_combo_list ( widget, GSB_PAYMENT_CREDIT, 
+            gsb_payment_method_create_combo_list ( widget, GSB_PAYMENT_CREDIT,
                         account_number, 0, FALSE );
 
         if ( GTK_WIDGET_VISIBLE (widget))
@@ -253,7 +253,7 @@ gboolean gsb_form_transaction_complete_form_by_payee ( const gchar *payee_name )
  * \param account_number the account we want to find first the party
  * keep it
  *
- * \return the number of the transaction found, or 0 
+ * \return the number of the transaction found, or 0
  * */
 gint gsb_form_transactions_look_for_last_party ( gint no_party,
                         gint no_new_transaction,
@@ -299,7 +299,7 @@ gint gsb_form_transactions_look_for_last_party ( gint no_party,
 
 /**
  * Clone the children of a split transaction to add the to the new split
- * 
+ *
  * \param new_transaction_number	the number of the new mother of the cloned transaction
  * \param no_last_split		the no of last split mother
  *
@@ -347,11 +347,11 @@ gboolean gsb_form_transaction_recover_splits_of_transaction ( gint new_transacti
 
 
 /**
- * return a list of numbers of parties if the party in the form is a 
+ * return a list of numbers of parties if the party in the form is a
  * report
- * 
+ *
  * \param none
- * 
+ *
  * \return a g_slist, with -1 if it's a normal party or a list of parties if it's a report
  * */
 GSList *gsb_form_transaction_get_parties_list_from_report ( void )
@@ -437,11 +437,11 @@ GSList *gsb_form_transaction_get_parties_list_from_report ( void )
  * - create the contra-transaction
  * - delete the last contra-transaction if it's a modification
  * - append the contra-transaction to the tree view or update the tree_view
- * 
+ *
  * \param transaction_number	the new transaction or the modifed transaction
  * \param new_transaction 	TRUE if it's a new transaction
  * \param account_transfer 	the number of the account we want to create the contra-transaction
- * 
+ *
  * \return the number of the contra-transaction
  * */
 gint gsb_form_transaction_validate_transfer ( gint transaction_number,
@@ -634,20 +634,20 @@ gboolean gsb_form_transaction_change_clicked ( GtkWidget *button,
                         gsb_form_widget_get_widget ( TRANSACTION_FORM_DEVISE ) );
         link_number = gsb_data_currency_link_search ( account_currency_number,
                         currency_number );
-        if ( link_number 
-         && 
+        if ( link_number
+         &&
          gsb_data_currency_link_get_first_currency ( link_number )
          == account_currency_number )
             gsb_currency_exchange_dialog ( account_currency_number, currency_number,
                         1,
                         gsb_data_currency_link_get_change_rate ( link_number ),
-                        null_real, 
+                        null_real,
                         TRUE );
         else
             gsb_currency_exchange_dialog ( account_currency_number, currency_number,
                         0,
                         gsb_data_currency_link_get_change_rate ( link_number ),
-                        null_real, 
+                        null_real,
                         TRUE );
     }
     else
@@ -656,7 +656,7 @@ gboolean gsb_form_transaction_change_clicked ( GtkWidget *button,
         gsb_currency_exchange_dialog ( account_currency_number, currency_number,
                         gsb_data_transaction_get_change_between ( transaction_number ),
                         gsb_data_transaction_get_exchange_rate ( transaction_number ),
-                        gsb_data_transaction_get_exchange_fees ( transaction_number ), 
+                        gsb_data_transaction_get_exchange_fees ( transaction_number ),
                         TRUE );
     }
 
diff --git a/src/gsb_form_widget.c b/src/gsb_form_widget.c
index f257cbf..4ac2995 100644
--- a/src/gsb_form_widget.c
+++ b/src/gsb_form_widget.c
@@ -99,7 +99,7 @@ GSList *gsb_form_widget_get_list ( void )
  * free the content of the list of the widget's form
  * so free the content of the form
  *
- * \param 
+ * \param
  *
  * \return FALSE
  * */
@@ -121,9 +121,9 @@ gboolean gsb_form_widget_free_list ( void )
 
         if (! element )
             continue;
-	
+
         /* just to make sure... */
-        if ( element -> element_widget ) 
+        if ( element -> element_widget )
         {
             if (GTK_IS_WIDGET (element -> element_widget))
             {
@@ -142,7 +142,7 @@ gboolean gsb_form_widget_free_list ( void )
                 element -> element_widget = NULL;
             }
         }
-        else 
+        else
         {
             alert_debug ("element_widget is NULL\n");
         }
@@ -375,7 +375,7 @@ GtkWidget *gsb_form_widget_create ( gint element_number,
     else {
     	alert_debug ( "Widget should not be NULL" );
     }
-    
+
     return widget;
 }
 
@@ -512,7 +512,7 @@ gint gsb_form_widget_next_element ( gint account_number,
     gint return_value_number = 0;
     gint form_column_number;
     gint form_row_number;
-    
+
     if ( !gsb_data_form_look_for_value ( account_number,
 					 element_number,
 					 &row,
@@ -522,7 +522,7 @@ gint gsb_form_widget_next_element ( gint account_number,
     form_column_number = gsb_data_form_get_nb_columns (account_number);
     form_row_number = gsb_data_form_get_nb_rows (account_number);
 
-    while ( !gsb_form_widget_can_focus (return_value_number)) 
+    while ( !gsb_form_widget_can_focus (return_value_number))
     {
 	switch ( direction )
 	{
@@ -531,7 +531,7 @@ gint gsb_form_widget_next_element ( gint account_number,
 		{
 		    /* we are at the upper left, go on the bottom right */
 		    column = form_column_number;
-		    row = form_row_number -1; 
+		    row = form_row_number -1;
 		}
 
 		if ( --column == -1 )
@@ -557,7 +557,7 @@ gint gsb_form_widget_next_element ( gint account_number,
 			continue;
 		    }
 		    column = -1;
-		    row = 0; 
+		    row = 0;
 		}
 
 		if ( ++column == form_column_number )
@@ -607,7 +607,7 @@ gint gsb_form_widget_next_element ( gint account_number,
  * check if the given element can receive focus
  *
  * \param element_number
- * 
+ *
  * \return TRUE : can receive focus, or FALSE
  * */
 gboolean gsb_form_widget_can_focus ( gint element_number )
@@ -699,7 +699,7 @@ gboolean gsb_form_widget_check_empty ( GtkWidget *entry )
  * \param entry must be an entry
  * \param empty TRUE or FALSE
  *
- * \return 
+ * \return
  * */
 void gsb_form_widget_set_empty ( GtkWidget *entry,
                     gboolean empty )
@@ -707,9 +707,9 @@ void gsb_form_widget_set_empty ( GtkWidget *entry,
     GdkColor gray, black;
 
     gray.pixel = 0;
-    gray.red = EMPTY_ENTRY_COLOR_RED; 
+    gray.red = EMPTY_ENTRY_COLOR_RED;
     gray.green = EMPTY_ENTRY_COLOR_GREEN;
-    gray.blue = EMPTY_ENTRY_COLOR_BLUE; 
+    gray.blue = EMPTY_ENTRY_COLOR_BLUE;
 
     black.pixel = 0;
     black.red = 0;
@@ -723,18 +723,18 @@ void gsb_form_widget_set_empty ( GtkWidget *entry,
 
     if ( ! empty )
     {
-	gtk_widget_modify_text ( entry, 
+	gtk_widget_modify_text ( entry,
 				 GTK_STATE_NORMAL,
 				 &black );
     }
     else
     {
-	gtk_widget_modify_text ( entry, 
+	gtk_widget_modify_text ( entry,
 				 GTK_STATE_NORMAL,
 				 &gray );
     }
 
-	gtk_widget_modify_base ( entry, 
+	gtk_widget_modify_base ( entry,
 				 GTK_STATE_NORMAL,
 				 NULL );
 
@@ -743,7 +743,7 @@ void gsb_form_widget_set_empty ( GtkWidget *entry,
 
 
 /**
- * called when an debit or credit entry get the focus, 
+ * called when an debit or credit entry get the focus,
  * if the entry is free, set it normal and erase the help content
  *
  * \param entry
@@ -889,7 +889,7 @@ gboolean gsb_form_widget_entry_get_focus ( GtkWidget *entry,
         gsb_form_check_auto_separator (entry);
         break;
     }
-    
+
     /* sensitive the valid and cancel buttons */
     gtk_widget_set_sensitive (GTK_WIDGET (form_button_valid), TRUE);
     gtk_widget_set_sensitive (GTK_WIDGET (form_button_cancel), TRUE);
@@ -1102,8 +1102,8 @@ gboolean gsb_form_combo_selection_changed ( GtkTreeSelection *tree_selection,
         {
         case TRANSACTION_FORM_CATEGORY:
             widget = gsb_form_widget_get_widget ( TRANSACTION_FORM_DEVISE );
-            if ( widget != NULL 
-             && 
+            if ( widget != NULL
+             &&
              GTK_WIDGET_VISIBLE (
              gsb_form_widget_get_widget ( TRANSACTION_FORM_DEVISE) ) )
             {
@@ -1252,7 +1252,7 @@ gboolean gsb_form_widget_amount_entry_validate ( gint element_number )
 gboolean gsb_form_widget_update_payee_combofix ( void )
 {
     if ( gsb_data_form_check_for_value ( TRANSACTION_FORM_PARTY ))
-    gtk_combofix_set_list ( GTK_COMBOFIX ( gsb_form_widget_get_widget 
+    gtk_combofix_set_list ( GTK_COMBOFIX ( gsb_form_widget_get_widget
                         (TRANSACTION_FORM_PARTY)),
                         gsb_data_payee_get_name_and_report_list ());
 
diff --git a/src/gsb_fyear.c b/src/gsb_fyear.c
index a983bfb..3d1c4f8 100644
--- a/src/gsb_fyear.c
+++ b/src/gsb_fyear.c
@@ -151,14 +151,14 @@ gboolean gsb_fyear_set_combobox_history ( GtkWidget *combo_box,
 }
 
 
-/** 
+/**
  * Get and return the number of the fyear in the combobox given
  * in param
  * if the fyear is 0, try to find a fyear with the givent date
- * 
+ *
  * \param combo_box a combo_box with the financials years
  * \param date date to find a corresponding fyear if the combobox is on Automatic or NULL
- * 
+ *
  * \return the number of fyear or 0 if problem
  * */
 gint gsb_fyear_get_fyear_from_combobox ( GtkWidget *combo_box,
diff --git a/src/gsb_fyear_config.c b/src/gsb_fyear_config.c
index d9572db..436f3d4 100644
--- a/src/gsb_fyear_config.c
+++ b/src/gsb_fyear_config.c
@@ -121,9 +121,9 @@ GtkWidget *gsb_fyear_config_create_page ( void )
     tree_model = gtk_tree_view_get_model (GTK_TREE_VIEW (tree_view));
     gtk_container_add ( GTK_CONTAINER ( scrolled_window ),
 			tree_view);
-    g_signal_connect ( gtk_tree_view_get_selection (GTK_TREE_VIEW (tree_view)), 
+    g_signal_connect ( gtk_tree_view_get_selection (GTK_TREE_VIEW (tree_view)),
 		       "changed",
-		       G_CALLBACK (gsb_fyear_config_select), 
+		       G_CALLBACK (gsb_fyear_config_select),
 		       NULL );
 
 
@@ -338,7 +338,7 @@ GtkWidget *gsb_fyear_config_create_list ()
     }
 
     /* Sort columns accordingly */
-    gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE(model), 
+    gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE(model),
 					  FYEAR_NAME_COLUMN, GTK_SORT_ASCENDING);
 
     return treeview;
@@ -379,7 +379,7 @@ void gsb_fyear_config_fill_list ( GtkTreeModel *model )
  * \param fyear_number
  * \param iter a pointer to an iter to fill it with the position of the new link, or NULL
  *
- * \return 
+ * \return
  * */
 void gsb_fyear_config_append_line ( GtkTreeModel *model,
 				    gint fyear_number,
@@ -497,7 +497,7 @@ gboolean gsb_fyear_config_select ( GtkTreeSelection *tree_selection,
 
 
 /**
- * called when something change for a fyear 
+ * called when something change for a fyear
  * update the list and the invalid
  *
  * \param entry the entry wich change
@@ -625,7 +625,7 @@ gboolean gsb_fyear_config_add_fyear ( GtkWidget *tree_view )
     /* if bad things will append soon ... */
     if (!fyear_number)
 	return FALSE;
-    
+
     gsb_data_fyear_set_form_show ( fyear_number,
 				   TRUE );
     gsb_data_fyear_set_beginning_date ( fyear_number,
diff --git a/src/gsb_payment_method.c b/src/gsb_payment_method.c
index 79e8c65..b718b99 100644
--- a/src/gsb_payment_method.c
+++ b/src/gsb_payment_method.c
@@ -83,7 +83,7 @@ gboolean gsb_payment_method_create_combo_list ( GtkWidget *combo_box,
 	return FALSE;
 
     /* on bloque le signal du gtk_combo_box pour éviter de multiples appels */
-    g_signal_handlers_block_by_func ( combo_box, 
+    g_signal_handlers_block_by_func ( combo_box,
                         gsb_payment_method_changed_callback, NULL);
 
     /* we check first the existing model ; if none, we create it */
@@ -162,7 +162,7 @@ gboolean gsb_payment_method_create_combo_list ( GtkWidget *combo_box,
     }
 
     /* on réactive le signal du gtk_combo_box */
-    g_signal_handlers_unblock_by_func ( combo_box, 
+    g_signal_handlers_unblock_by_func ( combo_box,
                         gsb_payment_method_changed_callback, NULL);
 
     return TRUE;
@@ -259,7 +259,7 @@ gint gsb_payment_method_get_payment_position ( GtkWidget *combo_box,
 				 -1 );
 	    if ( tmp == payment_number )
 		return i;
-	    i++; 
+	    i++;
 	}
 	while ( gtk_tree_model_iter_next (GTK_TREE_MODEL (model),
 					  &iter));
@@ -298,7 +298,7 @@ void gsb_payment_method_set_payment_position ( GtkWidget *combo_box,
             gtk_combo_box_set_active_iter ( GTK_COMBO_BOX (combo_box), &iter );
             return;
         }
-        i++; 
+        i++;
     }
     while ( gtk_tree_model_iter_next ( GTK_TREE_MODEL ( model ), &iter ) );
     }
@@ -329,7 +329,7 @@ gboolean gsb_payment_method_set_combobox_history ( GtkWidget *combo_box,
         return TRUE;
 
     /* on bloque le signal du gtk_combo_box pour éviter de multiples appels */
-    g_signal_handlers_block_by_func ( combo_box, 
+    g_signal_handlers_block_by_func ( combo_box,
                         gsb_payment_method_changed_callback, NULL);
 
     account_number = gsb_data_payment_get_account_number (payment_number);
@@ -350,13 +350,13 @@ gboolean gsb_payment_method_set_combobox_history ( GtkWidget *combo_box,
 
         return_value = FALSE;
     }
-    
+
     gtk_combo_box_set_active ( GTK_COMBO_BOX (combo_box), position );
     if ( check_entry )
         gsb_payment_method_set_cheque_entry ( payment_number );
 
     /* on réactive le signal du gtk_combo_box */
-    g_signal_handlers_unblock_by_func ( combo_box, 
+    g_signal_handlers_unblock_by_func ( combo_box,
                         gsb_payment_method_changed_callback, NULL);
 
     return return_value;
@@ -455,11 +455,11 @@ gboolean gsb_payment_method_set_cheque_entry ( gint payment_number )
             gchar* tmpstr;
 
             gsb_form_entry_get_focus ( cheque_entry );
-            
+
             tmpstr = gsb_data_payment_incremente_last_number ( payment_number, 1 );
             gtk_entry_set_text ( GTK_ENTRY (cheque_entry), tmpstr);
             g_free ( tmpstr );
-            
+
         }
         else
         {
@@ -480,7 +480,7 @@ gboolean gsb_payment_method_set_cheque_entry ( gint payment_number )
 
         gtk_widget_hide ( cheque_entry );
     }
-    
+
     return TRUE;
 }
 
diff --git a/src/gsb_plugins.c b/src/gsb_plugins.c
index 8a9b321..a2615d9 100644
--- a/src/gsb_plugins.c
+++ b/src/gsb_plugins.c
@@ -88,7 +88,7 @@ void gsb_plugins_scan_dir ( const char *dirname )
     plugin_dir = g_dir_open ( dirname, 0, NULL );
     if ( ! plugin_dir )
 	return;
-    
+
     while ( ( filename = g_dir_read_name ( plugin_dir ) ) != NULL )
     {
 	gchar * complete_filename, * tmp;
@@ -105,7 +105,7 @@ void gsb_plugins_scan_dir ( const char *dirname )
 
 	complete_filename = g_build_filename ( dirname, filename, NULL );
 
-	if ( ! ( plugin -> handle = 
+	if ( ! ( plugin -> handle =
 		 g_module_open (complete_filename, 0 ) ) )
 	{
 	    gchar* tmpstr = g_strdup_printf ( "Couldn't load module %s: %s", filename,
@@ -116,13 +116,13 @@ void gsb_plugins_scan_dir ( const char *dirname )
 	    g_free ( complete_filename);
 	    continue;
 	}
-	
+
 	g_free (complete_filename);
 
 	if ( ! g_module_symbol ( plugin -> handle, "plugin_name",
 				 (gpointer) &plugin_name ) )
 	{
-	    gchar* tmpstr = g_strdup_printf ( "Plugin %s has no register symbol", 
+	    gchar* tmpstr = g_strdup_printf ( "Plugin %s has no register symbol",
 					       filename );
 	    dialogue_error ( tmpstr );
 	    g_free ( tmpstr );
@@ -135,7 +135,7 @@ void gsb_plugins_scan_dir ( const char *dirname )
 	if ( ! g_module_symbol ( plugin -> handle, tmp,
 				 (gpointer)  &( plugin -> plugin_register ) ) )
 	{
-	    gchar* tmpstr = g_strdup_printf ( "Plugin %s has no register symbol", 
+	    gchar* tmpstr = g_strdup_printf ( "Plugin %s has no register symbol",
 					       filename );
 	    dialogue_error ( tmpstr );
 	    g_free ( tmpstr );
@@ -150,7 +150,7 @@ void gsb_plugins_scan_dir ( const char *dirname )
 	if ( ! g_module_symbol ( plugin -> handle, tmp,
 				 (gpointer) &( plugin -> plugin_run ) ) )
 	{
-	    gchar* tmpstr = g_strdup_printf ( "Plugin %s has no run symbol", 
+	    gchar* tmpstr = g_strdup_printf ( "Plugin %s has no run symbol",
 					       filename );
 	    dialogue_error ( tmpstr );
 	    g_free ( tmpstr );
@@ -178,7 +178,7 @@ gsb_plugin * gsb_plugin_find ( gchar * plugin_name )
     GSList * tmp = plugins;
 
     g_return_val_if_fail ( plugin_name, NULL );
-    
+
     while ( tmp )
     {
 	gsb_plugin * plugin = (gsb_plugin *) tmp -> data;
diff --git a/src/gsb_real.c b/src/gsb_real.c
index 7f66934..147a880 100644
--- a/src/gsb_real.c
+++ b/src/gsb_real.c
@@ -68,13 +68,13 @@ static gboolean gsb_real_raw_truncate_number ( gint64 *mantissa, gint *exponent
  * Return the real in a formatted string with an optional currency
  * symbol, according to the given locale regarding decimal separator,
  * thousands separator and positive or negative sign.
- * 
+ *
  * \param number		    Number to format.
  * \param locale      		the locale obtained with localeconv(), or built manually
  * \param currency_symbol 	the currency symbol
  *
  * \return		A newly allocated string of the number (this
- *			function will never return NULL) 
+ *			function will never return NULL)
  */
 gchar *gsb_real_raw_format_string (gsb_real number,
                         struct lconv *locale,
@@ -98,7 +98,7 @@ gchar *gsb_real_raw_format_string (gsb_real number,
     mon_decimal_point = locale->mon_decimal_point && *locale->mon_decimal_point ? locale->mon_decimal_point : "";
     cs_end_space = (currency_symbol && !locale->p_cs_precedes && locale->p_sep_by_space) ? " " : "";
     cs_end = (currency_symbol && !locale->p_cs_precedes) ? currency_symbol : "";
-    
+
     units = lldiv ( llabs (number.mantissa), gsb_real_power_10[number.exponent] );
 
     nbre_char = g_sprintf ( buffer, "%.0f", (gdouble) units.quot );
@@ -115,7 +115,7 @@ gchar *gsb_real_raw_format_string (gsb_real number,
                                             number.exponent,
                                             "lld%s%s" );
 
-    result = g_strdup_printf ( format, 
+    result = g_strdup_printf ( format,
                             cs_start,
                             cs_start_space,
                             sign,
@@ -543,7 +543,7 @@ gsb_real gsb_real_adjust_exponent ( gsb_real number,
         sign = ( number.mantissa < 0 ) ? -1 : 1;
 
         tmp_num = lldiv ( llabs ( number.mantissa ), gsb_real_power_10[exponent] );
-        
+
         if ( tmp_num.rem > ( 0.5 * gsb_real_power_10[exponent] ) )
             number.mantissa = ( tmp_num.quot + 1 ) * sign;
         else
@@ -669,12 +669,12 @@ gsb_real gsb_real_div ( gsb_real number_1,
 {
     gsb_real number;
 	gint64 reste;
-	
+
 	if ( number_1.mantissa == error_real.mantissa ||
 	     number_2.mantissa == error_real.mantissa ||
 	     !number_2.mantissa )
 		return error_real;
-	
+
 	reste = number_1.mantissa % number_2.mantissa;
 
 	if( ( number_1.mantissa >= number_2.mantissa ) && !reste )
diff --git a/src/gsb_reconcile.c b/src/gsb_reconcile.c
index 1e2c5c5..cdf6b17 100644
--- a/src/gsb_reconcile.c
+++ b/src/gsb_reconcile.c
@@ -121,13 +121,13 @@ GtkWidget *gsb_reconcile_create_box ( void )
     gtk_container_set_border_width ( GTK_CONTAINER ( vbox ), 3 );
     gtk_container_add ( GTK_CONTAINER ( frame ), vbox );
 
-    /* the title of the frame */ 
+    /* the title of the frame */
     label = gtk_label_new ( NULL );
     gtk_label_set_justify ( GTK_LABEL (label), GTK_JUSTIFY_LEFT );
     gtk_misc_set_alignment ( GTK_MISC (label), 0.0, 0.0 );
     gtk_frame_set_label_widget ( GTK_FRAME(frame), label);
 
-    /* number of reconcile */ 
+    /* number of reconcile */
     hbox = gtk_hbox_new ( FALSE, 5 );
     gtk_box_pack_start ( GTK_BOX ( vbox ), hbox, FALSE, FALSE, 0);
 
@@ -208,7 +208,7 @@ GtkWidget *gsb_reconcile_create_box ( void )
     gtk_box_pack_start ( GTK_BOX ( vbox ), separator, FALSE, FALSE, 0);
 
 
-    /* 2nd table under that, with the balances labels */ 
+    /* 2nd table under that, with the balances labels */
     table = gtk_table_new ( 5, 2, FALSE );
     gtk_table_set_row_spacings ( GTK_TABLE ( table ), 5 );
     gtk_box_pack_start ( GTK_BOX ( vbox ), table, FALSE, FALSE, 0);
@@ -280,7 +280,7 @@ GtkWidget *gsb_reconcile_create_box ( void )
     separator = gtk_hseparator_new();
     gtk_box_pack_end ( GTK_BOX ( vbox ), separator, FALSE, FALSE, 0);
 
-    gtk_widget_show_all ( frame ); 
+    gtk_widget_show_all ( frame );
 
     return ( frame );
 }
@@ -288,12 +288,12 @@ GtkWidget *gsb_reconcile_create_box ( void )
 
 /**
  * Build the new label for the reconciliation, given the old one.
- * The expected format is NAME+NUMBER, so this function returns 
+ * The expected format is NAME+NUMBER, so this function returns
  * a newly allocated string whose format is NAME+(NUMBER+1). It
  * preserves leading '0' for the NUMBER string.
  *
- * If this is the first label building (first reconciliation for 
- * this account), then the function returns a standard string 
+ * If this is the first label building (first reconciliation for
+ * this account), then the function returns a standard string
  * of the account name (lower case) + '-1'.
  *
  * \param reconcile_number
@@ -465,7 +465,7 @@ gboolean gsb_reconcile_run_reconciliation ( GtkWidget *button,
     g_date_free (date);
 
     /* set last input amount if available and if the account is the good one */
-    gtk_entry_set_text ( GTK_ENTRY ( reconcile_final_balance_entry ), 
+    gtk_entry_set_text ( GTK_ENTRY ( reconcile_final_balance_entry ),
             (run.reconcile_final_balance) ? run.reconcile_final_balance : "");
     g_free(run.reconcile_final_balance);
 
@@ -680,22 +680,22 @@ void gsb_reconcile_sensitive ( gboolean sensitive )
     gtk_widget_set_sensitive ( gsb_gui_navigation_get_tree_view ( ), sensitive );
     gsb_gui_sensitive_headings (sensitive);
     /* add by pbiava 02/11/2009 */
-    gtk_widget_set_sensitive ( gtk_ui_manager_get_widget ( ui_manager, 
+    gtk_widget_set_sensitive ( gtk_ui_manager_get_widget ( ui_manager,
                               "/menubar/ViewMenu/ShowReconciled/" ),
 			       sensitive );
-    gtk_widget_set_sensitive ( gtk_ui_manager_get_widget ( ui_manager, 
+    gtk_widget_set_sensitive ( gtk_ui_manager_get_widget ( ui_manager,
                               "/menubar/ViewMenu/ShowArchived/" ),
 			       sensitive );
-    gtk_widget_set_sensitive ( gtk_ui_manager_get_widget (ui_manager, 
+    gtk_widget_set_sensitive ( gtk_ui_manager_get_widget (ui_manager,
 							  "/menubar/ViewMenu/ShowClosed/" ),
 			       sensitive );
-    gtk_widget_set_sensitive ( gtk_ui_manager_get_widget (ui_manager, 
+    gtk_widget_set_sensitive ( gtk_ui_manager_get_widget (ui_manager,
 							  "/menubar/EditMenu/ConvertToScheduled/" ),
 			       sensitive );
-    gtk_widget_set_sensitive ( gtk_ui_manager_get_widget (ui_manager, 
+    gtk_widget_set_sensitive ( gtk_ui_manager_get_widget (ui_manager,
 							  "/menubar/EditMenu/NewAccount/" ),
 			       sensitive );
-    gtk_widget_set_sensitive ( gtk_ui_manager_get_widget (ui_manager, 
+    gtk_widget_set_sensitive ( gtk_ui_manager_get_widget (ui_manager,
 							  "/menubar/EditMenu/RemoveAccount/" ),
 			       sensitive );
 }
@@ -803,7 +803,7 @@ gboolean gsb_reconcile_update_amounts ( GtkWidget *entry,
     gtk_label_set_text ( GTK_LABEL ( reconcile_final_balance_label ), final_balance );
 
     /* set the marked balance amount,
-     * this is what we mark as P while reconciling, so it's the total marked balance 
+     * this is what we mark as P while reconciling, so it's the total marked balance
      * - the initial marked balance */
     tmp_string = utils_real_get_string_with_currency (
                         gsb_data_account_calculate_waiting_marked_balance ( account_number ),
diff --git a/src/gsb_reconcile_config.c b/src/gsb_reconcile_config.c
index 2b32656..ff0e86b 100644
--- a/src/gsb_reconcile_config.c
+++ b/src/gsb_reconcile_config.c
@@ -59,9 +59,9 @@ static gboolean gsb_reconcile_config_end_date_changed ( GtkWidget *checkbutton,
                         GdkEventButton *event,
                         gpointer data );
 static gboolean gsb_reconcile_config_find_alone_transactions ( void );
-static gboolean gsb_reconcile_config_select ( GtkTreeSelection *selection, 
+static gboolean gsb_reconcile_config_select ( GtkTreeSelection *selection,
 				       GtkWidget *table );
-static gboolean gsb_reconcile_config_update_line ( GtkWidget *entry,    
+static gboolean gsb_reconcile_config_update_line ( GtkWidget *entry,
 					    GtkWidget *tree_view );
 /*END_STATIC*/
 
@@ -97,7 +97,7 @@ GtkWidget *gsb_reconcile_config_create ( void )
     GtkWidget *label;
     gint i;
     gfloat alignment[] = {
-	COLUMN_LEFT, COLUMN_CENTER, COLUMN_CENTER, 
+	COLUMN_LEFT, COLUMN_CENTER, COLUMN_CENTER,
 	COLUMN_RIGHT, COLUMN_RIGHT
     };
     gchar *titles[] = {
@@ -157,7 +157,7 @@ GtkWidget *gsb_reconcile_config_create ( void )
 			reconcile_treeview );
 
     reconcile_selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (reconcile_treeview));
-    g_signal_connect (reconcile_selection, "changed", 
+    g_signal_connect (reconcile_selection, "changed",
 		      G_CALLBACK (gsb_reconcile_config_select), table_selection);
 
     /* Name */
@@ -279,7 +279,7 @@ GtkWidget *gsb_reconcile_config_create ( void )
 	gtk_widget_set_sensitive ( table_selection, FALSE );
 
     /* set the button to find non-associated transactions */
-	button = gtk_button_new_with_label ( 
+	button = gtk_button_new_with_label (
                         _("Find all marked transactions not associated with a reconcile number"));
 	gtk_button_set_relief ( GTK_BUTTON (button),
 			GTK_RELIEF_NONE );
@@ -303,7 +303,7 @@ GtkWidget *gsb_reconcile_config_create ( void )
  * fill the reconcile list,
  * sort each reconcile in its account
  *
- * \param 
+ * \param
  *
  * \return
  * */
@@ -396,7 +396,7 @@ void gsb_reconcile_config_fill ( void )
  *
  * \return FALSE
  */
-gboolean gsb_reconcile_config_select ( GtkTreeSelection *selection, 
+gboolean gsb_reconcile_config_select ( GtkTreeSelection *selection,
 				       GtkWidget *table )
 {
     GtkTreeIter iter;
@@ -408,7 +408,7 @@ gboolean gsb_reconcile_config_select ( GtkTreeSelection *selection,
     {
 	gint reconcile_number;
 
-	gtk_tree_model_get (model, &iter, 
+	gtk_tree_model_get (model, &iter,
 			    RECONCILIATION_RECONCILE_COLUMN, &reconcile_number,
 			    -1 );
 
@@ -434,7 +434,7 @@ gboolean gsb_reconcile_config_select ( GtkTreeSelection *selection,
 	    /* we make the table sensitive */
 	    gtk_widget_set_sensitive ( table, TRUE );
 	}
-	else 
+	else
 	    gtk_widget_set_sensitive ( table, FALSE );
     }
     else
@@ -450,7 +450,7 @@ gboolean gsb_reconcile_config_select ( GtkTreeSelection *selection,
  *
  * \return FALSE
  * */
-gboolean gsb_reconcile_config_update_line ( GtkWidget *entry,    
+gboolean gsb_reconcile_config_update_line ( GtkWidget *entry,
 					    GtkWidget *tree_view )
 {
     GtkTreeIter iter;
@@ -465,7 +465,7 @@ gboolean gsb_reconcile_config_update_line ( GtkWidget *entry,
     {
 	gint reconcile_number;
 
-	gtk_tree_model_get (model, &iter, 
+	gtk_tree_model_get (model, &iter,
 			    RECONCILIATION_RECONCILE_COLUMN, &reconcile_number,
 			    -1 );
 
@@ -525,7 +525,7 @@ gboolean gsb_reconcile_config_delete ( GtkWidget *button,
 	gint reconcile_number;
 	gint account_number;
 
-	gtk_tree_model_get (model, &iter, 
+	gtk_tree_model_get (model, &iter,
 			    RECONCILIATION_RECONCILE_COLUMN, &reconcile_number,
 			    -1 );
 
diff --git a/src/gsb_reconcile_sort_config.c b/src/gsb_reconcile_sort_config.c
index 93db272..a353bbe 100644
--- a/src/gsb_reconcile_sort_config.c
+++ b/src/gsb_reconcile_sort_config.c
@@ -51,13 +51,13 @@ static gboolean gsb_reconcile_sort_config_move_down ( GtkWidget *button,
 					       GtkWidget *tree_view );
 static gboolean gsb_reconcile_sort_config_move_up ( GtkWidget *button,
 					     GtkWidget *tree_view );
-static gboolean gsb_reconcile_sort_config_neutral_toggled ( GtkCellRendererToggle *cell, 
+static gboolean gsb_reconcile_sort_config_neutral_toggled ( GtkCellRendererToggle *cell,
 						     gchar *path_str,
 						     GtkWidget *tree_view );
-static gboolean gsb_reconcile_sort_config_payment_toggled ( GtkCellRendererToggle *cell, 
+static gboolean gsb_reconcile_sort_config_payment_toggled ( GtkCellRendererToggle *cell,
 						     gchar *path_str,
 						     GtkWidget *tree_view );
-static gboolean gsb_reconcile_sort_config_select ( GtkTreeSelection *tselection, 
+static gboolean gsb_reconcile_sort_config_select ( GtkTreeSelection *tselection,
 					    GtkTreeModel *model );
 static gboolean gsb_reconcile_sort_config_update_account_sort_list ( gint account_number,
 							      GtkTreeModel *model );
@@ -121,7 +121,7 @@ GtkWidget *gsb_reconcile_sort_config_create ( void )
 				  GTK_SELECTION_SINGLE );
 
     reconcile_selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (reconcile_treeview));
-    g_signal_connect (reconcile_selection, "changed", 
+    g_signal_connect (reconcile_selection, "changed",
 		      G_CALLBACK (gsb_reconcile_sort_config_select), reconcile_model);
 
     /* Name */
@@ -139,7 +139,7 @@ GtkWidget *gsb_reconcile_sort_config_create ( void )
     /* Sort by date */
     cell = gtk_cell_renderer_toggle_new ();
     gtk_cell_renderer_toggle_set_radio ( GTK_CELL_RENDERER_TOGGLE(cell), FALSE );
-    g_signal_connect (cell, "toggled", 
+    g_signal_connect (cell, "toggled",
 		      G_CALLBACK (gsb_reconcile_sort_config_payment_toggled), reconcile_treeview);
     g_object_set (cell, "xalign", 0.5, NULL);
     column = gtk_tree_view_column_new ( );
@@ -157,7 +157,7 @@ GtkWidget *gsb_reconcile_sort_config_create ( void )
     /* Split neutral payment methods */
     cell = gtk_cell_renderer_toggle_new ();
     gtk_cell_renderer_toggle_set_radio ( GTK_CELL_RENDERER_TOGGLE(cell), FALSE );
-    g_signal_connect (cell, "toggled", 
+    g_signal_connect (cell, "toggled",
 		      G_CALLBACK (gsb_reconcile_sort_config_neutral_toggled), reconcile_treeview);
     g_object_set (cell, "xalign", 0.5, NULL);
     column = gtk_tree_view_column_new ( );
@@ -211,7 +211,7 @@ GtkWidget *gsb_reconcile_sort_config_create ( void )
 }
 
 
-/** 
+/**
  * clear and fill the reconciliation tree with the accounts,
  * and for each account, set the method of payments in the good order
  *
@@ -276,7 +276,7 @@ void gsb_reconcile_sort_config_fill ( void )
 		gchar *name = NULL;
 
 		gtk_tree_store_append (GTK_TREE_STORE (model),
-				       &payment_method_iter, 
+				       &payment_method_iter,
 				       &account_iter);
 
 		/* if split the neutrals, show here with the name */
@@ -344,7 +344,7 @@ void gsb_reconcile_sort_config_fill ( void )
  *
  * \return FALSE
  */
-gboolean gsb_reconcile_sort_config_select ( GtkTreeSelection *tselection, 
+gboolean gsb_reconcile_sort_config_select ( GtkTreeSelection *tselection,
 					    GtkTreeModel *model )
 {
     GtkTreeIter iter;
@@ -355,7 +355,7 @@ gboolean gsb_reconcile_sort_config_select ( GtkTreeSelection *tselection,
     {
 	gint payment_method;
 
-	gtk_tree_model_get (model, &iter, 
+	gtk_tree_model_get (model, &iter,
 			    RECONCILIATION_SORT_TYPE_COLUMN, &payment_method,
 			    -1 );
 
@@ -365,15 +365,15 @@ gboolean gsb_reconcile_sort_config_select ( GtkTreeSelection *tselection,
 
 	    /* Is there something before? */
 	    treepath = gtk_tree_model_get_path ( GTK_TREE_MODEL(model), &iter );
-	    gtk_widget_set_sensitive ( button_move_up, 
+	    gtk_widget_set_sensitive ( button_move_up,
 				       gtk_tree_path_prev(treepath) );
 	    gtk_tree_path_free ( treepath );
 
 	    /* Is there something after? */
-	    gtk_widget_set_sensitive ( button_move_down, 
+	    gtk_widget_set_sensitive ( button_move_down,
 				       gtk_tree_model_iter_next (model, &iter) );
 	}
-	else 
+	else
 	{
 	    gtk_widget_set_sensitive ( button_move_up, FALSE );
 	    gtk_widget_set_sensitive ( button_move_down, FALSE );
@@ -384,7 +384,7 @@ gboolean gsb_reconcile_sort_config_select ( GtkTreeSelection *tselection,
 
 
 
-/** 
+/**
  * Callback called by a click on the up arrow
  * to move a payment method up
  *
@@ -410,7 +410,7 @@ gboolean gsb_reconcile_sort_config_move_up ( GtkWidget *button,
 
     good = gtk_tree_selection_get_selected (selection, NULL, &iter);
     if (good)
-	gtk_tree_model_get ( GTK_TREE_MODEL(model), &iter, 
+	gtk_tree_model_get ( GTK_TREE_MODEL(model), &iter,
 			     RECONCILIATION_SORT_VISIBLE_COLUMN, &visible,
 			     RECONCILIATION_SORT_ACCOUNT_COLUMN, &account_number,
 			     RECONCILIATION_SORT_TYPE_COLUMN, &payment_number,
@@ -418,26 +418,26 @@ gboolean gsb_reconcile_sort_config_move_up ( GtkWidget *button,
 
     if ( good && ! visible )
     {
-	treepath = gtk_tree_model_get_path ( GTK_TREE_MODEL(model), 
+	treepath = gtk_tree_model_get_path ( GTK_TREE_MODEL(model),
 					     &iter );
 
 	if ( gtk_tree_path_prev ( treepath ) &&
-	     gtk_tree_model_get_iter ( GTK_TREE_MODEL(model), 
+	     gtk_tree_model_get_iter ( GTK_TREE_MODEL(model),
 				       &other, treepath ) )
 	{
-	    gtk_tree_store_move_before ( GTK_TREE_STORE(model), 
+	    gtk_tree_store_move_before ( GTK_TREE_STORE(model),
 					 &iter, &other );
 	}
     }
 
-    gsb_reconcile_sort_config_select ( selection, 
+    gsb_reconcile_sort_config_select ( selection,
 				       GTK_TREE_MODEL(model) );
     gsb_reconcile_sort_config_update_account_sort_list (account_number, model);
     return FALSE;
 }
 
 
-/** 
+/**
  * Callback called by a click on the up arrow
  * to move a payment method up
  *
@@ -462,7 +462,7 @@ gboolean gsb_reconcile_sort_config_move_down ( GtkWidget *button,
 
     good = gtk_tree_selection_get_selected (selection, NULL, &iter);
     if (good)
-	gtk_tree_model_get ( GTK_TREE_MODEL(model), &iter, 
+	gtk_tree_model_get ( GTK_TREE_MODEL(model), &iter,
 			     RECONCILIATION_SORT_VISIBLE_COLUMN, &visible,
 			     RECONCILIATION_SORT_ACCOUNT_COLUMN, &account_number,
 			     RECONCILIATION_SORT_TYPE_COLUMN, &payment_number,
@@ -470,19 +470,19 @@ gboolean gsb_reconcile_sort_config_move_down ( GtkWidget *button,
 
     if ( good && ! visible )
     {
-	treepath = gtk_tree_model_get_path ( GTK_TREE_MODEL(model), 
+	treepath = gtk_tree_model_get_path ( GTK_TREE_MODEL(model),
 					     &iter );
 
 	gtk_tree_path_next ( treepath ) ;
-	if ( gtk_tree_model_get_iter ( GTK_TREE_MODEL(model), 
+	if ( gtk_tree_model_get_iter ( GTK_TREE_MODEL(model),
 				       &other, treepath ) )
 	{
-	    gtk_tree_store_move_after ( GTK_TREE_STORE(model), 
+	    gtk_tree_store_move_after ( GTK_TREE_STORE(model),
 					&iter, &other );
 	}
     }
 
-    gsb_reconcile_sort_config_select ( selection, 
+    gsb_reconcile_sort_config_select ( selection,
 				       GTK_TREE_MODEL(model) );
     gsb_reconcile_sort_config_update_account_sort_list (account_number, model);
     return FALSE;
@@ -491,7 +491,7 @@ gboolean gsb_reconcile_sort_config_move_down ( GtkWidget *button,
 
 
 /**
- * update the sort list of an account according to the model 
+ * update the sort list of an account according to the model
  * called when change something in the order of method of payment
  *
  * \param account_number
@@ -514,7 +514,7 @@ gboolean gsb_reconcile_sort_config_update_account_sort_list ( gint account_numbe
 	{
 	    gint account_number_tmp;
 
-	    gtk_tree_model_get ( GTK_TREE_MODEL(model), &iter, 
+	    gtk_tree_model_get ( GTK_TREE_MODEL(model), &iter,
 				 RECONCILIATION_SORT_ACCOUNT_COLUMN, &account_number_tmp,
 				 -1 );
 	    if (account_number_tmp == account_number)
@@ -529,7 +529,7 @@ gboolean gsb_reconcile_sort_config_update_account_sort_list ( gint account_numbe
 		    {
 			gint payment_number;
 
-			gtk_tree_model_get ( GTK_TREE_MODEL(model), &iter_child, 
+			gtk_tree_model_get ( GTK_TREE_MODEL(model), &iter_child,
 					     RECONCILIATION_SORT_TYPE_COLUMN, &payment_number,
 					     -1 );
 			gsb_data_account_sort_list_add ( account_number, payment_number );
@@ -556,7 +556,7 @@ gboolean gsb_reconcile_sort_config_update_account_sort_list ( gint account_numbe
  *
  * \return FALSE
  */
-gboolean gsb_reconcile_sort_config_payment_toggled ( GtkCellRendererToggle *cell, 
+gboolean gsb_reconcile_sort_config_payment_toggled ( GtkCellRendererToggle *cell,
 						     gchar *path_str,
 						     GtkWidget *tree_view )
 {
@@ -572,16 +572,16 @@ gboolean gsb_reconcile_sort_config_payment_toggled ( GtkCellRendererToggle *cell
     gtk_tree_model_get_iter ( GTK_TREE_MODEL (model),
 			      &iter, treepath );
 
-    gtk_tree_model_get (GTK_TREE_MODEL(model), &iter, 
-			RECONCILIATION_SORT_SORT_COLUMN, &toggle, 
+    gtk_tree_model_get (GTK_TREE_MODEL(model), &iter,
+			RECONCILIATION_SORT_SORT_COLUMN, &toggle,
 			RECONCILIATION_SORT_ACCOUNT_COLUMN, &account_number,
 			-1);
 
     toggle ^= 1;
 
     /* set new value */
-    gtk_tree_store_set (GTK_TREE_STORE (model), &iter, 
-			RECONCILIATION_SORT_SORT_COLUMN, toggle, 
+    gtk_tree_store_set (GTK_TREE_STORE (model), &iter,
+			RECONCILIATION_SORT_SORT_COLUMN, toggle,
 			-1);
 
     /* Set to 1 (sort by types) if toggle is selected */
@@ -609,7 +609,7 @@ gboolean gsb_reconcile_sort_config_payment_toggled ( GtkCellRendererToggle *cell
  *
  * \return FALSE
  */
-gboolean gsb_reconcile_sort_config_neutral_toggled ( GtkCellRendererToggle *cell, 
+gboolean gsb_reconcile_sort_config_neutral_toggled ( GtkCellRendererToggle *cell,
 						     gchar *path_str,
 						     GtkWidget *tree_view )
 {
@@ -628,13 +628,13 @@ gboolean gsb_reconcile_sort_config_neutral_toggled ( GtkCellRendererToggle *cell
     gtk_tree_model_get_iter ( GTK_TREE_MODEL (model),
 			      &iter, treepath );
 
-    gtk_tree_model_get (GTK_TREE_MODEL(model), &iter, 
-			RECONCILIATION_SORT_SPLIT_NEUTRAL_COLUMN, &toggle, 
+    gtk_tree_model_get (GTK_TREE_MODEL(model), &iter,
+			RECONCILIATION_SORT_SPLIT_NEUTRAL_COLUMN, &toggle,
 			RECONCILIATION_SORT_ACCOUNT_COLUMN, &account_number,
 			-1);
     toggle ^= 1;
-    gtk_tree_store_set (GTK_TREE_STORE (model), &iter, 
-			RECONCILIATION_SORT_SPLIT_NEUTRAL_COLUMN, toggle, 
+    gtk_tree_store_set (GTK_TREE_STORE (model), &iter,
+			RECONCILIATION_SORT_SPLIT_NEUTRAL_COLUMN, toggle,
 			-1);
 
     /* and save it */
diff --git a/src/gsb_regex.c b/src/gsb_regex.c
index 72fe084..266e29a 100644
--- a/src/gsb_regex.c
+++ b/src/gsb_regex.c
@@ -43,10 +43,10 @@ static GHashTable *regex_store = NULL;
 
 
 /**
- * Initialize the hash map which is used to store 
+ * Initialize the hash map which is used to store
  * compile GRegex during the whole exeuction of Grisbi.
  *
- * This function is called on Grisbi startup and each time 
+ * This function is called on Grisbi startup and each time
  * of a new file is opened.
  *
  * \return void
@@ -87,7 +87,7 @@ GRegex *gsb_regex_insert ( const gchar *key,
     if ( ! regex_store )
         return NULL;
 
-    if ( ! key || ! strlen ( key ) 
+    if ( ! key || ! strlen ( key )
          || ! pattern || ! strlen ( pattern ) )
         return NULL;
 
@@ -99,8 +99,8 @@ GRegex *gsb_regex_insert ( const gchar *key,
         return NULL;
     }
 
-    g_hash_table_insert ( regex_store, 
-                          (gpointer) g_strdup ( key ), 
+    g_hash_table_insert ( regex_store,
+                          (gpointer) g_strdup ( key ),
                           regex );
 
     return regex;
diff --git a/src/gsb_report.c b/src/gsb_report.c
index 7261666..77380d3 100644
--- a/src/gsb_report.c
+++ b/src/gsb_report.c
@@ -124,12 +124,12 @@ GtkWidget *gsb_report_make_combobox ( void )
 
 
 
-/** 
+/**
  * Get and return the number of the report in the combobox given
  * in param
- * 
- * \param combo_box a combo_box with the reports 
- * 
+ *
+ * \param combo_box a combo_box with the reports
+ *
  * \return the number of report or 0 if problem
  * */
 gint gsb_report_get_report_from_combobox ( GtkWidget *combo_box )
diff --git a/src/gsb_scheduler.c b/src/gsb_scheduler.c
index 71f5e5c..bb06034 100644
--- a/src/gsb_scheduler.c
+++ b/src/gsb_scheduler.c
@@ -22,7 +22,7 @@
 
 /**
  * \file gsb_scheduler.c
- * contains several functions to work with the schedulers transactions 
+ * contains several functions to work with the schedulers transactions
  */
 
 
@@ -73,9 +73,9 @@ gint nb_days_before_scheduled;
  * if it's above the limit date, that transaction is deleted
  * if it's a split, the children are updated too
  * if the scheduled transaction is finished, it's removed from the list and from the scheduled transactions
- * 
+ *
  * \param scheduled_number the scheduled transaction we want to increase
- * 
+ *
  * \return FALSE if the scheduled transaction is finished, TRUE else
  * */
 gboolean gsb_scheduler_increase_scheduled ( gint scheduled_number )
@@ -199,7 +199,7 @@ GDate *gsb_scheduler_get_next_date ( gint scheduled_number,
 	    switch (gsb_data_scheduled_get_user_interval (scheduled_number))
 	    {
 		case PERIODICITY_DAYS:
-		    g_date_add_days ( return_date, 
+		    g_date_add_days ( return_date,
 				      gsb_data_scheduled_get_user_entry (scheduled_number));
 		    /* FIXME : there were a bug in gtk and we had to add 0 month to have the good date,
 		     * it seems fixed but we should wait the stable debian is upgraded to
@@ -208,7 +208,7 @@ GDate *gsb_scheduler_get_next_date ( gint scheduled_number,
 		    break;
 
 		case PERIODICITY_WEEKS:
-		    g_date_add_days ( return_date, 
+		    g_date_add_days ( return_date,
 				      gsb_data_scheduled_get_user_entry (scheduled_number) * 7 );
 		    g_date_add_months ( return_date, 0 );
 		    break;
@@ -235,7 +235,7 @@ GDate *gsb_scheduler_get_next_date ( gint scheduled_number,
 	g_date_free (return_date);
 	return_date = NULL;
     }
-    
+
     return ( return_date );
 }
 
@@ -245,7 +245,7 @@ GDate *gsb_scheduler_get_next_date ( gint scheduled_number,
  * create a new transaction and fill it directly from a scheduled transaction
  * (don't pass throw the form)
  * if it's a child of split, append it automatickly to the mother
- * 
+ *
  * \param scheduled_number the transaction we use to fill the new transaction
  * \param transaction_mother the number of the mother if it's a split child, 0 else
  *
@@ -346,9 +346,9 @@ gint gsb_scheduler_create_transaction_from_scheduled_transaction ( gint schedule
  * used to catch a transaction from a scheduled transaction
  * take the category, check if it's a transfer or a split and
  * do the necessary (create contra-transaction)
- * don't execute the children if it's a split, need to call 
+ * don't execute the children if it's a split, need to call
  * gsb_scheduler_execute_children_of_scheduled_transaction later
- * 
+ *
  *
  * \param transaction_number
  * \param scheduled_number
@@ -410,7 +410,7 @@ gboolean gsb_scheduler_get_category_for_transaction_from_transaction ( gint tran
  * \param transaction_number the number of the transaction created from that scheduled (so, the future mother of the children)
  *
  * \return FALSE
- * 
+ *
  * */
 gboolean gsb_scheduler_execute_children_of_scheduled_transaction ( gint scheduled_number,
 								   gint transaction_number )
@@ -441,9 +441,9 @@ gboolean gsb_scheduler_execute_children_of_scheduled_transaction ( gint schedule
 /**
  * check the scheduled transactions if the are in time limit
  * and record the automatic transactions
- * 
+ *
  * \param
- * 
+ *
  * \return
  * */
 void gsb_scheduler_check_scheduled_transactions_time_limit ( void )
@@ -473,7 +473,7 @@ void gsb_scheduler_check_scheduled_transactions_time_limit ( void )
     if ( conf.execute_scheduled_of_month)
     {
 	gint last_day;
-	
+
 	last_day = g_date_get_days_in_month ( g_date_get_month (date),
 					      g_date_get_year (date));
 	g_date_set_day (date, last_day);
@@ -517,7 +517,7 @@ void gsb_scheduler_check_scheduled_transactions_time_limit ( void )
 		/* set the scheduled transaction to the next date,
 		 * if it's not finished, we check them again if it need to be
 		 * executed more than one time (the easiest way is to check
-		 * all again, i don't think it will have thousand of scheduled transactions, 
+		 * all again, i don't think it will have thousand of scheduled transactions,
 		 * so no much waste of time...) */
 		if (gsb_scheduler_increase_scheduled (scheduled_number))
 		{
diff --git a/src/gsb_scheduler_list.c b/src/gsb_scheduler_list.c
index e134f11..396aa74 100644
--- a/src/gsb_scheduler_list.c
+++ b/src/gsb_scheduler_list.c
@@ -248,7 +248,7 @@ GtkWidget *gsb_scheduler_list_create_list ( void )
  * Create the toolbar that contains all elements needed to manipulate
  * the scheduler.
  *
- * \param 
+ * \param
  *
  * \return A newly created hbox.
  */
@@ -304,7 +304,7 @@ GtkWidget *creation_barre_outils_echeancier ( void )
 							     GTK_STOCK_EXECUTE,
 							     _("Execute"),
 							     G_CALLBACK ( gsb_scheduler_list_execute_transaction ),
-							     NULL ); 
+							     NULL );
     gtk_widget_set_sensitive ( scheduler_button_execute, FALSE );
     gtk_widget_set_tooltip_text ( GTK_WIDGET (scheduler_button_execute),
 				  _("Execute current scheduled transaction"));
@@ -335,7 +335,7 @@ void gsb_gui_update_scheduler_toolbar ( void )
     GList * list = NULL;
 
     list = gtk_container_get_children ( GTK_CONTAINER ( scheduler_toolbar ) );
-    
+
     if ( list )
     {
 	gtk_container_remove ( GTK_CONTAINER ( scheduler_toolbar ),
@@ -354,13 +354,13 @@ void gsb_gui_update_scheduler_toolbar ( void )
 gboolean popup_scheduled_view_mode_menu ( GtkWidget *button )
 {
     GtkWidget *menu, *item;
-    gchar * names[] = { _("Unique view"), _("Week view"), _("Month view"), 
-			_("Two months view"), _("Quarter view"), 
+    gchar * names[] = { _("Unique view"), _("Week view"), _("Month view"),
+			_("Two months view"), _("Quarter view"),
 			_("Year view"), _("Custom view"), NULL, };
     int i;
 
     menu = gtk_menu_new ();
-    
+
     for ( i = 0 ; names[i] ; i++ )
     {
 	item = gtk_menu_item_new_with_label ( names[i] );
@@ -372,7 +372,7 @@ gboolean popup_scheduled_view_mode_menu ( GtkWidget *button )
 
     gtk_widget_show_all ( menu );
 
-    gtk_menu_popup ( GTK_MENU(menu), NULL, button, set_popup_position, button, 1, 
+    gtk_menu_popup ( GTK_MENU(menu), NULL, button, set_popup_position, button, 1,
 		     gtk_get_current_event_time());
 
     return FALSE;
@@ -880,7 +880,7 @@ gboolean gsb_scheduler_list_fill_list ( GtkWidget *tree_view )
         scheduled_number = gsb_data_scheduled_get_scheduled_number ( tmp_list -> data );
 
         if ( !end_date
-         || 
+         ||
          g_date_compare ( gsb_data_scheduled_get_date ( scheduled_number ), end_date) <= 0 )
         {
             if ( !gsb_scheduler_list_append_new_scheduled ( scheduled_number, end_date ) )
@@ -1978,7 +1978,7 @@ gboolean gsb_scheduler_list_delete_scheduled_transaction ( gint scheduled_number
         }
         else
         {
-            /* for a normal scheduled, ask only if no frequency, else, it will 
+            /* for a normal scheduled, ask only if no frequency, else, it will
              * have another dialog to delete the occurence or the transaction */
             msg_no = question_conditional_yes_no_get_no_struct ( &delete_msg[0],
                         "delete-scheduled" );
@@ -2025,7 +2025,7 @@ gboolean gsb_scheduler_list_delete_scheduled_transaction ( gint scheduled_number
 
             msg_no = question_conditional_yes_no_get_no_struct ( &delete_msg[0],
                             "delete-scheduled-occurences" );
-            
+
             if ( delete_msg[msg_no].hidden )
                 result = delete_msg[msg_no].default_answer;
             else
diff --git a/src/gsb_select_icon.c b/src/gsb_select_icon.c
index d362de8..509e88d 100644
--- a/src/gsb_select_icon.c
+++ b/src/gsb_select_icon.c
@@ -42,7 +42,7 @@
 /*START_STATIC*/
 static gboolean gsb_select_icon_add_path ( void );
 static GtkWidget * gsb_select_icon_create_entry_text ( gchar * name_icon );
-static void gsb_select_icon_create_file_chooser ( GtkWidget * button, 
+static void gsb_select_icon_create_file_chooser ( GtkWidget * button,
                                            gpointer user_data );
 static GtkWidget * gsb_select_icon_create_icon_view ( gchar * name_icon );
 static void gsb_select_icon_entry_text_changed ( GtkComboBoxEntry *entry,
@@ -80,7 +80,7 @@ typedef struct
 static struct_account_icon *icon_buffer;
 
 
-enum { 
+enum {
         PIXBUF_COLUMN,
         TEXT_COLUMN,
         DATA_COLUMN
@@ -187,7 +187,7 @@ gchar * gsb_select_icon_create_window ( gchar *name_icon )
     /* création du bouton de sélection des répertoires */
     chooser_button = gtk_button_new_with_label ( _("Browse") );
     gtk_box_pack_start ( GTK_BOX ( hbox ), chooser_button, FALSE, FALSE, 0 );
-    
+
     /* création de la vue pour les icônes */
     scroll = gtk_scrolled_window_new ( NULL, NULL);
     gtk_scrolled_window_set_policy ( GTK_SCROLLED_WINDOW ( scroll ),
@@ -198,19 +198,19 @@ gchar * gsb_select_icon_create_window ( gchar *name_icon )
     gtk_container_add ( GTK_CONTAINER ( scroll ), icon_view );
 
     /* gestion des signaux */
-    g_signal_connect ( G_OBJECT ( icon_view ), 
-                        "selection-changed", 
-                        G_CALLBACK( gsb_select_icon_selection_changed ), 
+    g_signal_connect ( G_OBJECT ( icon_view ),
+                        "selection-changed",
+                        G_CALLBACK( gsb_select_icon_selection_changed ),
                         NULL );
 
-    g_signal_connect ( G_OBJECT ( chooser_button ), 
-                        "clicked", 
-                        G_CALLBACK(gsb_select_icon_create_file_chooser), 
+    g_signal_connect ( G_OBJECT ( chooser_button ),
+                        "clicked",
+                        G_CALLBACK(gsb_select_icon_create_file_chooser),
                         NULL );
 
-    g_signal_connect ( G_OBJECT( entry_text ), 
-                        "changed", 
-                        G_CALLBACK( gsb_select_icon_entry_text_changed ), 
+    g_signal_connect ( G_OBJECT( entry_text ),
+                        "changed",
+                        G_CALLBACK( gsb_select_icon_entry_text_changed ),
                         NULL );
 
     gtk_widget_show_all ( dialog );
@@ -263,7 +263,7 @@ GtkWidget * gsb_select_icon_create_entry_text ( gchar * name_icon )
         }
         gtk_list_store_set (store, &iter, 0, path_icon, -1);
     }
-    
+
     combo = gtk_combo_box_entry_new_with_model ( GTK_TREE_MODEL ( store ), 0 );
     gtk_entry_set_text ( GTK_ENTRY (GTK_BIN (combo)->child), name_icon );
 
@@ -272,12 +272,12 @@ GtkWidget * gsb_select_icon_create_entry_text ( gchar * name_icon )
 
 
 /**
- * Crée le GtkIconView 
+ * Crée le GtkIconView
  *
  * \param nom de l'icône
  *
  * \return le GtkIconView rempli avec l'icône sélectionnée au premier plan
- * 
+ *
  * */
 GtkWidget * gsb_select_icon_create_icon_view ( gchar * name_icon )
 {
@@ -287,7 +287,7 @@ GtkWidget * gsb_select_icon_create_icon_view ( gchar * name_icon )
     icon_view = gtk_icon_view_new ();
     gtk_icon_view_set_margin ( GTK_ICON_VIEW ( icon_view ), 0 );
     gtk_icon_view_set_spacing (GTK_ICON_VIEW ( icon_view ), 0 );
-    gtk_icon_view_set_selection_mode (GTK_ICON_VIEW ( icon_view ), 
+    gtk_icon_view_set_selection_mode (GTK_ICON_VIEW ( icon_view ),
                             GTK_SELECTION_SINGLE );
     gtk_icon_view_set_pixbuf_column (GTK_ICON_VIEW ( icon_view ), PIXBUF_COLUMN);
     gtk_icon_view_set_text_column (GTK_ICON_VIEW ( icon_view ), TEXT_COLUMN);
@@ -323,7 +323,7 @@ GtkTreePath * gsb_select_icon_fill_icon_view (  gchar * name_icon )
 
 
     devel_debug ( path_icon );
-    
+
     dir = g_dir_open ( path_icon, 0, &error );
     if ( dir )
     {
@@ -333,7 +333,7 @@ GtkTreePath * gsb_select_icon_fill_icon_view (  gchar * name_icon )
         GSList *liste = NULL;
         gint i = 0;
         const gchar *name = NULL;
-        
+
         while ( (name = g_dir_read_name ( dir ) ) )
         {
             liste = g_slist_append ( liste, g_strdup ( name ) );
@@ -354,15 +354,15 @@ GtkTreePath * gsb_select_icon_fill_icon_view (  gchar * name_icon )
             if ( pixbuf )
             {
                 gchar *tmpstr;
-                
+
                 gtk_list_store_append ( store, &iter );
                 tmpstr = gsb_select_icon_troncate_name_icon ( liste -> data, 10 );
-                gtk_list_store_set (store, &iter, PIXBUF_COLUMN, pixbuf, 
+                gtk_list_store_set (store, &iter, PIXBUF_COLUMN, pixbuf,
                             TEXT_COLUMN, tmpstr, -1);
                 g_free ( tmpstr );
                 g_object_unref (pixbuf);
             }
-            
+
             g_free ( tmpstr );
             liste = liste -> next;
             i++;
@@ -389,14 +389,14 @@ GtkTreePath * gsb_select_icon_fill_icon_view (  gchar * name_icon )
  * \param bouton appelant
  *
  * \return void
- * 
+ *
  * */
-void gsb_select_icon_create_file_chooser ( GtkWidget * button, 
+void gsb_select_icon_create_file_chooser ( GtkWidget * button,
                                            gpointer user_data )
 {
     GtkWidget *chooser;
     GtkFileFilter *filter;
-    
+
     chooser = gtk_file_chooser_dialog_new ( _("Select icon directory"),
                         GTK_WINDOW (dialog),
                         GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
@@ -414,14 +414,14 @@ void gsb_select_icon_create_file_chooser ( GtkWidget * button,
     if (gtk_dialog_run (GTK_DIALOG ( chooser ) ) == GTK_RESPONSE_ACCEPT )
     {
         GtkTreePath *path;
-        
+
         path_icon = gtk_file_chooser_get_filename ( GTK_FILE_CHOOSER ( chooser ) );
         devel_debug ( path_icon );
         path = gsb_select_icon_fill_icon_view ( NULL );
         gtk_icon_view_scroll_to_path (GTK_ICON_VIEW ( icon_view ),
                             path, TRUE, 0.5, 0 );
         gsb_select_icon_add_path ( );
-        gtk_entry_set_text ( GTK_ENTRY (GTK_BIN (entry_text)->child ), 
+        gtk_entry_set_text ( GTK_ENTRY (GTK_BIN (entry_text)->child ),
                                  path_icon );
         gtk_widget_set_sensitive (bouton_OK, FALSE );
     }
@@ -437,7 +437,7 @@ void gsb_select_icon_create_file_chooser ( GtkWidget * button,
  * \param le GtkComboBoxEntry appellant
  *
  * \return void
- * 
+ *
  * */
 void gsb_select_icon_entry_text_changed ( GtkComboBoxEntry *entry,
                                           gpointer user_data )
@@ -468,8 +468,8 @@ void gsb_select_icon_entry_text_changed ( GtkComboBoxEntry *entry,
  *
  * \param le GtkIconView appellant
  *
- * \return 
- * 
+ * \return
+ *
  * */
 void gsb_select_icon_selection_changed ( GtkIconView *icon_view,
                                          gpointer user_data )
@@ -497,7 +497,7 @@ void gsb_select_icon_selection_changed ( GtkIconView *icon_view,
     {
         new_icon = g_strconcat ( path_icon, G_DIR_SEPARATOR_S,
                                  name_icon, NULL );
-        gtk_entry_set_text ( GTK_ENTRY (GTK_BIN (entry_text)->child ), 
+        gtk_entry_set_text ( GTK_ENTRY (GTK_BIN (entry_text)->child ),
                                  new_icon );
         gtk_widget_set_sensitive (bouton_OK, TRUE );
     }
@@ -522,11 +522,11 @@ gchar * gsb_select_icon_troncate_name_icon ( gchar *name_icon, gint trunc )
         gchar *end;
         gchar *ptr = NULL;
         gint i = 1, n = 0;
-        
+
         n = size / trunc;
         if ( (size % trunc ) == 0 )
         n--;
-        
+
         tmpstr = g_malloc ( size + n + 1 );
         /* devel_debug_int ( n );
         devel_debug ( name_icon ); */
@@ -545,7 +545,7 @@ gchar * gsb_select_icon_troncate_name_icon ( gchar *name_icon, gint trunc )
             ptr = NULL;
             i++;
         } while ( i <= n );
-        
+
         g_free ( tmpstr );
         return tmpstr2;
     }
@@ -574,7 +574,7 @@ gboolean gsb_select_icon_add_path ( void )
     while (result)
     {
         gchar * rep;
-        
+
         gtk_tree_model_get ( GTK_TREE_MODEL ( store ), &iter, 0, &rep, -1 );
         if ( strcmp ( path_icon, rep ) == 0)
         {
@@ -659,7 +659,7 @@ GdkPixbuf *gsb_select_icon_get_default_logo_pixbuf ( void )
     GdkPixbuf *pixbuf = NULL;
     GError *error = NULL;
 
-    pixbuf = gdk_pixbuf_new_from_file ( g_build_filename 
+    pixbuf = gdk_pixbuf_new_from_file ( g_build_filename
                         (gsb_dirs_get_pixmaps_dir ( ), "grisbi-logo.png", NULL), &error );
 
     if ( ! pixbuf )
@@ -747,10 +747,10 @@ GSList *gsb_select_icon_list_accounts_icon ( void )
 
 
 /**
- * find and return the number of the account which the struct account_icon is the param 
- * 
+ * find and return the number of the account which the struct account_icon is the param
+ *
  * \param the struct of the account_icon
- * 
+ *
  * \return the number of account, -1 if pb
  * */
 gint gsb_select_icon_get_no_account_by_ptr ( gpointer account_icon_ptr )
@@ -904,7 +904,7 @@ gboolean gsb_select_icon_new_account_icon_from_file ( gint account_number,
         g_free ( icon );
 
         return FALSE;
-    }        
+    }
 }
 
 
@@ -988,7 +988,7 @@ gboolean gsb_select_icon_remove_account_pixbuf ( gint account_number )
 
         if ( icon -> account_number == account_number )
         {
-            
+
             if ( icon -> pixbuf )
             {
                 g_object_unref ( icon -> pixbuf );
diff --git a/src/gsb_status.c b/src/gsb_status.c
index 1c6357f..51961d5 100644
--- a/src/gsb_status.c
+++ b/src/gsb_status.c
@@ -128,7 +128,7 @@ void gsb_status_clear (  )
 /**
  * Change current cursor to a animated watch (if animation supported
  * by environment).
- * 
+ *
  * \param force_update		Call a gtk iteration to ensure cursor
  *				is updated.  May cause trouble if
  *				called from some signal handlers.
@@ -137,8 +137,8 @@ void gsb_status_wait ( gboolean force_update )
 {
     GdkWindow * current_window;
 
-    gdk_window_set_cursor ( run.window -> window, 
-			    gdk_cursor_new_for_display ( gdk_display_get_default ( ), 
+    gdk_window_set_cursor ( run.window -> window,
+			    gdk_cursor_new_for_display ( gdk_display_get_default ( ),
 							 GDK_WATCH ) );
 
     current_window = gdk_display_get_window_at_pointer ( gdk_display_get_default ( ),
@@ -149,14 +149,14 @@ void gsb_status_wait ( gboolean force_update )
 	 current_window != run.window -> window )
     {
 	GdkWindow * parent = gdk_window_get_toplevel ( current_window );
-	
+
 	if ( parent && parent != current_window )
 	{
 	    current_window = parent;
-	}	    
+	}
 
-	gdk_window_set_cursor ( current_window, 
-				gdk_cursor_new_for_display ( gdk_display_get_default ( ), 
+	gdk_window_set_cursor ( current_window,
+				gdk_cursor_new_for_display ( gdk_display_get_default ( ),
 							     GDK_WATCH ) );
 
 	tracked_window = current_window;
@@ -169,7 +169,7 @@ void gsb_status_wait ( gboolean force_update )
 
 /**
  * Change current cursor to default cursor.
- * 
+ *
  * \param force_update		Call a gtk iteration to ensure cursor
  *				is updated.  May cause trouble if
  *				called from some signal handlers.
diff --git a/src/gsb_transactions_list.c b/src/gsb_transactions_list.c
index 830acb0..0eb6046 100644
--- a/src/gsb_transactions_list.c
+++ b/src/gsb_transactions_list.c
@@ -280,7 +280,7 @@ void gsb_transactions_list_update_tree_view ( gint account_number,
 {
     gint selected_transaction = 0;
 
-    /* called sometimes with gsb_gui_navigation_get_current_account, so check we are 
+    /* called sometimes with gsb_gui_navigation_get_current_account, so check we are
      * on an account */
     if ( account_number == -1 )
         return;
@@ -349,7 +349,7 @@ GtkWidget *creation_barre_outils_transaction ( void )
     gtk_box_pack_start ( GTK_BOX ( hbox ), button, FALSE, FALSE, 0 );
 
     button = gsb_automem_stock_button_new ( conf.display_toolbar,
-					   GTK_STOCK_DELETE, 
+					   GTK_STOCK_DELETE,
 					   _("Delete"),
 					   G_CALLBACK ( remove_transaction ),
 					   NULL );
@@ -444,7 +444,7 @@ void gsb_gui_update_transaction_toolbar ( void )
     transaction_toolbar = gsb_transactions_list_get_toolbar ( );
 
     list = gtk_container_get_children ( GTK_CONTAINER ( transaction_toolbar ) );
-    
+
     if ( list )
     {
         gtk_container_remove ( GTK_CONTAINER ( transaction_toolbar ),
@@ -471,19 +471,19 @@ gboolean popup_transaction_rules_menu ( GtkWidget * button,
     menu = gtk_menu_new ( );
 
     tmp_list = gsb_data_import_rule_get_from_account ( current_account );
-    
+
     while ( tmp_list )
     {
         gint rule;
 
         rule = gsb_data_import_rule_get_number ( tmp_list -> data );
-     
+
         if ( i > 0 )
         {
             menu_item = gtk_separator_menu_item_new ( );
             gtk_menu_shell_append ( GTK_MENU_SHELL ( menu ), menu_item );
         }
-      
+
         menu_item = gtk_menu_item_new_with_label ( gsb_data_import_rule_get_name ( rule ) );
         gtk_menu_shell_append ( GTK_MENU_SHELL ( menu ), menu_item );
         g_signal_connect_swapped ( G_OBJECT ( menu_item ),
@@ -561,7 +561,7 @@ static gboolean popup_transaction_view_mode_menu ( GtkWidget *button,
     if ( nb_rows_by_transaction == 1 )
         gtk_check_menu_item_set_active ( GTK_CHECK_MENU_ITEM ( menu_item_1 ), TRUE );
     gtk_menu_shell_append ( GTK_MENU_SHELL ( menu ), menu_item_1 );
-        
+
     menu_item_2 = gtk_radio_menu_item_new_with_label ( group, _("Two lines view") );
     group = gtk_radio_menu_item_get_group ( GTK_RADIO_MENU_ITEM ( menu_item_2 ) );
     if ( nb_rows_by_transaction == 2 )
@@ -1324,7 +1324,7 @@ gint find_element_col ( gint element_number )
     return -1;
 }
 
-/** 
+/**
  * find line number for the transaction element number
  *
  * \param element_number the element we look for
@@ -1571,7 +1571,7 @@ gboolean gsb_transactions_list_button_press ( GtkWidget *tree_view,
 
 /**
  * gère le clavier sur la liste des opés
- * 
+ *
  * */
 gboolean gsb_transactions_list_key_press ( GtkWidget *widget,
                         GdkEventKey *ev )
@@ -1611,7 +1611,7 @@ gboolean gsb_transactions_list_key_press ( GtkWidget *widget,
 
     case GDK_P:         /* touche P */
     case GDK_p:         /* touche p */
-    case GDK_F12:       /* touche F12 pour pointer dépointer comme avec <ctrl>p*/ 
+    case GDK_F12:       /* touche F12 pour pointer dépointer comme avec <ctrl>p*/
 
         if ( ( ev -> state & GDK_CONTROL_MASK ) == GDK_CONTROL_MASK
             ||
@@ -1713,7 +1713,7 @@ void gsb_transactions_list_selection_changed ( gint new_selected_transaction )
     gsb_form_is_visible () )
         gsb_form_fill_by_transaction (new_selected_transaction, TRUE, FALSE);
 
-    /* give the focus to the transaction_tree_view pbiava 02/09/2009 
+    /* give the focus to the transaction_tree_view pbiava 02/09/2009
      * edit due to a regression loss of <CtrlR> */
     if ( transactions_tree_view )
         gtk_widget_grab_focus ( transactions_tree_view );
@@ -1905,7 +1905,7 @@ gboolean gsb_transactions_list_switch_R_mark ( gint transaction_number )
     {
         msg_no = question_conditional_yes_no_get_no_struct ( &messages[0],
                         "reconcile-transaction" );
-    	tmp_str = g_strdup_printf ( 
+    	tmp_str = g_strdup_printf (
 				   _("You are trying to reconcile or unreconcile a transaction manually, "
 				     "which is not a recommended action.This is the wrong approach.\n\n"
 				     "And moreover the transaction you try to reconcile is a child of split, so "
@@ -2153,7 +2153,7 @@ gint gsb_transactions_list_choose_reconcile ( gint account_number,
                 GDate *date_debut;
                 GDate *date_fin;
                 const GDate *date;
-                
+
                 date_debut = gsb_parse_date_string ( init_date );
                 date_fin = gsb_parse_date_string ( final_date );
                 date = gsb_data_transaction_get_date ( transaction_number );
@@ -2734,7 +2734,7 @@ gboolean gsb_gui_change_cell_content ( GtkWidget * item, gint *element_ptr )
     if ( sort_column == last_col )
     {
         gsb_data_account_set_sort_column ( current_account, col );
-        transaction_list_sort_set_column ( col, 
+        transaction_list_sort_set_column ( col,
                         gsb_data_account_get_sort_type ( current_account ) );
     }
 
@@ -3046,7 +3046,7 @@ gboolean gsb_transactions_list_move_transaction_to_account ( gint transaction_nu
     /* if it's a transfer, update the contra-transaction category line */
     if (contra_transaction_number > 0)
     {
-        /* the transaction is a transfer, we check if the contra-transaction is not on 
+        /* the transaction is a transfer, we check if the contra-transaction is not on
          * the target account */
         if ( gsb_data_transaction_get_account_number (
                         contra_transaction_number) == target_account )
@@ -3925,7 +3925,7 @@ gboolean gsb_transactions_list_restore_archive ( gint archive_number,
     /* remove the lines of the archive in the model */
     exist = transaction_list_remove_archive ( archive_number );
 
-    /* si l'archive existait bien on ajoute les transactions dans la liste et dans le 
+    /* si l'archive existait bien on ajoute les transactions dans la liste et dans le
      * tree_view. Evite de charger deux fois les données si on supprime l'archive
      * après avoir ajouté les lignes */
     if (exist )
@@ -4043,7 +4043,7 @@ gboolean gsb_transactions_list_add_transactions_from_archive ( gint archive_numb
     /* set visible the transactions in archive_store */
     gsb_data_archive_store_set_transactions_visibles ( archive_number, account_number, TRUE );
 
-    /* si l'archive existait bien on ajoute les transactions dans la liste et dans le 
+    /* si l'archive existait bien on ajoute les transactions dans la liste et dans le
      * tree_view. Evite de charger deux fois les données si on supprime l'archive
      * après avoir ajouté les lignes */
     if ( exist )
@@ -4207,9 +4207,9 @@ gint find_element_col_for_archive ( void )
 
 /**
  * display contra_transaction
- * 
  *
- * 
+ *
+ *
  */
 void gsb_transactions_list_display_contra_transaction ( gint *element_ptr )
 {
@@ -4277,7 +4277,7 @@ gboolean gsb_transactions_list_change_alignement ( GtkWidget *menu_item,
     g_object_set ( G_OBJECT ( cell_renderer ),
 		                "xalign", xalign,
 		                NULL );
-    
+
     gsb_file_set_modified ( TRUE );
 
     return FALSE;
diff --git a/src/gsb_transactions_list_sort.c b/src/gsb_transactions_list_sort.c
index e345f9d..b0dceb6 100644
--- a/src/gsb_transactions_list_sort.c
+++ b/src/gsb_transactions_list_sort.c
@@ -179,7 +179,7 @@ gint gsb_transactions_list_sort (CustomRecord **a,
  * \param model
  * \param iter_1
  * \param iter_2
- * 
+ *
  * \return -1 if iter_1 is above iter_2
  * */
 gint gsb_transactions_list_sort_check_archive (  CustomRecord *record_1,
@@ -229,11 +229,11 @@ gint gsb_transactions_list_sort_check_archive (  CustomRecord *record_1,
  * check for the part wich cannot change : the white line must always be at
  * the end of the list
  * and into a transaction, the lines are not sorted in ascending or descending method
- * 
+ *
  * \param model
  * \param iter_1
  * \param iter_2
- * 
+ *
  * \return 0 if that test cannot say the return_value between the 2 lines,
  * or the return_value if it's possible here
  * */
@@ -524,11 +524,11 @@ gint gsb_transactions_list_sort_by_date ( gint transaction_number_1,
 /**
  * used to compare 2 iters and sort the by value date or date if not exist
  * always put the white line below
- * 
+ *
  * \param model the GtkTreeModel
  * \param iter_1
  * \param iter_2
- * 
+ *
  * \return -1 if iter_1 is above iter_2
  * */
 gint gsb_transactions_list_sort_by_value_date ( gint transaction_number_1,
@@ -571,7 +571,7 @@ gint gsb_transactions_list_sort_by_value_date ( gint transaction_number_1,
 }
 
 
-/** used to compare 2 iters and sort the by party first, and 
+/** used to compare 2 iters and sort the by party first, and
  * by date and no transaction after
  * always put the white line below
  * \param model the GtkTreeModel
@@ -617,7 +617,7 @@ gint gsb_transactions_list_sort_by_party ( gint transaction_number_1,
 }
 
 
-/** used to compare 2 iters and sort the by budgetary first, and 
+/** used to compare 2 iters and sort the by budgetary first, and
  * by date and no transaction after
  * always put the white line below
  * \param model the GtkTreeModel
@@ -674,14 +674,14 @@ gint gsb_transactions_list_sort_by_budget ( gint transaction_number_1,
 
 
 /**
- * used to compare 2 iters and sort the by credit amount first, and 
+ * used to compare 2 iters and sort the by credit amount first, and
  * by date and no transaction after
  * always put the white line below
- * 
+ *
  * \param model the GtkTreeModel
  * \param iter_1
  * \param iter_2
- * 
+ *
  * \return -1 if iter_1 is above iter_2
  * */
 gint gsb_transactions_list_sort_by_credit ( gint transaction_number_1,
@@ -701,7 +701,7 @@ gint gsb_transactions_list_sort_by_credit ( gint transaction_number_1,
 
 
 
-/** used to compare 2 iters and sort the by debit amount first, and 
+/** used to compare 2 iters and sort the by debit amount first, and
  * by date and no transaction after
  * always put the white line below
  * \param model the GtkTreeModel
@@ -726,7 +726,7 @@ gint gsb_transactions_list_sort_by_debit ( gint transaction_number_1,
 
 
 
-/** used to compare 2 iters and sort the by amount first, and 
+/** used to compare 2 iters and sort the by amount first, and
  * by date and no transaction after
  * always put the white line below
  * \param model the GtkTreeModel
@@ -751,7 +751,7 @@ gint gsb_transactions_list_sort_by_amount ( gint transaction_number_1,
 
 
 
-/** used to compare 2 iters and sort the by type first, and 
+/** used to compare 2 iters and sort the by type first, and
  * by date and no transaction after
  * always put the white line below
  * \param model the GtkTreeModel
@@ -811,7 +811,7 @@ gint gsb_transactions_list_sort_by_type ( gint transaction_number_1,
 
 
 
-/** used to compare 2 iters and sort the by reconcile number first, and 
+/** used to compare 2 iters and sort the by reconcile number first, and
  * by date and no transaction after
  * always put the white line below
  * \param model the GtkTreeModel
@@ -899,7 +899,7 @@ gint gsb_transactions_list_sort_by_financial_year ( gint transaction_number_1,
 
 
 
-/** used to compare 2 iters and sort the by category first, and 
+/** used to compare 2 iters and sort the by category first, and
  * by date and no transaction after
  * always put the white line below
  * \param model the GtkTreeModel
@@ -941,7 +941,7 @@ gint gsb_transactions_list_sort_by_category ( gint transaction_number_1,
 }
 
 
-/** used to compare 2 iters and sort the by mark first, and 
+/** used to compare 2 iters and sort the by mark first, and
  * by date and no transaction after
  * always put the white line below
  * \param model the GtkTreeModel
@@ -968,7 +968,7 @@ gint gsb_transactions_list_sort_by_mark ( gint transaction_number_1,
 
 
 
-/** used to compare 2 iters and sort the by voucher first, and 
+/** used to compare 2 iters and sort the by voucher first, and
  * by date and no transaction after
  * always put the white line below
  * \param model the GtkTreeModel
@@ -1000,7 +1000,7 @@ gint gsb_transactions_list_sort_by_voucher ( gint transaction_number_1,
 }
 
 
-/** used to compare 2 iters and sort the by notes first, and 
+/** used to compare 2 iters and sort the by notes first, and
  * by date and no transaction after
  * always put the white line below
  * \param model the GtkTreeModel
@@ -1033,7 +1033,7 @@ gint gsb_transactions_list_sort_by_notes ( gint transaction_number_1,
 
 
 
-/** used to compare 2 iters and sort the by bank first, and 
+/** used to compare 2 iters and sort the by bank first, and
  * by date and no transaction after
  * always put the white line below
  * \param model the GtkTreeModel
@@ -1066,7 +1066,7 @@ gint gsb_transactions_list_sort_by_bank ( gint transaction_number_1,
 
 
 
-/** used to compare 2 iters and sort the by cheque or no of transfer first, and 
+/** used to compare 2 iters and sort the by cheque or no of transfer first, and
  * by date and no transaction after
  * always put the white line below
  * \param model the GtkTreeModel
@@ -1122,7 +1122,7 @@ gint gsb_transactions_list_sort_initial (CustomRecord **a,
         /* normally cannot happen, except come here at the opening
          * of grisbi, and must return 0 if we don't want a crash */
         return 0;
-    }   
+    }
 
     /* i don't know why but sometimes there is a comparison between the 2 same rows... */
     if (*a == *b)
diff --git a/src/help.c b/src/help.c
index 04f005c..5991020 100644
--- a/src/help.c
+++ b/src/help.c
@@ -182,7 +182,7 @@ NULL};
                         " ",
                         __TIME__,
                         NULL );
-                        
+
         g_free ( compiled_time );
     }
     else
diff --git a/src/import.c b/src/import.c
index 1264882..3637a43 100644
--- a/src/import.c
+++ b/src/import.c
@@ -374,7 +374,7 @@ gchar *gsb_import_formats_get_list_formats_to_string ( void )
 
         format = (struct import_format *) tmp_list -> data;
         tmp_str = g_strdup_printf ("	• %s (%s)\n", _(format -> complete_name), format -> name );
-        
+
         if ( format_str == NULL )
             format_str = tmp_str;
         else
@@ -946,7 +946,7 @@ gboolean import_enter_resume_page ( GtkWidget * assistant )
         while ( tmp )
         {
             struct import_format *format = (struct import_format *) tmp -> data;
-            
+
             if ( !strcmp ( imported -> type, format -> name ) )
             {
                 devel_print_str ( imported -> type );
@@ -1295,7 +1295,7 @@ GtkWidget *cree_ligne_recapitulatif ( struct struct_compte_importation * compte
     g_object_set_data ( G_OBJECT ( radio_add_account ), "associated", compte -> hbox2 );
     g_object_set_data ( G_OBJECT ( radio_add_account ), "account", compte );
     g_signal_connect ( G_OBJECT ( radio_add_account ), "toggled",
-                        G_CALLBACK ( import_account_action_activated ), 
+                        G_CALLBACK ( import_account_action_activated ),
                         GINT_TO_POINTER (IMPORT_ADD_TRANSACTIONS));
 
     /* Mark account */
@@ -1320,7 +1320,7 @@ GtkWidget *cree_ligne_recapitulatif ( struct struct_compte_importation * compte
     g_object_set_data ( G_OBJECT ( radio ), "associated", compte -> hbox3 );
     g_object_set_data ( G_OBJECT ( radio ), "account", compte );
     g_signal_connect ( G_OBJECT ( radio ), "toggled",
-                        G_CALLBACK ( import_account_action_activated ), 
+                        G_CALLBACK ( import_account_action_activated ),
                         GINT_TO_POINTER (IMPORT_MARK_TRANSACTIONS));
 
 	/* set on the right account */
@@ -1386,7 +1386,7 @@ GtkWidget *cree_ligne_recapitulatif ( struct struct_compte_importation * compte
     gtk_widget_set_sensitive (button, FALSE);
 
     gtk_widget_set_sensitive (compte -> entry_name_rule, FALSE);
-    gtk_box_pack_start ( GTK_BOX (compte -> hbox_rule), 
+    gtk_box_pack_start ( GTK_BOX (compte -> hbox_rule),
                         compte -> entry_name_rule, FALSE, FALSE, 0 );
 
     return vbox;
@@ -1407,14 +1407,14 @@ gint gsb_import_add_currency ( struct struct_compte_importation * compte )
     gchar *text;
     gint currency_number = 0;
 
-    tmpstr = g_strdup_printf ( 
+    tmpstr = g_strdup_printf (
                         _("The account currency imported %s is %s.\nThis currency "
                         "doesn't exist so you have to create it by selecting OK.\n"
                         "\n"
                         "Do you create it?"),
                         compte -> nom_de_compte,
                         compte -> devise );
-    tmpstr2 = g_strdup_printf ( 
+    tmpstr2 = g_strdup_printf (
                         _("Can't associate ISO 4217 code for currency '%s'."),
                         compte -> devise );
     text = make_hint ( tmpstr2, tmpstr );
@@ -1430,7 +1430,7 @@ gint gsb_import_add_currency ( struct struct_compte_importation * compte )
 
     vbox = GTK_DIALOG(dialog) -> vbox;
 
-    checkbox = gtk_check_button_new_with_label ( 
+    checkbox = gtk_check_button_new_with_label (
                         _("Use this currency for totals for the payees categories\n"
                         "and budgetary lines") );
     gtk_box_pack_start ( GTK_BOX ( vbox ), checkbox, TRUE, TRUE, 6 );
@@ -2018,7 +2018,7 @@ void gsb_import_add_imported_transactions ( struct struct_compte_importation *im
     GDate *first_date_import = NULL;
     gint demande_confirmation;
 
-    /* check the imported account id, and set it in the grisbi account if it doesn't 
+    /* check the imported account id, and set it in the grisbi account if it doesn't
      * exist or if it's wrong */
     if ( imported_account -> id_compte )
     {
@@ -2027,11 +2027,11 @@ void gsb_import_add_imported_transactions ( struct struct_compte_importation *im
     }
 
     /* on fait un premier tour de la liste des opés pour repérer celles qui sont déjà entrées
-     * si on n'importe que du ofx, c'est facile, chaque opé est repérée par une id 
-     * donc si l'opé importée a une id, il suffit de rechercher l'id dans le compte, si elle 
-     * n'y est pas l'opé est à enregistrer 
-     * si on importe du qif, il n'y a pas d'id. donc soit on retrouve une opé semblable 
-     * (cad même montant et même date, on ne fait pas joujou avec le tiers car l'utilisateur  
+     * si on n'importe que du ofx, c'est facile, chaque opé est repérée par une id
+     * donc si l'opé importée a une id, il suffit de rechercher l'id dans le compte, si elle
+     * n'y est pas l'opé est à enregistrer
+     * si on importe du qif, il n'y a pas d'id. donc soit on retrouve une opé semblable
+     * (cad même montant et même date, on ne fait pas joujou avec le tiers car l'utilisateur
      * a pu le changer), et on demande à l'utilisateur quoi faire, sinon on enregistre l'opé
      */
 
@@ -2109,12 +2109,12 @@ void gsb_import_add_imported_transactions ( struct struct_compte_importation *im
 
 
 /**
- * 
- * 
  *
- * \param 
  *
- * return 
+ *
+ * \param
+ *
+ * return
  */
 gboolean gsb_import_define_action ( struct struct_compte_importation *imported_account,
                         gint account_number,
@@ -2135,7 +2135,7 @@ gboolean gsb_import_define_action ( struct struct_compte_importation *imported_a
 
         /* on corrige le bug de la libofx */
         if ( imported_account -> origine
-         && g_ascii_strcasecmp (imported_account -> origine, "OFX") == 0 
+         && g_ascii_strcasecmp (imported_account -> origine, "OFX") == 0
          && imported_transaction -> cheque )
             imported_transaction -> tiers = my_strdelimit (
                     imported_transaction -> tiers, "&", "°" );
@@ -2332,7 +2332,7 @@ void confirmation_enregistrement_ope_import ( struct struct_compte_importation *
 
 	ope_import = list_tmp -> data;
 
-	/* on n'affiche pas si c'est des opés de ventil, si la mère est cochée, les filles 
+	/* on n'affiche pas si c'est des opés de ventil, si la mère est cochée, les filles
      * seront alors cochées on ne teste pas ici car ça a été testé avant */
 	if ( ope_import -> action == IMPORT_TRANSACTION_ASK_FOR_TRANSACTION
 	     &&
@@ -2430,7 +2430,7 @@ dialog_return:
                         GINT_TO_POINTER ( result ) );
         goto dialog_return;
     }
-    
+
     /* on fait maintenant le tour des check buttons pour voir ce qu'on importe */
     list_tmp = imported_account -> operations_importees;
     action_derniere_ventilation = 1;
@@ -2516,7 +2516,7 @@ gint gsb_import_create_transaction ( struct struct_ope_importation *imported_tra
     gsb_data_transaction_set_date ( transaction_number,
                         imported_transaction -> date );
 
-    /* récupération de la date de valeur */    
+    /* récupération de la date de valeur */
     if ( imported_transaction -> date_de_valeur )
     {
         gsb_data_transaction_set_value_date ( transaction_number,
@@ -2554,7 +2554,7 @@ gint gsb_import_create_transaction ( struct struct_ope_importation *imported_tra
                 {
                     payment_number = gsb_data_payment_get_number_by_name ( _("Check"),
                             account_number );
-                    gsb_data_transaction_set_method_of_payment_number (transaction_number, 
+                    gsb_data_transaction_set_method_of_payment_number (transaction_number,
                             payment_number);
                     gsb_data_transaction_set_method_of_payment_content (
                             transaction_number, tmpstr );
@@ -2575,7 +2575,7 @@ gint gsb_import_create_transaction ( struct struct_ope_importation *imported_tra
                         imported_transaction -> devise );
 
     /* Recovery of payee.
-     * we routinely backup imported payee. May be replaced later if 
+     * we routinely backup imported payee. May be replaced later if
      * notes exist to transactions imported */
     if ( imported_transaction -> tiers
      &&
@@ -2602,7 +2602,7 @@ gint gsb_import_create_transaction ( struct struct_ope_importation *imported_tra
             {
                 payment_number = gsb_data_payment_get_number_by_name ( _("Check"),
                         account_number );
-                gsb_data_transaction_set_method_of_payment_number (transaction_number, 
+                gsb_data_transaction_set_method_of_payment_number (transaction_number,
                         payment_number);
                 gsb_data_transaction_set_method_of_payment_content (
                         transaction_number, tmpstr );
@@ -2926,7 +2926,7 @@ void pointe_opes_importees ( struct struct_compte_importation *imported_account,
             return;
     }
 
-    /* on fait le tour des opés importées et recherche dans la liste d'opé s'il y a la 
+    /* on fait le tour des opés importées et recherche dans la liste d'opé s'il y a la
      * correspondance */
     list_tmp = imported_account -> operations_importees;
     liste_opes_import_celibataires = NULL;
@@ -2977,7 +2977,7 @@ void pointe_opes_importees ( struct struct_compte_importation *imported_account,
 
         if ( imported_account -> invert_transaction_amount )
             ope_import -> montant =  gsb_real_opposite ( ope_import -> montant );
- 
+
 	    list_tmp_transactions = gsb_data_transaction_get_transactions_list ();
 
 	    while ( list_tmp_transactions )
@@ -2998,7 +2998,7 @@ void pointe_opes_importees ( struct struct_compte_importation *imported_account,
 			 !gsb_data_transaction_get_mother_transaction_number (transaction_number)
              &&
              gsb_data_transaction_get_marked_transaction ( transaction_number ) < 2 )
-			/* on a retouvé une opé de même date et même montant, on l'ajoute à la liste 
+			/* on a retouvé une opé de même date et même montant, on l'ajoute à la liste
              * des opés trouvées */
 			ope_trouvees = g_slist_append ( ope_trouvees,
 							GINT_TO_POINTER (transaction_number));
@@ -3051,7 +3051,7 @@ void pointe_opes_importees ( struct struct_compte_importation *imported_account,
 		{
 		    gsb_data_transaction_set_marked_transaction ( transaction_number,
                                     2 );
-		    /* si c'est une opé ventilée, on recherche les opé filles pour leur mettre 
+		    /* si c'est une opé ventilée, on recherche les opé filles pour leur mettre
              * le même pointage que la mère */
 		    if ( gsb_data_transaction_get_split_of_transaction (transaction_number))
 		    {
@@ -3074,7 +3074,7 @@ void pointe_opes_importees ( struct struct_compte_importation *imported_account,
 		    }
 		}
 
-        /* récupération de la date de valeur */    
+        /* récupération de la date de valeur */
         if ( ope_import -> date_de_valeur )
         {
             gint fyear = 0;
@@ -3132,7 +3132,7 @@ void pointe_opes_importees ( struct struct_compte_importation *imported_account,
 
 			 &&
 			 !ope_import_tmp -> ope_de_ventilation )
-			/* on a retouvé une opé d'import de même date et même montant, on incrémente 
+			/* on a retouvé une opé d'import de même date et même montant, on incrémente
              * le nb d'opé d'import semblables trouvees */
 			i++;
 
@@ -3141,7 +3141,7 @@ void pointe_opes_importees ( struct struct_compte_importation *imported_account,
 
 		if ( i ==  g_slist_length ( ope_trouvees ))
 		{
-		    /* on a trouvé autant d'opé d'import semblables que d'opés semblables dans la 
+		    /* on a trouvé autant d'opé d'import semblables que d'opés semblables dans la
              * liste d'opé donc on peut marquer les opés trouvées */
 		    /* pour celles qui sont déjà pointées, on ne fait rien */
 		    /* si l'opé importée à une id, on met cette id dans l'opération si elle n'en a pas */
@@ -3166,7 +3166,7 @@ void pointe_opes_importees ( struct struct_compte_importation *imported_account,
 			{
 			    gsb_data_transaction_set_marked_transaction ( transaction_number, 2 );
 
-			    /* si c'est une opé ventilée, on recherche les opé filles pour leur mettre 
+			    /* si c'est une opé ventilée, on recherche les opé filles pour leur mettre
                  * le même pointage que la mère */
 			    if ( gsb_data_transaction_get_split_of_transaction (transaction_number))
 			    {
@@ -3194,7 +3194,7 @@ void pointe_opes_importees ( struct struct_compte_importation *imported_account,
 		}
 		else
 		{
-		    /* on a trouvé un nombre différent d'opés d'import et d'opés semblables dans 
+		    /* on a trouvé un nombre différent d'opés d'import et d'opés semblables dans
              * la liste d'opés on marque donc cette opé d'import comme seule */
 
 		    ope_import -> devise = gsb_currency_get_currency_from_combobox (
@@ -3355,12 +3355,12 @@ void gsb_import_show_orphan_transactions ( GSList *orphan_list,
 	gtk_widget_show ( dialog );
 }
 /**
- * 
- * 
  *
- * \param 
  *
- * return 
+ *
+ * \param
+ *
+ * return
  */
 gboolean gsb_import_set_id_compte ( gint account_nb, gchar *imported_id )
 {
@@ -3392,11 +3392,11 @@ gboolean gsb_import_set_id_compte ( gint account_nb, gchar *imported_id )
 
 /**
  * get first date of the imported file
- * 
  *
- * \param 
  *
- * return 
+ * \param
+ *
+ * return
  */
 GDate *gsb_import_get_first_date ( GSList *import_list )
 {
@@ -3508,7 +3508,7 @@ gboolean click_dialog_ope_orphelines ( GtkWidget *dialog,
 		    liste_opes_import_celibataires = g_slist_remove_link ( liste_opes_import_celibataires,
 									   last_item );
 
-		    /* on retire la ligne qu'on vient d'enregistrer, celà met l'iter directement sur 
+		    /* on retire la ligne qu'on vient d'enregistrer, celà met l'iter directement sur
              * la suite */
 		    gtk_list_store_remove ( GTK_LIST_STORE ( model),
 					    &iter );
@@ -3882,8 +3882,8 @@ GtkWidget * gsb_import_associations_gere_tiers ( void )
     gtk_entry_set_text ( GTK_ENTRY (entry), "" );
     gtk_table_attach ( GTK_TABLE ( table ), entry, 1, 2, 1, 2,
                         GTK_EXPAND|GTK_FILL, 0, 0, 0 );
-    g_signal_connect_swapped ( entry, 
-                        "changed", 
+    g_signal_connect_swapped ( entry,
+                        "changed",
                         G_CALLBACK (gsb_import_associations_check_add_button),
                         vbox_main );
     g_object_set_data ( G_OBJECT (vbox_main), "Search_string", entry );
@@ -4173,7 +4173,7 @@ void gsb_import_associations_combo_changed ( GtkEditable *editable,
         if ( strlen (gtk_entry_get_text (GTK_ENTRY (entry))) )
         {
             gtk_entry_set_text ( GTK_ENTRY (entry), "" );
-            
+
         }
         g_free ( str );
     }
@@ -4470,7 +4470,7 @@ gboolean gsb_import_by_rule ( gint rule )
             i++;
             continue;
         }
-        
+
         while ( liste_comptes_importes )
         {
             struct struct_compte_importation *account;
@@ -4801,23 +4801,23 @@ void gsb_import_lookup_budget ( struct struct_ope_importation *imported_transact
 
 /**
  * check or uncheck the operation found
- * 
+ *
  * \param widget to test
- * \param data for check or uncheck 
+ * \param data for check or uncheck
  *
  * \return void
  * */
 void gsb_import_check_ope_import ( GtkWidget *widget, gpointer data )
 {
     gint result = GPOINTER_TO_INT ( data );
-    
+
     if ( GTK_IS_HBOX ( widget ) )
     {
         gtk_container_foreach ( GTK_CONTAINER (widget ),
                         (GtkCallback) gsb_import_check_ope_import,
                         data );
     }
-    
+
     if ( GTK_IS_TOGGLE_BUTTON ( widget ) )
     {
         GtkDialog *dialog;
@@ -4841,9 +4841,9 @@ void gsb_import_check_ope_import ( GtkWidget *widget, gpointer data )
 
 /**
  * select or unselect buttons of the dialog
- * 
+ *
  * \param toggle_button
- * \param dialog 
+ * \param dialog
  *
  * \return void
  * */
@@ -4874,7 +4874,7 @@ void gsb_import_ope_import_toggled ( GtkWidget *button, GtkWidget *vbox )
 
 /**
  * returns false if at least 1 check_button is different of test
- * 
+ *
  * \param
  * \param
  *
@@ -4894,7 +4894,7 @@ gboolean gsb_import_ope_import_test_toggled ( GtkWidget *vbox , gboolean test )
         if ( GTK_IS_HBOX ( widget ) )
         {
             GList *list;
-            
+
             list = gtk_container_get_children ( GTK_CONTAINER ( widget ) );
             while ( list )
             {
diff --git a/src/import.h b/src/import.h
index 6662a58..9de9e39 100644
--- a/src/import.h
+++ b/src/import.h
@@ -72,7 +72,7 @@ struct struct_ope_importation
     gint action;		        /* IMPORT_TRANSACTION_GET_TRANSACTION, IMPORT_TRANSACTION_ASK_FOR_TRANSACTION, IMPORT_TRANSACTION_LEAVE_TRANSACTION*/
     gint ope_correspondante;    /* contient l'adr de l'opé qui correspond peut être à l'opé importée pour la présentation à l'utilisateur */
     GtkWidget *bouton;          /*  adr du bouton si cette opé est douteuse et vérifiée par l'utilisateur */
-    
+
     gchar *tiers;
     gchar *notes;
     gchar *cheque;
diff --git a/src/import_csv.c b/src/import_csv.c
index 1ce3663..1236759 100644
--- a/src/import_csv.c
+++ b/src/import_csv.c
@@ -252,7 +252,7 @@ GtkTreeModel * csv_import_create_model ( GtkTreeView * tree_preview, gchar * con
         types[i+1] = G_TYPE_STRING;
 
         cell = gtk_cell_renderer_text_new ();
-        col = gtk_tree_view_column_new_with_attributes ( 
+        col = gtk_tree_view_column_new_with_attributes (
                         NULL,
                         cell,
                         "text", i + 1,
@@ -627,7 +627,7 @@ gint * csv_import_guess_fields_config ( gchar * contents, gint size, gchar * sep
 	    if ( strlen ( value ) > 1 &&
 		 strlen ( csv_fields [ field ] . name ) > 1 )
         {
-            if ( strlen ( csv_fields [ field ] . alias ) > 1 
+            if ( strlen ( csv_fields [ field ] . alias ) > 1
              &&
              ( safe_contains ( csv_fields [ field ] . name, value ) ||
                safe_contains ( _( csv_fields [ field ] . name ), value ) ||
@@ -926,7 +926,7 @@ void csv_import_update_validity_check ( GtkWidget * assistant )
     if ( !( ( csv_find_field_config ( 11 ) && !csv_find_field_config ( 12 ) &&
            !csv_find_field_config ( 13 ) && !csv_find_field_config ( 14 ) )
      ||
-     ( !csv_find_field_config ( 11 ) &&  csv_find_field_config ( 12 ) && 
+     ( !csv_find_field_config ( 11 ) &&  csv_find_field_config ( 12 ) &&
        ( csv_find_field_config ( 13 ) || csv_find_field_config ( 14 ) ) &&
        !( csv_find_field_config ( 13 ) && csv_find_field_config ( 14 ) ) ) ) )
     {
diff --git a/src/imputation_budgetaire.c b/src/imputation_budgetaire.c
index 6709ebc..3436c43 100644
--- a/src/imputation_budgetaire.c
+++ b/src/imputation_budgetaire.c
@@ -268,7 +268,7 @@ void budgetary_lines_fill_list ( void )
 
     /** Then, populate tree with budgetary lines. */
     budget_list = gsb_data_budget_get_budgets_list ();
-    
+
     /* add first the empty budget */
     budget_list = g_slist_prepend ( budget_list,
 				    gsb_data_budget_get_empty_budget ());
@@ -933,7 +933,7 @@ void selectionne_sub_budgetary ( GtkTreeModel * model )
     gint budget_number = -1, sub_budget_number = -1;
     gint i = 0,j = 0;
 
-    selection = gtk_tree_view_get_selection ( 
+    selection = gtk_tree_view_get_selection (
                         GTK_TREE_VIEW (budgetary_line_tree) );
     if ( selection && gtk_tree_selection_get_selected (
                         selection, &model, &parent ) )
@@ -951,7 +951,7 @@ void selectionne_sub_budgetary ( GtkTreeModel * model )
         return;
 
     name =  my_strdup (_("New sub-budget"));
-    sub_budget_number = gsb_data_budget_get_sub_budget_number_by_name ( 
+    sub_budget_number = gsb_data_budget_get_sub_budget_number_by_name (
                         budget_number, name, FALSE );
     j = gtk_tree_model_iter_n_children ( model, &parent );
     for (i = 0; i < j; i++ )
diff --git a/src/main.c b/src/main.c
index 4adba86..e1f31b4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -326,7 +326,7 @@ void main_mac_osx ( int argc, char **argv )
 #if IS_DEVELOPMENT_VERSION == 1
     dialog_message ( "development-version", VERSION );
 #endif
-    
+
     gsb_grisbi_load_file_if_necessary ( &opt );
 
     if ( first_use && !nom_fichier_comptes )
@@ -336,7 +336,7 @@ void main_mac_osx ( int argc, char **argv )
 
     if ( quartz_application_get_bundle_id ( ) == NULL )
     {
-        pixbuf = gdk_pixbuf_new_from_file ( g_build_filename 
+        pixbuf = gdk_pixbuf_new_from_file ( g_build_filename
                         (gsb_dirs_get_pixmaps_dir ( ), "grisbi-logo.png", NULL), NULL );
         if ( pixbuf )
             gtk_osxapplication_set_dock_icon_pixbuf ( theApp, pixbuf );
@@ -775,7 +775,7 @@ gboolean gsb_main_set_grisbi_title ( gint account_number )
     gchar *titre = NULL;
     gint tmp_number;
     gboolean return_value;
-    
+
     devel_debug_int ( account_number );
 
     if ( nom_fichier_comptes == NULL )
diff --git a/src/menu.c b/src/menu.c
index 197155b..0c2babe 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -305,15 +305,15 @@ GtkWidget *init_menus ( GtkWidget *vbox )
                         (gpointer) run.window );
 
     gtk_action_group_add_radio_actions ( actions,
-                        radio_entries, 
-                        G_N_ELEMENTS ( radio_entries ), 
+                        radio_entries,
+                        G_N_ELEMENTS ( radio_entries ),
                         -1,
-                        G_CALLBACK ( gsb_gui_toggle_line_view_mode ), 
+                        G_CALLBACK ( gsb_gui_toggle_line_view_mode ),
                         NULL );
 
     gtk_action_group_add_toggle_actions ( actions,
-                        toggle_entries, 
-                        G_N_ELEMENTS ( toggle_entries ), 
+                        toggle_entries,
+                        G_N_ELEMENTS ( toggle_entries ),
                         NULL );
 
     gtk_ui_manager_insert_action_group ( ui_manager, actions, 0 );
@@ -371,14 +371,14 @@ gboolean affiche_derniers_fichiers_ouverts ( void )
 
         tmp_name = g_strdup_printf ( "LastFile%d", i );
 
-        action = gtk_action_new ( tmp_name, 
-                        tab_noms_derniers_fichiers_ouverts[i], 
+        action = gtk_action_new ( tmp_name,
+                        tab_noms_derniers_fichiers_ouverts[i],
                         "",
                         "" );
         g_free ( tmp_name );
         g_signal_connect ( action,
                         "activate",
-                        G_CALLBACK ( gsb_file_open_direct_menu ), 
+                        G_CALLBACK ( gsb_file_open_direct_menu ),
                         GINT_TO_POINTER ( i ) );
         gtk_action_group_add_action ( action_group, action );
     }
@@ -396,7 +396,7 @@ gboolean affiche_derniers_fichiers_ouverts ( void )
         tmp_label = g_strdup_printf ( "_%d LastFile%d", i, i );
 
         gtk_ui_manager_add_ui ( ui_manager,
-                    recent_files_merge_id, 
+                    recent_files_merge_id,
                     "/menubar/FileMenu/RecentFiles/",
                     tmp_label,
                     tmp_name,
@@ -409,7 +409,7 @@ gboolean affiche_derniers_fichiers_ouverts ( void )
 
     /* add a separator */
     gtk_ui_manager_add_ui ( ui_manager,
-                    merge_id, 
+                    merge_id,
                     "/menubar/FileMenu/Open/",
                     NULL,
                     NULL,
@@ -539,7 +539,7 @@ gboolean gsb_gui_sensitive_menu_item ( gchar *item_name, gboolean state )
     GtkWidget * widget;
 
     widget = gtk_ui_manager_get_widget ( ui_manager, item_name );
-    
+
     if ( widget && GTK_IS_WIDGET(widget) )
     {
 	gtk_widget_set_sensitive ( widget, state );
@@ -550,7 +550,7 @@ gboolean gsb_gui_sensitive_menu_item ( gchar *item_name, gboolean state )
 
 
 
-/** 
+/**
  * Callback called when an item of the "View/Show ... lines" menu is
  * triggered.
  */
@@ -688,18 +688,18 @@ gboolean gsb_menu_update_view_menu ( gint account_number )
     /* update the showing of reconciled transactions */
     tmpstr = "/menubar/ViewMenu/ShowReconciled";
     gtk_toggle_action_set_active ( GTK_TOGGLE_ACTION (
-                        gtk_ui_manager_get_action ( ui_manager, tmpstr) ), 
+                        gtk_ui_manager_get_action ( ui_manager, tmpstr) ),
 				        gsb_data_account_get_r ( account_number ) );
 
     tmpstr = "/menubar/ViewMenu/ShowTransactionForm";
     gtk_toggle_action_set_active ( GTK_TOGGLE_ACTION (
-                        gtk_ui_manager_get_action ( ui_manager, tmpstr) ), 
+                        gtk_ui_manager_get_action ( ui_manager, tmpstr) ),
 				        gsb_form_is_visible ( ) );
 
     /* update the showing of archived transactions */
     tmpstr = "/menubar/ViewMenu/ShowArchived";
     gtk_toggle_action_set_active ( GTK_TOGGLE_ACTION (
-                        gtk_ui_manager_get_action ( ui_manager, tmpstr) ), 
+                        gtk_ui_manager_get_action ( ui_manager, tmpstr) ),
 				        gsb_data_account_get_l ( account_number ) );
 
     /* update the number of line showed */
@@ -729,7 +729,7 @@ gboolean gsb_menu_update_view_menu ( gint account_number )
 }
 
 
-/** 
+/**
  * Update the clickable list of closed accounts and target
  * accounts to move a transaction, in menu.
  *
@@ -804,7 +804,7 @@ gboolean gsb_menu_update_accounts_in_menus ( void )
 
  * \param sensitive	Sensitiveness (FALSE for unsensitive, TRUE for
  *			sensitive).
- * 
+ *
  * \return		FALSE
  */
 gboolean gsb_menu_set_menus_select_transaction_sensitive ( gboolean sensitive )
@@ -890,7 +890,7 @@ gboolean gsb_menu_reinit_largeur_col_menu ( void )
  */
 gboolean gsb_menu_set_block_menu_cb ( gboolean etat )
 {
-    
+
     block_menu_cb = etat;
 
     return FALSE;
diff --git a/src/meta_budgetary.c b/src/meta_budgetary.c
index 979b588..4c80023 100644
--- a/src/meta_budgetary.c
+++ b/src/meta_budgetary.c
@@ -42,7 +42,7 @@
 /*START_STATIC*/
 static gint budgetary_line_add_div ();
 static gint budgetary_line_add_sub_div ( int div_id );
-static gboolean budgetary_line_add_transaction_to_div ( gint transaction_number, 
+static gboolean budgetary_line_add_transaction_to_div ( gint transaction_number,
 						 int div_id );
 static gchar *budgetary_line_div_name ( gint div );
 static gint budgetary_line_get_without_div_pointer ( );
@@ -222,7 +222,7 @@ gint budgetary_line_add_div ()
     {
 	g_free (name);
 	i++;
-	name = g_strdup_printf ( _("New budget #%d"), i ); 
+	name = g_strdup_printf ( _("New budget #%d"), i );
     }
 
     new_budget_number = gsb_data_budget_get_number_by_name ( name, TRUE, 0 );
@@ -252,7 +252,7 @@ gint budgetary_line_add_sub_div ( int div_id )
     {
 	g_free (name);
 	i++;
-	name = g_strdup_printf ( _("New sub-budget #%d"), i ); 
+	name = g_strdup_printf ( _("New sub-budget #%d"), i );
     }
 
     new_sub_budget_number = gsb_data_budget_get_sub_budget_number_by_name ( div_id, name, TRUE );
@@ -268,7 +268,7 @@ gint budgetary_line_add_sub_div ( int div_id )
  *
  *
  */
-gboolean budgetary_line_add_transaction_to_div ( gint transaction_number, 
+gboolean budgetary_line_add_transaction_to_div ( gint transaction_number,
 						 int div_id )
 {
     gsb_data_budget_add_transaction_to_budget ( transaction_number,
diff --git a/src/meta_categories.c b/src/meta_categories.c
index ae8eaf7..9f8398b 100644
--- a/src/meta_categories.c
+++ b/src/meta_categories.c
@@ -42,7 +42,7 @@
 /*START_STATIC*/
 static gint category_add_div ();
 static gint category_add_sub_div ( int div_id );
-static gboolean category_add_transaction_to_div ( gint transaction_number, 
+static gboolean category_add_transaction_to_div ( gint transaction_number,
 					   int div_id );
 static gchar *category_div_name ( gint div );
 static gint category_get_div_pointer_from_name ( const gchar * name, gboolean create );
@@ -233,7 +233,7 @@ gint category_transaction_div_id ( gint transaction_number )
     if (transaction_number)
     {
 	if ( gsb_data_transaction_get_contra_transaction_number (transaction_number) > 0
-	     || 
+	     ||
 	     gsb_data_transaction_get_split_of_transaction (transaction_number))
 	    return -1;
 	else
@@ -260,7 +260,7 @@ gboolean category_scheduled_set_div_id ( gint scheduled_number,
 							     0 );
     }
     /* TODO dOm : add the return instruction.
-     * Is not better for this function to return void ? */ 
+     * Is not better for this function to return void ? */
     return TRUE;
 }
 
@@ -282,7 +282,7 @@ gint category_add_div ( void )
     {
 	g_free (name);
 	i++;
-	name = g_strdup_printf ( _("New category #%d"), i ); 
+	name = g_strdup_printf ( _("New category #%d"), i );
     }
 
     new_category_number = gsb_data_category_get_number_by_name ( name, TRUE, 0 );
@@ -312,7 +312,7 @@ gint category_add_sub_div ( int div_id )
     {
 	g_free (name);
 	i++;
-	name = g_strdup_printf ( _("New sub-category #%d"), i ); 
+	name = g_strdup_printf ( _("New sub-category #%d"), i );
     }
 
     new_sub_category_number = gsb_data_category_get_sub_category_number_by_name ( div_id, name, TRUE );
@@ -329,7 +329,7 @@ gint category_add_sub_div ( int div_id )
  *
  *
  */
-gboolean category_add_transaction_to_div ( gint transaction_number, 
+gboolean category_add_transaction_to_div ( gint transaction_number,
 					   int div_id )
 {
     gsb_data_category_add_transaction_to_category ( transaction_number,
diff --git a/src/meta_payee.c b/src/meta_payee.c
index 9c9d196..f0d0768 100644
--- a/src/meta_payee.c
+++ b/src/meta_payee.c
@@ -40,19 +40,19 @@
 /*START_STATIC*/
 static gint payee_add_div ();
 static gint payee_add_sub_div ( int div_id );
-static gboolean payee_add_transaction_to_div ( gint transaction_number, 
+static gboolean payee_add_transaction_to_div ( gint transaction_number,
 					int div_id );
-static void payee_add_transaction_to_sub_div ( gint transaction_number, 
+static void payee_add_transaction_to_sub_div ( gint transaction_number,
 					int div_id, int sub_div_id );
 static gchar *payee_div_name ( gint div );
 static GSList * payee_div_sub_div_list ( gint div );
 static gint payee_div_type ( gint div );
-static gint payee_get_sub_div_pointer_from_name ( int div_id, const gchar * name, 
+static gint payee_get_sub_div_pointer_from_name ( int div_id, const gchar * name,
 					   gboolean create );
 static gint payee_get_without_div_pointer ( );
 static gboolean payee_remove_sub_div ( int div_id, int sub_div_id );
 static gint payee_scheduled_div_id ( gint scheduled_number );
-static gboolean payee_scheduled_set_div_id ( gint scheduled_number, 
+static gboolean payee_scheduled_set_div_id ( gint scheduled_number,
 				      int no_div );
 static gboolean payee_scheduled_set_sub_div_id ( gint scheduled_number,
 					  int no_sub_div );
@@ -61,7 +61,7 @@ static gsb_real payee_sub_div_balance ( gint div, gint sub_div );
 static gint payee_sub_div_id ( gpointer sub_payee );
 static gchar * payee_sub_div_name ( gint div, gint sub_div );
 static gint payee_sub_div_nb_transactions ( gint div, gint sub_div );
-static gboolean payee_transaction_set_sub_div_id ( gint transaction_number, 
+static gboolean payee_transaction_set_sub_div_id ( gint transaction_number,
 					    int no_sub_div );
 static gint payee_transaction_sub_div_id ( gint transaction_number );
 /*END_STATIC*/
@@ -143,7 +143,7 @@ gint payee_get_without_div_pointer ( )
  *
  *
  */
-gint payee_get_sub_div_pointer_from_name ( int div_id, const gchar * name, 
+gint payee_get_sub_div_pointer_from_name ( int div_id, const gchar * name,
 					   gboolean create )
 {
     return 0;
@@ -253,7 +253,7 @@ gint payee_transaction_sub_div_id ( gint transaction_number )
  *
  *
  */
-gboolean payee_transaction_set_sub_div_id ( gint transaction_number, 
+gboolean payee_transaction_set_sub_div_id ( gint transaction_number,
 					    int no_sub_div )
 {
     return FALSE;
@@ -287,7 +287,7 @@ gint payee_scheduled_sub_div_id ( gint scheduled_number )
  *
  *
  */
-gboolean payee_scheduled_set_div_id ( gint scheduled_number, 
+gboolean payee_scheduled_set_div_id ( gint scheduled_number,
 				      int no_div )
 {
     return FALSE;
@@ -311,7 +311,7 @@ gboolean payee_scheduled_set_sub_div_id ( gint scheduled_number,
  * create a new payee with an automatic name
  * called by the button in the payee list
  *
- * \param 
+ * \param
  *
  * \return the new number of the payee
  *
@@ -330,7 +330,7 @@ gint payee_add_div ()
     {
 	i++;
 	g_free (name);
-	name = g_strdup_printf ( _("New payee #%d"), i ); 
+	name = g_strdup_printf ( _("New payee #%d"), i );
     }
 
     payee_number = gsb_data_payee_new (name);
@@ -369,7 +369,7 @@ gboolean payee_remove_sub_div ( int div_id, int sub_div_id )
  *
  *
  */
-gboolean payee_add_transaction_to_div ( gint transaction_number, 
+gboolean payee_add_transaction_to_div ( gint transaction_number,
 					int div_id )
 {
     gsb_data_payee_add_transaction_to_payee (transaction_number);
@@ -382,7 +382,7 @@ gboolean payee_add_transaction_to_div ( gint transaction_number,
  *
  *  82,7 +382,7 @@ gboolean payee_add_transaction_to_div ( gint transaction_number,  _id, name, TRUE );  eur */   présentation à l'utilisateur */  ,g_csv_field_separator); }                       ’¸‚„¨+  ÑG_ÿ  €Ð¤„¨+          €ÆG_ÿ         PÅG_ÿ  kÀeƒ¨+  6                    è     è!     è!      ÑG_ÿ  ÑG_ÿ  xt‚„¨+          €ÇG_ÿ          ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ  `¢eƒ¨+  _ÑG_ÿ         Ào愨+  uªeƒ¨+   `愨+  Ød愨+  ¨i愨+  €Êfƒ¨+          xt‚„¨+          €ÇG_ÿ          PÆG_ÿ  kÀeƒ¨+  à!     à!      ÑG_ÿ  ÑG_ÿ  H>b„¨+          `ÈG_ÿ         ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ  `¢eƒ¨+  _ÑG_ÿ  PÑG_ÿ  HÑG_ÿ  8ˆƒ¨+  Œp˜        ÑG_ÿ  uªeƒ¨+  €Êfƒ¨+                  `ÈG_ÿ         0ÇG_ÿ  kÀeƒ¨+          G       H   I       J   K           M   N   O       P    ÑG_ÿ  ÑG_ÿ  Hõ8„¨+           ÊG_ÿ         ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ         0o愨+  uªeƒ¨+   €‚„¨+   )„¨+   `愨+  Ød愨+  ¨i愨+  €Êfƒ¨+          Hõ8„¨+           ÊG_ÿ        
  @ÈG_ÿ  kÀeƒ¨+  8õ8„¨+           ÊG_ÿ         pÈG_ÿ  kÀeƒ¨+  (õ8„¨+           ÊG_ÿ          ÈG_ÿ  kÀeƒ¨+  õ8„¨+           ÊG_ÿ         ÐÈG_ÿ  kÀeƒ¨+  	       ¨n愨+  uªeƒ¨+         ¨i愨+  PÃG_ÿ          Šx„¨+  e©eƒ¨+         Ød愨+  pÉG_ÿ          yx„¨+  e©eƒ¨+          `愨+   ÉG_ÿ          Zx„¨+  e©eƒ¨+  Ø$„¨+   €‚„¨+   )„¨+   `愨+  ؄‚„¨+  Ød愨+  ¨i愨+  €Êfƒ¨+          8ˆƒ¨+                        íშ+  ÑG_ÿ  p»„¨+          PËG_ÿ           ÊG_ÿ  kÀeƒ¨+      5   6   7   8   :   <   =   >       ?       @   B   D        ÑG_ÿ  ÑG_ÿ  àíރ¨+                 ÑG_ÿ  uªeƒ¨+         ņƒ¨+  ÐÉG_ÿ          íშ+  e©eƒ¨+  ņƒ¨+          Õ_ at fÆS         Qöl±íÁ®ƒ¨+  ÑG_ÿ  àíރ¨+          `ÌG_ÿ         0ËG_ÿ  kÀeƒ¨+  u]ÞÓ	4Q ÷U^Qʉ§ ¶uª¹ñìò*ēv ÑG_ÿ  ÑG_ÿ  H>«ƒ¨+          „烨+          ÐÒG_ÿ  ¦I…¨+  ¦I…¨+         Ö䃨+  _ÑG_ÿ  ÒG_ÿ  HÑG_ÿ  °ÍG_ÿ  ‚„¨+  uªeƒ¨+  ؄‚„¨+  ÔG_ÿ  ¢I…¨+  àÒG_ÿ          pÎG_ÿ             
     ÿÿÿÿÿÿÿÿ¢I…¨+          ˜ÑG_ÿ                 
  */
-void payee_add_transaction_to_sub_div ( gint transaction_number, 
+void payee_add_transaction_to_sub_div ( gint transaction_number,
 					int div_id, int sub_div_id )
 {
     return;
diff --git a/src/metatree.c b/src/metatree.c
index 0e6b54a..cb921ae 100644
--- a/src/metatree.c
+++ b/src/metatree.c
@@ -62,7 +62,7 @@
 
 /*START_STATIC*/
 static void button_delete_div_sub_div_clicked ( GtkWidget *togglebutton, GdkEventButton *event, GtkWidget *button );
-static gboolean division_node_maybe_expand ( GtkTreeModel *model, GtkTreePath *path, 
+static gboolean division_node_maybe_expand ( GtkTreeModel *model, GtkTreePath *path,
                         GtkTreeIter *iter, gpointer data );
 static void fill_division_zero ( GtkTreeModel * model,
                         MetatreeInterface * iface,
@@ -71,12 +71,12 @@ static void fill_sub_division_zero ( GtkTreeModel * model,
                         MetatreeInterface * iface,
                         GtkTreeIter * iter,
                         gint division );
-static void fill_transaction_row ( GtkTreeModel * model, GtkTreeIter * iter, 
+static void fill_transaction_row ( GtkTreeModel * model, GtkTreeIter * iter,
                         gint transaction_number );
-static gboolean find_associated_transactions ( MetatreeInterface * iface, 
+static gboolean find_associated_transactions ( MetatreeInterface * iface,
                         gint no_division, gint no_sub_division );
-static gboolean find_destination_blob ( MetatreeInterface * iface, GtkTreeModel * model, 
-                        gint division, gint sub_division, 
+static gboolean find_destination_blob ( MetatreeInterface * iface, GtkTreeModel * model,
+                        gint division, gint sub_division,
                         gint * no_div, gint * no_sub_div );
 static GtkTreeIter *get_iter_from_sub_div_zero ( GtkTreeModel *model,
                         MetatreeInterface *iface,
@@ -198,7 +198,7 @@ static gint metatree_find_notes = 0;
 gboolean metatree_model_is_displayed ( GtkTreeModel * model )
 {
     GtkTreeIter iter;
-    
+
     return gtk_tree_model_get_iter_first ( model, &iter );
 }
 
@@ -227,8 +227,8 @@ gboolean metatree_model_is_displayed ( GtkTreeModel * model )
  *
  * \return		TRUE on success.
  */
-gboolean metatree_get_row_properties ( GtkTreeModel * tree_model, GtkTreePath * path, 
-                        gchar ** text, gint * no_div, gint * no_sub_div, 
+gboolean metatree_get_row_properties ( GtkTreeModel * tree_model, GtkTreePath * path,
+                        gchar ** text, gint * no_div, gint * no_sub_div,
                         gint * no_transaction, gint * data )
 {
     GtkTreeIter iter;
@@ -264,17 +264,17 @@ gboolean metatree_get_row_properties ( GtkTreeModel * tree_model, GtkTreePath *
 /**
  * Determine row type, which can be division, sub division,
  * transaction or invalid.
- * 
+ *
  * \param tree_model	GtkTreeModel containing the entry to test.
  * \param path		A GtkTreePath pointing to entry to test.
  *
  * \return		Type of entry.
  */
-enum meta_tree_row_type metatree_get_row_type ( GtkTreeModel * tree_model, 
+enum meta_tree_row_type metatree_get_row_type ( GtkTreeModel * tree_model,
                         GtkTreePath * path )
 {
     gint no_div, no_sub_div, no_transaction;
-  
+
     if ( metatree_get_row_properties ( tree_model, path, NULL, &no_div, &no_sub_div, &no_transaction, NULL ) )
     {
 	if (no_div)
@@ -444,7 +444,7 @@ void fill_sub_division_row ( GtkTreeModel *model,
 	balance = utils_real_get_string_with_currency ( iface -> sub_div_balance ( division, sub_division ),
 						      iface -> tree_currency (), TRUE );
     }
-    
+
     gtk_tree_store_set ( GTK_TREE_STORE (model), iter,
 			 META_TREE_TEXT_COLUMN, string_tmp,
 			 META_TREE_POINTER_COLUMN, sub_division,
@@ -474,8 +474,8 @@ void fill_transaction_row ( GtkTreeModel *model,
 {
     gchar * account; /* no need to be freed */
     gchar * amount = NULL;
-    gchar * label = NULL; 
-    gchar * notes = NULL; 
+    gchar * label = NULL;
+    gchar * notes = NULL;
     const gchar *string;
     GtkTreePath * path;
     enum meta_tree_row_type type;
@@ -507,14 +507,14 @@ void fill_transaction_row ( GtkTreeModel *model,
                    ... the end is probably near btw. */
                 notes = my_strdup ( string );
             }
-            else 
+            else
             {
                 gchar * trunc = g_strndup ( string, ( tmp - string ) );
                 notes = g_strconcat ( trunc, " ...", NULL );
                 g_free ( trunc );
             }
         }
-        else 
+        else
         {
             notes = my_strdup ( string );
         }
@@ -527,11 +527,11 @@ void fill_transaction_row ( GtkTreeModel *model,
     }
 
     label = gsb_format_gdate ( gsb_data_transaction_get_date (transaction_number));
- 
+
     if ( notes )
     {
         label = g_strconcat ( label, " : ", notes, NULL );
-        g_free (notes); 
+        g_free (notes);
     }
 
     if ( gsb_data_transaction_get_mother_transaction_number ( transaction_number))
@@ -544,7 +544,7 @@ void fill_transaction_row ( GtkTreeModel *model,
     amount = utils_real_get_string_with_currency ( gsb_data_transaction_get_amount (transaction_number),
 						 gsb_data_transaction_get_currency_number (transaction_number), TRUE );
     account = gsb_data_account_get_name ( gsb_data_transaction_get_account_number (transaction_number));
-    gtk_tree_store_set ( GTK_TREE_STORE(model), iter, 
+    gtk_tree_store_set ( GTK_TREE_STORE(model), iter,
 			 META_TREE_POINTER_COLUMN, transaction_number,
 			 META_TREE_TEXT_COLUMN, label,
 			 META_TREE_ACCOUNT_COLUMN, account,
@@ -573,7 +573,7 @@ void metatree_new_division ( GtkTreeModel *model )
     MetatreeInterface * iface;
     gint div_id;
 
-    iface = g_object_get_data ( G_OBJECT(model), "metatree-interface" );   
+    iface = g_object_get_data ( G_OBJECT(model), "metatree-interface" );
     g_return_if_fail ( iface );
 
     div_id = iface -> add_div ();
@@ -612,15 +612,15 @@ void metatree_fill_new_division ( MetatreeInterface * iface,
     if ( iface -> depth > 1 )
     {
 	gtk_tree_store_append (GTK_TREE_STORE (model), &sub_iter, &iter);
-	fill_sub_division_row ( GTK_TREE_MODEL(model), iface, &sub_iter, 
+	fill_sub_division_row ( GTK_TREE_MODEL(model), iface, &sub_iter,
 				div_id, 0 );
     }
 
     tree_view = g_object_get_data ( G_OBJECT(model), "tree-view" );
-    g_return_if_fail ( tree_view );   
+    g_return_if_fail ( tree_view );
 
     gtk_tree_selection_select_iter ( gtk_tree_view_get_selection ( tree_view ), &iter );
-    gtk_tree_view_scroll_to_cell ( tree_view, 
+    gtk_tree_view_scroll_to_cell ( tree_view,
 				   gtk_tree_model_get_path ( model, &iter ),
 				   gtk_tree_view_get_column ( tree_view, 0 ),
 				   TRUE, 0.5, 0.0 );
@@ -642,7 +642,7 @@ void metatree_new_sub_division ( GtkTreeModel *model, gint div_id )
     MetatreeInterface * iface;
     gint sub_div_id;
 
-    iface = g_object_get_data ( G_OBJECT(model), "metatree-interface" );   
+    iface = g_object_get_data ( G_OBJECT(model), "metatree-interface" );
     g_return_if_fail ( iface );
 
     sub_div_id = iface -> add_sub_div ( div_id );
@@ -682,15 +682,15 @@ void metatree_fill_new_sub_division ( MetatreeInterface *iface,
     parent_iter = get_iter_from_div ( model, div_id, 0 );
 
     gtk_tree_store_append ( GTK_TREE_STORE(model), &iter, parent_iter );
-    fill_sub_division_row ( model, iface, &iter, 
+    fill_sub_division_row ( model, iface, &iter,
 			    div_id,
 			    sub_div_id );
 
     tree_view = g_object_get_data ( G_OBJECT(model), "tree-view" );
-    g_return_if_fail ( tree_view );   
+    g_return_if_fail ( tree_view );
 
     gtk_tree_selection_select_iter ( gtk_tree_view_get_selection ( tree_view ), &iter );
-    gtk_tree_view_scroll_to_cell ( tree_view, 
+    gtk_tree_view_scroll_to_cell ( tree_view,
 				   gtk_tree_model_get_path ( model, &iter ),
 				   gtk_tree_view_get_column ( tree_view, 0 ),
 				   TRUE, 0.5, 0.0 );
@@ -711,7 +711,7 @@ void appui_sur_ajout_sub_division ( GtkTreeModel * model )
     GtkTreeView * tree_view;
     GtkTreeSelection * selection;
 
-    iface = g_object_get_data ( G_OBJECT(model), "metatree-interface" );   
+    iface = g_object_get_data ( G_OBJECT(model), "metatree-interface" );
     tree_view = g_object_get_data ( G_OBJECT(model), "tree-view" );
     if ( !iface || !tree_view )
 	return;
@@ -728,7 +728,7 @@ void appui_sur_ajout_sub_division ( GtkTreeModel * model )
 	    return;
 
 	metatree_new_sub_division ( model, div_id );
-			     
+
         gsb_file_set_modified ( TRUE );
 
 	gtk_tree_path_free ( path );
@@ -761,7 +761,7 @@ gboolean supprimer_division ( GtkTreeView * tree_view )
     selection = gtk_tree_view_get_selection ( tree_view );
     if ( selection && gtk_tree_selection_get_selected(selection, &model, &iter))
     {
-	gtk_tree_model_get ( model, &iter, 
+	gtk_tree_model_get ( model, &iter,
 			     META_TREE_POINTER_COLUMN, &current_number,
 			     META_TREE_NO_DIV_COLUMN, &no_division,
 			     META_TREE_NO_SUB_DIV_COLUMN, &no_sub_division,
@@ -776,7 +776,7 @@ gboolean supprimer_division ( GtkTreeView * tree_view )
 	return FALSE;
     }
 
-    iface = g_object_get_data ( G_OBJECT(model), "metatree-interface" );   
+    iface = g_object_get_data ( G_OBJECT(model), "metatree-interface" );
 
     /* get the type of the delete */
     path = gtk_tree_model_get_path ( model, &iter );
@@ -807,7 +807,7 @@ gboolean supprimer_division ( GtkTreeView * tree_view )
         /* some transactions have that division, we ask to move them
          * to another division or juste erase the division, and it
          * will become blanck for the transactions */
-        
+
         /* fill new_division and new_sub_division (nota = 0)*/
         if ( ! find_destination_blob ( iface, model, no_division, 0,
                            &new_division, &new_sub_division ) )
@@ -854,7 +854,7 @@ gboolean supprimer_division ( GtkTreeView * tree_view )
     }
 
     /* supprime dans la liste des division  */
-    iface -> remove_div ( no_division ); 
+    iface -> remove_div ( no_division );
     metatree_remove_iter_and_select_next ( tree_view, model, &iter );
 
     return FALSE;
@@ -882,7 +882,7 @@ void supprimer_sub_division ( GtkTreeView * tree_view, GtkTreeModel * model,
 
     devel_debug (NULL);
 
-    if ( find_associated_transactions ( iface, division, 
+    if ( find_associated_transactions ( iface, division,
                         sub_division ) )
     {
 	gint nouveau_no_division, nouveau_no_sub_division;
@@ -890,11 +890,11 @@ void supprimer_sub_division ( GtkTreeView * tree_view, GtkTreeModel * model,
     GSList *list_num = NULL; /* mémorise les transactions à transferer */
 
 	/* fill nouveau_no_division and nouveau_no_sub_division */
-	if ( ! find_destination_blob ( iface, model, division, sub_division, 
+	if ( ! find_destination_blob ( iface, model, division, sub_division,
                         &nouveau_no_division, &nouveau_no_sub_division ) )
 	    return;
 
-	/* move the transactions to the new division numbers, need to do for 
+	/* move the transactions to the new division numbers, need to do for
      * archived transactions too */
 	list_tmp_transactions = gsb_data_transaction_get_complete_transactions_list ();
 	while ( list_tmp_transactions )
@@ -907,7 +907,7 @@ void supprimer_sub_division ( GtkTreeView * tree_view, GtkTreeModel * model,
 		 &&
 		 ( iface -> transaction_sub_div_id (transaction_number_tmp) == sub_division))
 	    {
-		iface -> add_transaction_to_sub_div ( transaction_number_tmp, 
+		iface -> add_transaction_to_sub_div ( transaction_number_tmp,
                         nouveau_no_division,
                         nouveau_no_sub_division );
 		iface -> transaction_set_div_id (transaction_number_tmp, nouveau_no_division);
@@ -1025,7 +1025,7 @@ void metatree_remove_transaction ( GtkTreeView * tree_view,
     it = get_iter_from_div ( model, division, 0 );
     if ( it )
 	fill_division_row ( model, iface, it, division );
-    
+
     metatree_remove_iter_and_select_next ( tree_view, model, &iter );
     gsb_file_set_modified ( TRUE );
 }
@@ -1058,7 +1058,7 @@ gboolean division_column_expanded  ( GtkTreeView * treeview, GtkTreeIter * iter,
     gtk_tree_model_iter_children( model, &child_iter, iter );
     gtk_tree_model_get ( model, &child_iter, META_TREE_TEXT_COLUMN, &name, -1 );
 
-    iface = g_object_get_data ( G_OBJECT(model), "metatree-interface" );   
+    iface = g_object_get_data ( G_OBJECT(model), "metatree-interface" );
 
     /* If there is already an entry there, don't populate it. */
     if ( !name )
@@ -1157,7 +1157,7 @@ gboolean division_activated ( GtkTreeView * treeview, GtkTreePath * path,
     if ( gtk_tree_model_get_iter ( model, &iter, path ) )
     {
 	gint transaction_number;
-	
+
 	gtk_tree_model_get( model, &iter,
 			    META_TREE_NO_DIV_COLUMN, &no_division,
 			    META_TREE_NO_SUB_DIV_COLUMN, &no_sub_division,
@@ -1250,11 +1250,11 @@ gboolean division_row_drop_possible ( GtkTreeDragDest *drag_dest,
 	orig_type = metatree_get_row_type ( model, orig_path );
 	dest_type = metatree_get_row_type ( model, dest_path );
 
-	if ( ! metatree_get ( model, dest_path, META_TREE_NO_DIV_COLUMN, 
+	if ( ! metatree_get ( model, dest_path, META_TREE_NO_DIV_COLUMN,
 			      &no_div ) ||
-	     ! metatree_get ( model, orig_path, META_TREE_NO_DIV_COLUMN, 
+	     ! metatree_get ( model, orig_path, META_TREE_NO_DIV_COLUMN,
 			      &orig_no_div ) ||
-	     ! metatree_get ( model, dest_path, META_TREE_POINTER_COLUMN, 
+	     ! metatree_get ( model, dest_path, META_TREE_POINTER_COLUMN,
 			      &current_number ) )
 	{
 	    return FALSE;
@@ -1263,16 +1263,16 @@ gboolean division_row_drop_possible ( GtkTreeDragDest *drag_dest,
 	switch ( orig_type )
 	{
 	    case META_TREE_SUB_DIV:
-		if ( dest_type == META_TREE_DIV && 
+		if ( dest_type == META_TREE_DIV &&
 		     ! gtk_tree_path_is_ancestor ( dest_path, orig_path ) &&
-		     current_number && 
-		     orig_no_div != 0 && 
+		     current_number &&
+		     orig_no_div != 0 &&
 		     no_div != 0 ) /* i.e. ancestor is no "No division" */
 		    return TRUE;
 		break;
 
 	    case META_TREE_TRANSACTION:
-		if ( dest_type == META_TREE_DIV || 
+		if ( dest_type == META_TREE_DIV ||
 		     dest_type == META_TREE_SUB_DIV )
 		    return TRUE;
 		break;
@@ -1332,7 +1332,7 @@ gboolean division_drag_data_received ( GtkTreeDragDest *drag_dest,
 	    return FALSE;
 
 	metatree_get_row_properties ( model, orig_path,
-				      NULL, &no_orig_division, &no_orig_sub_division, 
+				      NULL, &no_orig_division, &no_orig_sub_division,
 				      &transaction_number, NULL );
 
 	/* get the type of row (div, sub-div, transaction) */
@@ -1340,22 +1340,22 @@ gboolean division_drag_data_received ( GtkTreeDragDest *drag_dest,
 
 	/* get the destination param */
 	metatree_get_row_properties ( model, dest_path,
-				      &name, &no_dest_division, &no_dest_sub_division, 
+				      &name, &no_dest_division, &no_dest_sub_division,
 				      NULL, NULL );
 	if ( ! name )
 	{
 	    gtk_tree_path_up ( dest_path );
 	    metatree_get_row_properties ( model, dest_path,
-					  &name, &no_dest_division, &no_dest_sub_division, 
+					  &name, &no_dest_division, &no_dest_sub_division,
 					  NULL, NULL );
 	}
-	
+
 	switch ( orig_type )
 	{
 		/* move a transaction */
 	    case META_TREE_TRANSACTION:
 		if (transaction_number)
-		    move_transaction_to_sub_division ( transaction_number, model, 
+		    move_transaction_to_sub_division ( transaction_number, model,
 						       orig_path, dest_path,
 						       no_dest_division, no_dest_sub_division );
 		break;
@@ -1467,7 +1467,7 @@ void move_transaction_to_sub_division ( gint transaction_number,
         iface -> add_transaction_to_sub_div ( transaction_number,
                         no_division, no_sub_division );
         if ( no_sub_division == 0 )
-            fill_sub_division_zero ( model, iface, &dest_iter, 
+            fill_sub_division_zero ( model, iface, &dest_iter,
                         no_division );
         else
             fill_sub_division_row ( model, iface, &dest_iter,
@@ -1493,14 +1493,14 @@ void move_transaction_to_sub_division ( gint transaction_number,
                 if ( old_div == 0 )
                     fill_division_zero ( model, iface, &parent_iter );
                 else if ( old_sub_div == 0 )
-                    fill_sub_division_zero ( model, iface, &parent_iter, 
+                    fill_sub_division_zero ( model, iface, &parent_iter,
                         old_div );
                 else
-                    fill_sub_division_row ( model, iface, &parent_iter, 
+                    fill_sub_division_row ( model, iface, &parent_iter,
                         old_div, old_sub_div );
-                if ( gtk_tree_model_iter_parent ( model, &gd_parent_iter, 
+                if ( gtk_tree_model_iter_parent ( model, &gd_parent_iter,
                         &parent_iter ) )
-                    fill_division_row ( model, iface, &gd_parent_iter, 
+                    fill_division_row ( model, iface, &gd_parent_iter,
                         old_div );
             }
             else
@@ -1522,7 +1522,7 @@ void move_transaction_to_sub_division ( gint transaction_number,
  * \param no_orig_division number of the initial division containing the sub-division we want to move
  * \param no_orig_sub_division number of the initial sub-division we want to move to another division or 0 if no sub-division
  *
- * \return	
+ * \return
  */
 void move_sub_division_to_division ( GtkTreeModel *model,
                         gint no_dest_division,
@@ -1577,9 +1577,9 @@ void move_sub_division_to_division ( GtkTreeModel *model,
 	    GtkTreePath * path;
 
 	    path = gtk_tree_model_get_path ( model, &iter );
-	    move_transaction_to_sub_division ( transaction_number_tmp, model, 
+	    move_transaction_to_sub_division ( transaction_number_tmp, model,
 					       NULL, path,
-					       no_dest_division, 
+					       no_dest_division,
 					       no_dest_sub_division );
 	}
 	list_tmp_transactions = list_tmp_transactions -> next;
@@ -1602,12 +1602,12 @@ void move_sub_division_to_division ( GtkTreeModel *model,
     /* If it was no sub-division, recreate it. */
     if ( !no_orig_sub_division )
     {
-	metatree_fill_new_sub_division ( iface, model, 
+	metatree_fill_new_sub_division ( iface, model,
 					 no_orig_division, no_orig_sub_division );
     }
 
     /* Update dest at last. */
-    fill_sub_division_row ( model, iface, &iter, 
+    fill_sub_division_row ( model, iface, &iter,
 			    no_dest_division, no_dest_sub_division );
     gtk_tree_iter_free (iter_parent);
     gsb_file_set_modified ( TRUE );
@@ -1655,7 +1655,7 @@ void move_all_sub_divisions_to_division ( GtkTreeModel *model,
 
         orig_sub_division = iface -> sub_div_id (tmp_list -> data);
 
-        /* check if transactions in the sub-division, move only when there 
+        /* check if transactions in the sub-division, move only when there
          * is some transactions  */
         iter = get_iter_from_div (model, orig_division, orig_sub_division);
 
@@ -1704,7 +1704,7 @@ void expand_arbre_division ( GtkWidget *bouton, gint depth )
 {
     GtkTreeView *tree_view = g_object_get_data ( G_OBJECT(bouton), "tree-view" );
     GtkTreeModel *model;
-    
+
     if ( tree_view )
     {
         gtk_tree_view_collapse_all ( tree_view );
@@ -1749,11 +1749,11 @@ gboolean find_destination_blob ( MetatreeInterface * iface,
     gchar *tmpstr;
 
     /* create the box to move change the division and sub-div of the transactions */
-    gchar* tmpstr1 = g_strdup_printf ( _("'%s' still contains transactions or archived transactions."), 
-				       ( !sub_division ? 
+    gchar* tmpstr1 = g_strdup_printf ( _("'%s' still contains transactions or archived transactions."),
+				       ( !sub_division ?
 					 iface -> div_name ( division ) :
 					 iface -> sub_div_name ( division, sub_division ) ) );
-    gchar* tmpstr2 = g_strdup_printf ( _("If you want to remove it but want to keep transactions, you can transfer them to another (sub-)%s.  Otherwise, transactions can be simply deleted along with their division."), 
+    gchar* tmpstr2 = g_strdup_printf ( _("If you want to remove it but want to keep transactions, you can transfer them to another (sub-)%s.  Otherwise, transactions can be simply deleted along with their division."),
 				       _( iface -> meta_name ) );
     dialog = dialogue_special_no_run ( GTK_MESSAGE_WARNING, GTK_BUTTONS_OK_CANCEL,
 				       make_hint ( tmpstr1 , tmpstr2 ) );
@@ -1921,8 +1921,8 @@ gboolean find_destination_blob ( MetatreeInterface * iface,
 	    g_free ( tmpstr2 );
 
 	    gtk_widget_destroy (dialog);
-	    return (find_destination_blob ( iface, model, 
-					    division, sub_division, 
+	    return (find_destination_blob ( iface, model,
+					    division, sub_division,
 					    no_div, no_sub_div ));
 	}
 
@@ -1933,7 +1933,7 @@ gboolean find_destination_blob ( MetatreeInterface * iface,
 	nouveau_no_division = iface -> get_div_pointer_from_name ( split_division[0], 0 );
 
 	if (nouveau_no_division)
-	    nouveau_no_sub_division =  iface -> get_sub_div_pointer_from_name ( 
+	    nouveau_no_sub_division =  iface -> get_sub_div_pointer_from_name (
                         nouveau_no_division, split_division[1], 0 );
 
 	g_strfreev ( split_division );
@@ -1951,7 +1951,7 @@ gboolean find_destination_blob ( MetatreeInterface * iface,
 }
 
 
-/** 
+/**
  * Find transactions that are associated with a div or subdiv.
  *
  * \param iface		A MetatreeInterface to use.
@@ -1998,7 +1998,7 @@ gboolean find_associated_transactions ( MetatreeInterface * iface,
 
 	scheduled_number = gsb_data_scheduled_get_scheduled_number (tmp_list -> data);
 
-	if ( iface -> scheduled_div_id (scheduled_number) == no_division && 
+	if ( iface -> scheduled_div_id (scheduled_number) == no_division &&
 	     ( !no_sub_division ||
 	       iface -> scheduled_div_id (scheduled_number) == no_sub_division ) )
 	{
@@ -2027,7 +2027,7 @@ GtkTreeIter *get_iter_from_div ( GtkTreeModel * model, int div, int sub_div )
 {
     gpointer pointeurs[3] = { GINT_TO_POINTER (div), GINT_TO_POINTER (sub_div), NULL };
 
-    gtk_tree_model_foreach ( model, (GtkTreeModelForeachFunc) search_for_div_or_subdiv, 
+    gtk_tree_model_foreach ( model, (GtkTreeModelForeachFunc) search_for_div_or_subdiv,
 			     pointeurs );
 
     return (GtkTreeIter *) pointeurs[2];
@@ -2054,9 +2054,9 @@ gboolean search_for_div_or_subdiv ( GtkTreeModel *model,
     gchar *text;
 
     gtk_tree_model_get ( GTK_TREE_MODEL(model), iter,
-			 META_TREE_TEXT_COLUMN, &text, 
-			 META_TREE_NO_DIV_COLUMN, &no_div, 
-			 META_TREE_NO_SUB_DIV_COLUMN, &no_sub_div, 
+			 META_TREE_TEXT_COLUMN, &text,
+			 META_TREE_NO_DIV_COLUMN, &no_div,
+			 META_TREE_NO_SUB_DIV_COLUMN, &no_sub_div,
 			 -1 );
 
     /* This is a kludge because we want to skip "dummy" iters that are
@@ -2065,7 +2065,7 @@ gboolean search_for_div_or_subdiv ( GtkTreeModel *model,
 	return FALSE;
 
     if ( ! pointers[0] && ( !pointers[1] || !GPOINTER_TO_INT (pointers[1]))
-	 && 
+	 &&
 	 !no_div && !no_sub_div )
     {
 	pointers[2] = gtk_tree_iter_copy (iter);
@@ -2074,7 +2074,7 @@ gboolean search_for_div_or_subdiv ( GtkTreeModel *model,
 
     if ( no_div == GPOINTER_TO_INT (pointers[0]))
     {
-	if ( ( !GPOINTER_TO_INT (pointers[1])) || 
+	if ( ( !GPOINTER_TO_INT (pointers[1])) ||
 	     ( no_sub_div == GPOINTER_TO_INT (pointers[1])))
 	{
 	    pointers[2] = gtk_tree_iter_copy (iter);
@@ -2093,12 +2093,12 @@ gboolean search_for_div_or_subdiv ( GtkTreeModel *model,
  *
  * \return a newly allocated GtkTreeIter or NULL
  */
-GtkTreeIter *get_iter_from_transaction ( GtkTreeModel * model, 
+GtkTreeIter *get_iter_from_transaction ( GtkTreeModel * model,
                         gint transaction_number )
 {
     gpointer pointeurs[2] = { GINT_TO_POINTER (transaction_number), NULL };
 
-    gtk_tree_model_foreach ( model, (GtkTreeModelForeachFunc) 
+    gtk_tree_model_foreach ( model, (GtkTreeModelForeachFunc)
                         search_for_transaction, pointeurs );
 
     return (GtkTreeIter *) pointeurs[1];
@@ -2124,7 +2124,7 @@ gboolean search_for_transaction ( GtkTreeModel *model,
     gint current_number;
 
     gtk_tree_model_get ( GTK_TREE_MODEL(model), iter,
-			 META_TREE_POINTER_COLUMN, &current_number, 
+			 META_TREE_POINTER_COLUMN, &current_number,
 			 -1 );
 
     if ( current_number == GPOINTER_TO_INT (pointers[0] ))
@@ -2223,11 +2223,11 @@ void update_transaction_in_tree ( MetatreeInterface * iface,
 	GtkTreeIter child_iter;
 	gchar *text;
 
-	if ( ! gtk_tree_model_iter_children ( model, &child_iter, 
+	if ( ! gtk_tree_model_iter_children ( model, &child_iter,
                         ( iface -> depth == 1 ? div_iter : sub_div_iter ) ) )
 	    /* Panic, something went wrong. */
 	    return;
-	
+
 	gtk_tree_model_get ( model, &child_iter, META_TREE_TEXT_COLUMN, &text, -1 );
 
 	/* Text is set only if division has been expanded previously,
@@ -2254,7 +2254,7 @@ void update_transaction_in_tree ( MetatreeInterface * iface,
  * \param model		Model pertaining to tree view.
  * \param iter		Iter to remove.
  */
-void metatree_remove_iter_and_select_next ( GtkTreeView * tree_view, 
+void metatree_remove_iter_and_select_next ( GtkTreeView * tree_view,
                         GtkTreeModel * model,
                         GtkTreeIter * iter )
 {
@@ -2349,7 +2349,7 @@ gboolean metatree_selection_changed ( GtkTreeSelection *selection, GtkTreeModel
                         ( sub_div_id ? iface -> sub_div_name ( div_id, sub_div_id ) :
                          _( iface->no_sub_div_label ) ),
                         NULL );
- 
+
                 balance = utils_real_get_string_with_currency ( iface -> sub_div_balance ( div_id, sub_div_id ),
                                     iface -> tree_currency (), TRUE );
                 break;
@@ -2367,7 +2367,7 @@ gboolean metatree_selection_changed ( GtkTreeSelection *selection, GtkTreeModel
                         ( sub_div_id ? iface -> sub_div_name ( div_id, sub_div_id ) :
                          _( iface->no_sub_div_label ) ),
                         NULL );
- 
+
                 balance = utils_real_get_string_with_currency ( iface -> sub_div_balance ( div_id, sub_div_id ),
                                     iface -> tree_currency (), TRUE );
                 break;
@@ -2495,13 +2495,13 @@ gboolean metatree_sort_column  ( GtkTreeModel * model,
     gchar * string_a, * string_b;
     gint no_div_a, no_sous_div_a, no_div_b, no_sous_div_b;
 
-    gtk_tree_model_get ( model, a, 
-			 META_TREE_DATE_COLUMN, &date_a, 
+    gtk_tree_model_get ( model, a,
+			 META_TREE_DATE_COLUMN, &date_a,
 			 META_TREE_TEXT_COLUMN, &string_a,
              META_TREE_NO_DIV_COLUMN, &no_div_a,
 			 META_TREE_NO_SUB_DIV_COLUMN, &no_sous_div_a, -1 );
-    gtk_tree_model_get ( model, b, 
-			 META_TREE_DATE_COLUMN, &date_b, 
+    gtk_tree_model_get ( model, b,
+			 META_TREE_DATE_COLUMN, &date_b,
 			 META_TREE_TEXT_COLUMN, &string_b,
              META_TREE_NO_DIV_COLUMN, &no_div_b,
 			 META_TREE_NO_SUB_DIV_COLUMN, &no_sous_div_b,  -1 );
@@ -2515,7 +2515,7 @@ gboolean metatree_sort_column  ( GtkTreeModel * model,
         return -1;
     if ( no_div_a == no_div_b && no_sous_div_b == 0 )
         return 1;
-    
+
     if (!string_b)
         return 1;
     if (!string_a)
@@ -2655,7 +2655,7 @@ void fill_sub_division_zero ( GtkTreeModel * model,
 	balance = utils_real_get_string_with_currency ( iface -> sub_div_balance ( division, 0 ),
 						      iface -> tree_currency (), TRUE );
     }
-    
+
     gtk_tree_store_set ( GTK_TREE_STORE (model), iter,
 			 META_TREE_TEXT_COLUMN, string_tmp,
 			 META_TREE_POINTER_COLUMN, 0,
@@ -2702,7 +2702,7 @@ GtkTreeIter *get_iter_from_sub_div_zero ( GtkTreeModel *model,
                 break;
         }
     }
-    
+
     return gtk_tree_iter_copy (&child_iter);
 }
 
@@ -2724,7 +2724,7 @@ void move_transactions_to_division_payee (GtkTreeModel * model,
 
     if ( !model )
         return;
-    
+
     iface = g_object_get_data ( G_OBJECT(model), "metatree-interface" );
 
     /* fill the dest division for payee with the transactions */
@@ -3035,7 +3035,7 @@ void metatree_manage_sub_divisions ( GtkWidget *tree_view )
 
 /*     printf ("no_division = %d no_sub_division = %d\n", no_division, no_sub_division);
  *     printf ("new_division = %d new_sub_division = %d\n", new_division, new_sub_division);
- * 
+ *
  */
     /* Transfert d'opérations dans une catégorie ou une sous catégorie */
     if ( button_action_selected == 0 && no_division && new_division )
diff --git a/src/metatree.h b/src/metatree.h
index 89d00fe..6de1906 100644
--- a/src/metatree.h
+++ b/src/metatree.h
@@ -107,7 +107,7 @@ enum meta_tree_row_type {
 void appui_sur_ajout_sub_division ( GtkTreeModel * model );
 gboolean division_activated ( GtkTreeView * treeview, GtkTreePath * path,
                         GtkTreeViewColumn * col, gpointer userdata );
-gboolean division_column_expanded  ( GtkTreeView * treeview, GtkTreeIter * iter, 
+gboolean division_column_expanded  ( GtkTreeView * treeview, GtkTreeIter * iter,
                         GtkTreePath * tree_path, gpointer user_data ) ;
 gboolean division_column_collapsed  ( GtkTreeView *treeview,
                         GtkTreeIter *iter,
@@ -118,9 +118,9 @@ gboolean division_drag_data_received ( GtkTreeDragDest * drag_dest, GtkTreePath
 gboolean division_row_drop_possible ( GtkTreeDragDest * drag_dest, GtkTreePath * dest_path,
                         GtkSelectionData * selection_data );
 void expand_arbre_division ( GtkWidget *bouton, gint depth );
-void fill_division_row ( GtkTreeModel * model, MetatreeInterface * iface, 
+void fill_division_row ( GtkTreeModel * model, MetatreeInterface * iface,
                         GtkTreeIter * iter, gint division );
-void fill_sub_division_row ( GtkTreeModel * model, MetatreeInterface * iface, 
+void fill_sub_division_row ( GtkTreeModel * model, MetatreeInterface * iface,
                         GtkTreeIter * iter,
                         gint division,
                         gint sub_division );
@@ -133,7 +133,7 @@ void metatree_register_widget_as_linked ( GtkTreeModel * model,
                         GtkWidget * widget,
                         gchar * link_type );
 void metatree_remove_transaction ( GtkTreeView * tree_view,
-                        MetatreeInterface * iface, 
+                        MetatreeInterface * iface,
                         gint transaction,
                         gboolean delete_transaction );
 gboolean metatree_selection_changed ( GtkTreeSelection * selection, GtkTreeModel * model );
diff --git a/src/mouse.h b/src/mouse.h
index 2dd226c..3b3dd87 100644
--- a/src/mouse.h
+++ b/src/mouse.h
@@ -3,7 +3,7 @@
 
 /* Fichier de définition de constantes relatives à la souris mouse.h */
 
-/* possible values for a GdkEventButton -> button 
+/* possible values for a GdkEventButton -> button
  * cf GdkEventButton structure in gnome library */
 #define LEFT_BUTTON 1
 #define MIDDLE_BUTTON 2
diff --git a/src/navigation.h b/src/navigation.h
index f59a537..6344a6e 100644
--- a/src/navigation.h
+++ b/src/navigation.h
@@ -51,7 +51,7 @@ gboolean navigation_change_account ( gint new_account );
 gboolean navigation_drag_data_received ( GtkTreeDragDest *drag_dest,
                         GtkTreePath *dest_path,
                         GtkSelectionData *selection_data );
-gboolean navigation_row_drop_possible ( GtkTreeDragDest *drag_dest, 
+gboolean navigation_row_drop_possible ( GtkTreeDragDest *drag_dest,
                         GtkTreePath *dest_path,
                         GtkSelectionData *selection_data );
 /* END_DECLARATION */
diff --git a/src/parametres.c b/src/parametres.c
index 91ec736..39c67aa 100644
--- a/src/parametres.c
+++ b/src/parametres.c
@@ -179,7 +179,7 @@ GtkWidget * create_preferences_tree ( )
 
     /* Handle select */
     selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (tree_view));
-    g_signal_connect (selection, 
+    g_signal_connect (selection,
                         "changed",
                         (GCallback) selectionne_liste_preference,
                         preference_tree_model);
@@ -193,7 +193,7 @@ GtkWidget * create_preferences_tree ( )
     gtk_container_add (GTK_CONTAINER (sw), tree_view);
 
     /* expand all rows after the treeview widget has been realized */
-    g_signal_connect ( tree_view, 
+    g_signal_connect ( tree_view,
                         "realize",
                         (GCallback) gtk_tree_view_expand_all,
                         NULL );
@@ -332,7 +332,7 @@ gboolean preferences ( gint page )
                         1, IMPORT_ASSOCIATION_PAGE,
                         2, 400,
                         -1);
-    gtk_notebook_append_page (preference_frame, 
+    gtk_notebook_append_page (preference_frame,
                         gsb_import_associations_gere_tiers (), NULL);
 
     gtk_tree_store_append (GTK_TREE_STORE (preference_tree_model), &iter2, &iter);
@@ -671,7 +671,7 @@ GtkWidget *onglet_messages_and_warnings ( void )
     gtk_box_pack_start ( GTK_BOX ( paddingbox ), tip_checkbox, FALSE, FALSE, 0 );
 
     /* Warnings */
-    paddingbox = new_paddingbox_with_title ( vbox_pref, TRUE, 
+    paddingbox = new_paddingbox_with_title ( vbox_pref, TRUE,
                         _("Display following warnings messages") );
 
     model = GTK_TREE_MODEL(gtk_tree_store_new ( 3, G_TYPE_INT, G_TYPE_STRING, G_TYPE_INT ) );
@@ -747,7 +747,7 @@ GtkWidget *onglet_delete_messages ( void )
     vbox_pref = new_vbox_with_title_and_icon ( _("Messages before deleting"), "delete.png" );
 
     /* Delete messages */
-    paddingbox = new_paddingbox_with_title ( vbox_pref, TRUE, 
+    paddingbox = new_paddingbox_with_title ( vbox_pref, TRUE,
                         _("Display following messages") );
 
     model = GTK_TREE_MODEL(gtk_tree_store_new ( 3, G_TYPE_INT, G_TYPE_STRING, G_TYPE_INT ) );
@@ -1145,7 +1145,7 @@ GtkWidget *onglet_metatree ( void )
 {
     GtkWidget *vbox_pref, *paddingbox, *total_currencies;
 
-    vbox_pref = new_vbox_with_title_and_icon ( 
+    vbox_pref = new_vbox_with_title_and_icon (
                         _("Payees, categories and budgetaries"),
                         "organization.png" );
 
@@ -1572,7 +1572,7 @@ void gsb_localisation_thousands_sep_changed ( GtkComboBox *widget, gpointer user
 
     text = gtk_combo_box_get_active_text ( widget );
     combo_box = g_object_get_data ( G_OBJECT ( widget ), "separator" );
-    
+
     if ( g_strcmp0 ( text, "' '" ) == 0 )
     {
         gsb_locale_set_mon_thousands_sep ( " " );
diff --git a/src/parse_cmdline.c b/src/parse_cmdline.c
index 1427b51..08f9cd5 100644
--- a/src/parse_cmdline.c
+++ b/src/parse_cmdline.c
@@ -77,10 +77,10 @@ static struct option long_options[] =           /*!< configure the list of 'long
  */
 gboolean  parse_options(int argc, char **argv, cmdline_options *pOpt, gint* pErrval)
 {
-    gboolean still_args_to_treat = TRUE; /*!< used to stop treating the command line args using getopt */ 
+    gboolean still_args_to_treat = TRUE; /*!< used to stop treating the command line args using getopt */
     int      option_index        = 0;    /*!< Index of the field of argv to compute */
     gboolean app_must_stop       = FALSE;
-	
+
     *pErrval = CMDLINE_ERROR(CMDLINE_SYNTAX_OK);
 	/* init param de retour */
 	pOpt->demande_page         = 0;
@@ -110,19 +110,19 @@ gboolean  parse_options(int argc, char **argv, cmdline_options *pOpt, gint* pErr
             case EOF:/* all options parsed */
                 still_args_to_treat = FALSE;
                 break;
-            
+
             /* configured returned values */
             /* -h : short help = usage */
             case 'v' : /* -v */
             case 'V' : /* --version */
                 app_must_stop       = TRUE; /* stopping here! */
-                show_version();    
+                show_version();
                 break;
             case 'h':  /* -h */
             case 'H':  /* --help */
                 app_must_stop       = TRUE; /* stopping here! */
                 show_help();
-                break; 
+                break;
             case 't': /* -t <str> */
             case 'T': /* --tab[=]<optarg> */
                 if (!optarg)
@@ -130,14 +130,14 @@ gboolean  parse_options(int argc, char **argv, cmdline_options *pOpt, gint* pErr
                     /* Denote a getopt configuration error, arg is required should never happend, but ... */
                     *pErrval = CMDLINE_ERROR(CMDLINE_GETOPT_CONFIGURATION_ERROR);
                     show_usage((gint)(*pErrval),"");
-			} 
+			}
                 else
 			{
                     /* optarg contains argument parameter */
                     if (CMDLINE_SYNTAX_OK != (*pErrval = parse_tab_parameters(optarg, pOpt)))
                         show_usage((gint)(*pErrval),"");
-			} 
-                break; 
+			}
+                break;
 				}
 			}
     /* Manual management of command line arguments */
@@ -156,15 +156,15 @@ gboolean  parse_options(int argc, char **argv, cmdline_options *pOpt, gint* pErr
         pOpt->fichier = g_strdup(argv[optind]);
         optind++;
 		}
-		
+
     return ((gboolean)((*pErrval)==0)&&(!app_must_stop));
-	
+
 }
 
 
 
 /**
- * 
+ *
  * Display grisbi version after synoptic
  *
  *
@@ -195,7 +195,7 @@ void show_help(void)
 /**
  *
  * Display usage line
- * 
+ *
  * \param errval  error code to pass to show_errstr
  * \param extra  extra information to pass to show_errstr
  *
@@ -210,7 +210,7 @@ void show_usage ( gint errval, gchar* extra )
 
 /**
  *
- * Display a string corresponding to error code 
+ * Display a string corresponding to error code
  *
  * \param errval  error code to inform the user why this message is displayed
  * \param extra  extra information to complete error code
@@ -240,7 +240,7 @@ void show_errstr(gint errval, gchar* extra)
             break;
         case CMDLINE_GETOPT_CONFIGURATION_ERROR:
             g_printerr(_("Something strange happend (%s)\n\n"),extra);
-            break;            
+            break;
         default:
             g_printerr(_("Syntax error!\n\n"));
             break;
@@ -264,18 +264,18 @@ CMDLINE_ERRNO parse_tab_parameters(char *tab_parameters, cmdline_options* pOpt)
 {
 	gchar **split_chiffres;
 	gint    w, x, y, z;
-	
+
 	w = x = y = z = -1;
 
     split_chiffres = g_strsplit ( tab_parameters, ",", 0 );
-	
+
 	if (split_chiffres[0] == NULL)
 	{
 		/* on s'attend à avoir au moins un numero d'onglet */
         return CMDLINE_MISSING_PARAMETER;
 	}
-	
-	w = utils_str_atoi(split_chiffres[0]); 
+
+	w = utils_str_atoi(split_chiffres[0]);
 	if ( !is_valid_window_number(w) )
 	{
         return CMDLINE_TAB_ID_OUT_OF_RANGE;
@@ -284,45 +284,45 @@ CMDLINE_ERRNO parse_tab_parameters(char *tab_parameters, cmdline_options* pOpt)
 	if (w == 7)
 	{
 		/* Fenetre des etats. Lit parametres restant si il y en a. */
-		if (split_chiffres[1]) 
+		if (split_chiffres[1])
 		{
 			x = utils_str_atoi(split_chiffres[1]);
-		
-			if (split_chiffres[2]) 
+
+			if (split_chiffres[2])
 			{
 				y = utils_str_atoi(split_chiffres[2]);
-				if (split_chiffres[3]) 
+				if (split_chiffres[3])
 				{
 					z = utils_str_atoi(split_chiffres[3]);
 				}
 			}
 		}
 	}
-	
+
 
 	/* Tout c'est bien passé, on peut ranger les valeurs dans la var. de retour */
 	pOpt->demande_page         = 1;
-	
+
 	pOpt->page_w               = w;
 	pOpt->report_no            = x;
 	pOpt->customization_tab_no = y;
 	pOpt->subcustom_tab_no     = z;
-	
+
     return CMDLINE_SYNTAX_OK;
 
 }
 
-	
 
 
-#define  NB_MAX_ONGLET    8 
+
+#define  NB_MAX_ONGLET    8
 /**
- * 
+ *
  * Check if a value can be a tab index.
- * 
+ *
  * A Tab index is in -1 (config dialog) to NB_MAX_ONGLET-1.
  *
- * \param w value to check 
+ * \param w value to check
  *
  * \return TRUE is w can be a tab index, FALSE otherwise.
  */
diff --git a/src/parse_cmdline.h b/src/parse_cmdline.h
index b9af118..4a273af 100644
--- a/src/parse_cmdline.h
+++ b/src/parse_cmdline.h
@@ -21,19 +21,19 @@
 #include <glib.h>
 /*END_INCLUDE*/
 
-typedef struct _cmdline_options 
+typedef struct _cmdline_options
 {
 
     gint        demande_page;
     gint        page_w;
-    
+
     /* quand page_w correspond à la page des états */
     gint        report_no;            /* no etat. -1 si non spécifié dans les options */
     gint        customization_tab_no; /* onglet de personalisation. -1 si non spécifié dans les options */
     gint        subcustom_tab_no;     /* sous-onglet de personalisation. -1 si non spécifié dans les options */
-    
+
     gchar      *fichier;
-    
+
 } cmdline_options;
 
 typedef enum
diff --git a/src/plugins/gnucash/gnucash.c b/src/plugins/gnucash/gnucash.c
index 8b983b6..21c4e1c 100644
--- a/src/plugins/gnucash/gnucash.c
+++ b/src/plugins/gnucash/gnucash.c
@@ -48,8 +48,8 @@ static gchar * child_content ( xmlNodePtr node, gchar * child_name );
 static struct struct_compte_importation * find_imported_account_by_name ( gchar * name );
 static struct struct_compte_importation * find_imported_account_by_uid ( gchar * guid );
 static struct gnucash_category * find_imported_categ_by_uid ( gchar * guid );
-static struct gnucash_split * find_split ( GSList * split_list, gsb_real amount, 
-				    struct struct_compte_importation * account, 
+static struct gnucash_split * find_split ( GSList * split_list, gsb_real amount,
+				    struct struct_compte_importation * account,
 				    struct gnucash_category * categ );
 static xmlNodePtr get_child ( xmlNodePtr node, gchar * child_name );
 static gchar * get_currency ( xmlNodePtr currency_node );
@@ -65,14 +65,14 @@ static void recuperation_donnees_gnucash_book ( xmlNodePtr book_node );
 static void recuperation_donnees_gnucash_categorie ( xmlNodePtr categ_node );
 static void recuperation_donnees_gnucash_compte ( xmlNodePtr compte_node );
 static void recuperation_donnees_gnucash_transaction ( xmlNodePtr transaction_node );
-static void update_split ( struct gnucash_split * split, gsb_real amount, 
+static void update_split ( struct gnucash_split * split, gsb_real amount,
 		    gchar * account, gchar * categ );
 /*END_STATIC*/
 
 
 static struct import_format gnucash_format = {
-    "Gnucash", 
-    "Gnucash",	
+    "Gnucash",
+    "Gnucash",
     "gnc",
     (import_function) recuperation_donnees_gnucash,
 };
@@ -181,15 +181,15 @@ gboolean recuperation_donnees_gnucash ( GtkWidget * assistant,
  * Main role of this function is to iterate over XML nodes of the file
  * and determine which account nodes are category nodes and which are
  * real accounts, as in Gnucash, accounts and categories are mixed.
- * 
+ *
  * \param book_node	Pointer to current XML node.
  */
 void recuperation_donnees_gnucash_book ( xmlNodePtr book_node )
 {
     xmlNodePtr child_node;
-    
+
     child_node = book_node -> children;
-    
+
     while ( child_node )
     {
 	/* Books are subdivisions of gnucash files */
@@ -211,12 +211,12 @@ void recuperation_donnees_gnucash_book ( xmlNodePtr book_node )
 		recuperation_donnees_gnucash_categorie ( child_node );
 	    }
 	}
-	
+
 	if ( node_strcmp(child_node, "transaction") )
         {
 	    recuperation_donnees_gnucash_transaction ( child_node );
 	}
-	
+
 	child_node = child_node -> next;
     }
 }
@@ -241,19 +241,19 @@ void recuperation_donnees_gnucash_compte ( xmlNodePtr compte_node )
     /* Gnucash import */
     compte -> origine = my_strdup ( "Gnucash" );
 
-    if ( !strcmp(type, "BANK") || !strcmp(type, "CREDIT") ) 
+    if ( !strcmp(type, "BANK") || !strcmp(type, "CREDIT") )
     {
 	compte -> type_de_compte = 0; /* Bank */
     }
-    else if ( !strcmp(type, "CASH") || !strcmp(type, "CURRENCY") ) 
+    else if ( !strcmp(type, "CASH") || !strcmp(type, "CURRENCY") )
     {
 	compte -> type_de_compte = 1; /* Currency */
     }
-    else if ( !strcmp(type, "ASSET") || !strcmp(type, "STOCK") || !strcmp(type, "MUTUAL") ) 
+    else if ( !strcmp(type, "ASSET") || !strcmp(type, "STOCK") || !strcmp(type, "MUTUAL") )
     {
 	compte -> type_de_compte = 0; /* Asset */
     }
-    else if ( !strcmp(type, "LIABILITY") ) 
+    else if ( !strcmp(type, "LIABILITY") )
     {
 	compte -> type_de_compte = 0; /* Liability */
     }
@@ -268,7 +268,7 @@ void recuperation_donnees_gnucash_compte ( xmlNodePtr compte_node )
     compte -> nom_de_compte = unique_imported_name ( compte -> nom_de_compte );
 
     gsb_import_register_account ( compte );
-    
+
     gnucash_accounts = g_slist_append ( gnucash_accounts, compte );
 }
 
@@ -314,7 +314,7 @@ void recuperation_donnees_gnucash_categorie ( xmlNodePtr categ_node )
     {
 	categ -> type = GNUCASH_CATEGORY_INCOME;
     }
-    else 
+    else
     {
 	categ -> type = GNUCASH_CATEGORY_EXPENSE;
     }
@@ -332,7 +332,7 @@ void recuperation_donnees_gnucash_categorie ( xmlNodePtr categ_node )
 void recuperation_donnees_gnucash_transaction ( xmlNodePtr transaction_node )
 {
   struct struct_ope_importation * transaction;
-  struct struct_compte_importation * account = NULL; 
+  struct struct_compte_importation * account = NULL;
   struct gnucash_split * split;
   gchar * date_string, *space, *tiers;
   GDate * date;
@@ -346,7 +346,7 @@ void recuperation_donnees_gnucash_transaction ( xmlNodePtr transaction_node )
 
   while ( split_node )
     {
-      struct struct_compte_importation * split_account = NULL; 
+      struct struct_compte_importation * split_account = NULL;
       struct gnucash_category * categ = NULL;
       struct gnucash_split * split;
       enum operation_etat_rapprochement p_r = OPERATION_NORMALE;
@@ -364,12 +364,12 @@ void recuperation_donnees_gnucash_transaction ( xmlNodePtr transaction_node )
 	{
 	  gchar * account_name = NULL, * categ_name = NULL;
 
-	  split_account = find_imported_account_by_uid ( child_content ( split_node, 
+	  split_account = find_imported_account_by_uid ( child_content ( split_node,
 									"account" ) );
 	  categ = find_imported_categ_by_uid ( child_content ( split_node, "account" ) );
 	  amount = gnucash_value ( child_content(split_node, "value") );
 
-	  if ( categ ) 
+	  if ( categ )
 	    categ_name = categ -> name;
 	  if ( split_account )
 	    {
@@ -436,15 +436,15 @@ void recuperation_donnees_gnucash_transaction ( xmlNodePtr transaction_node )
       while ( split_list )
 	{
 	  struct gnucash_split * split = split_list -> data;
-	  struct struct_compte_importation * account = NULL; 
-	  
+	  struct struct_compte_importation * account = NULL;
+
 	  transaction = new_transaction_from_split ( split, tiers, date );
 	  transaction -> ope_de_ventilation = 1;
 
 	  account = find_imported_account_by_name ( split -> account );
 	  if ( account )
 	    account -> operations_importees = g_slist_append ( account -> operations_importees, transaction );
-      
+
 	  split_list = split_list -> next;
 	}
     }
@@ -492,7 +492,7 @@ struct struct_compte_importation * find_imported_account_by_uid ( gchar * guid )
 	}
 
       liste_tmp = liste_tmp -> next;
-    }  
+    }
 
   return NULL;
 }
@@ -525,7 +525,7 @@ struct struct_compte_importation * find_imported_account_by_name ( gchar * name
 	}
 
       liste_tmp = liste_tmp -> next;
-    }  
+    }
 
   return NULL;
 }
@@ -556,7 +556,7 @@ struct gnucash_category * find_imported_categ_by_uid ( gchar * guid )
 	}
 
       liste_tmp = liste_tmp -> next;
-    }  
+    }
 
   return NULL;
 }
@@ -579,7 +579,7 @@ gsb_real gnucash_value ( gchar * value )
   gdouble number, mantisse;
 
   tab_value = g_strsplit ( value, "/", 2 );
-  
+
   number = utils_str_atoi ( tab_value[0] );
   mantisse = utils_str_atoi ( tab_value[1] );
 
@@ -641,10 +641,10 @@ xmlDocPtr parse_gnucash_file ( gchar * filename )
   {
     gchar * tag;
     tag = g_strrstr ( buffer, "<gnc-v2>" );
-      
+
     if ( tag )
 	{
-        gchar *ns[14] = { "gnc", "cd", "book", "act", "trn", "split", "cmdty", 
+        gchar *ns[14] = { "gnc", "cd", "book", "act", "trn", "split", "cmdty",
                         "ts", "slots", "slot", "price", "sx", "fs", NULL };
         gchar **iter;
 
@@ -677,7 +677,7 @@ xmlDocPtr parse_gnucash_file ( gchar * filename )
 
   /** Once parsed, the temporary file is removed as it is useless.  */
   g_unlink ( tempname );
-  
+
   return doc;
 }
 
@@ -694,12 +694,12 @@ xmlDocPtr parse_gnucash_file ( gchar * filename )
  *
  * \return		A gnucash_split upon success.  NULL otherwise.
  */
-struct gnucash_split * find_split ( GSList * split_list, gsb_real amount, 
-				    struct struct_compte_importation * account, 
+struct gnucash_split * find_split ( GSList * split_list, gsb_real amount,
+				    struct struct_compte_importation * account,
 				    struct gnucash_category * categ )
 {
   GSList * tmp;
-  
+
   tmp = split_list;
   while ( tmp )
     {
@@ -715,7 +715,7 @@ struct gnucash_split * find_split ( GSList * split_list, gsb_real amount,
 
       tmp = tmp -> next;
     }
-  
+
   return NULL;
 }
 
@@ -727,13 +727,13 @@ struct gnucash_split * find_split ( GSList * split_list, gsb_real amount,
  * account, this means it is the second split of the pair and first
  * split was an account split, so this is transfer split and we set
  * split's contra_account to 'account'.
- * 
+ *
  * \param split		Split to update.
  * \param amount	Amount to set if account is not NULL.
  * \param account	Account to set if not NULL.
  * \param categ		Category to set if not NULL.
  */
-void update_split ( struct gnucash_split * split, gsb_real amount, 
+void update_split ( struct gnucash_split * split, gsb_real amount,
 		    gchar * account, gchar * categ )
 {
   if ( categ )
@@ -775,11 +775,11 @@ struct gnucash_split * new_split ( gsb_real amount, gchar * account, gchar * cat
   split -> amount = amount;
   if ( account )
     split -> account = my_strdup ( account );
-  else 
+  else
     split -> account = NULL;
   if ( categ )
     split -> category = my_strdup ( categ );
-  else 
+  else
     split -> category = NULL;
 
   return split;
@@ -790,7 +790,7 @@ struct gnucash_split * new_split ( gsb_real amount, gchar * account, gchar * cat
 /**
  * Allocate and return a struct_ope_importation created from a
  * gnucash_split and some arguments.
- * 
+ *
  * \param split		Split to use as a base.
  * \param tiers		Transaction payee name.
  * \param date		Transaction date.
@@ -815,7 +815,7 @@ struct struct_ope_importation * new_transaction_from_split ( struct gnucash_spli
       /** If split contains a contra account, then this is a transfer. */
       struct struct_compte_importation * contra_account;
       struct struct_ope_importation * contra_transaction;
-	  
+
       contra_transaction = calloc ( 1, sizeof ( struct struct_ope_importation ));
       contra_transaction -> montant = gsb_real_opposite (split -> amount);
       contra_transaction -> notes = split -> notes;
@@ -878,7 +878,7 @@ gchar * child_content ( xmlNodePtr node, gchar * child_name )
 
   if ( child_node )
     return (gchar *) xmlNodeGetContent ( child_node );
-  
+
   return NULL;
 }
 
diff --git a/src/plugins/ofx/ofx.c b/src/plugins/ofx/ofx.c
index b6e8047..f8d7c72 100644
--- a/src/plugins/ofx/ofx.c
+++ b/src/plugins/ofx/ofx.c
@@ -128,7 +128,7 @@ GSList *recuperation_donnees_ofx ( GtkWidget * assistant, struct imported_file *
     ofx_set_account_cb ( ofx_context, ofx_proc_account_cb, NULL );
     ofx_set_transaction_cb ( ofx_context, ofx_proc_transaction_cb, NULL );
     ofx_set_statement_cb ( ofx_context, ofx_proc_statement_cb, NULL );
- 
+
     libofx_proc_file ( ofx_context, ofx_filename, AUTODETECT );
 
     /*     le dernier compte n'a pas été ajouté à la liste */
@@ -220,7 +220,7 @@ int ofx_proc_status_cb(struct OfxStatusData data, void * status_data)
 		    dialogue_error ( _("OFX processing returned an error message which is not valid."));
 		erreur_import_ofx = 1;
 		break;
-	}		
+	}
     }
 
 
@@ -466,7 +466,7 @@ int ofx_proc_transaction_cb(struct OfxTransactionData data, void * security_data
 									       ope_import );
 
 
-    return 0; 
+    return 0;
 }
 /* *******************************************************************************/
 
diff --git a/src/print_dialog_config.c b/src/print_dialog_config.c
index 9886ada..1c6084a 100644
--- a/src/print_dialog_config.c
+++ b/src/print_dialog_config.c
@@ -52,7 +52,7 @@ static GtkPrintSettings *settings = NULL;
  * \param begin_callback	the function to call when the "begin" signal is emited
  * \param draw_callback		the function to call when the "draw" signal is emited
  * \param custom_tab_label	Tab title for an optional custom config tab
- * \param custom_tab_callback	Callback that creates an optional config tab 
+ * \param custom_tab_callback	Callback that creates an optional config tab
  * \param custom_apply_callback	Callback called when user validate config
  * \param data data for callback
  *
@@ -70,7 +70,7 @@ void print_dialog_config ( GCallback begin_callback,
     print = gtk_print_operation_new ();
 	gtk_print_operation_set_unit ( print, GTK_UNIT_POINTS );
 
-    if (settings != NULL) 
+    if (settings != NULL)
 	gtk_print_operation_set_print_settings (print, settings);
 
     /* Custom stuff */
diff --git a/src/print_report.c b/src/print_report.c
index 27957fa..d0f8453 100644
--- a/src/print_report.c
+++ b/src/print_report.c
@@ -284,7 +284,7 @@ static void print_report_draw_line ( GtkTableChild *child,
 }
 
 /**
- * draw a column line 
+ * draw a column line
  *
  * \param column_position	column position
  * \param line_position		line position
@@ -483,7 +483,7 @@ gboolean print_config_show_config_apply ( GtkPrintOperation * operation,
 
     gsb_data_print_config_set_report_font_transaction ( pango_font_description_from_string ( gtk_font_button_get_font_name ( font_button_transactions ) ) );
     gsb_data_print_config_set_report_font_title ( pango_font_description_from_string ( gtk_font_button_get_font_name ( font_button_title ) ) );
-    
+
     return FALSE;
 }
 
diff --git a/src/print_transactions_list.c b/src/print_transactions_list.c
index c603d1c..820be53 100644
--- a/src/print_transactions_list.c
+++ b/src/print_transactions_list.c
@@ -185,7 +185,7 @@ GtkWidget * print_transactions_list_layout_config ( GtkPrintOperation * operatio
     gtk_box_pack_start (GTK_BOX (hbox),
 			label,
 			FALSE, FALSE, 0);
-    
+
     init_date_entry = gsb_calendar_entry_new (FALSE);
     if (draw_initial_date)
 	gsb_calendar_entry_set_date (init_date_entry, draw_initial_date);
@@ -197,7 +197,7 @@ GtkWidget * print_transactions_list_layout_config ( GtkPrintOperation * operatio
     gtk_box_pack_start (GTK_BOX (hbox),
 			label,
 			FALSE, FALSE, 0);
-    
+
     final_date_entry = gsb_calendar_entry_new (FALSE);
     if (draw_final_date)
 	gsb_calendar_entry_set_date (final_date_entry, draw_final_date);
@@ -346,7 +346,7 @@ gboolean print_transactions_list_apply ( GtkPrintOperation * operation,
 
     font_button_transactions = g_object_get_data ( G_OBJECT ( operation ), "font_transaction_button" );
     font_button_title = g_object_get_data ( G_OBJECT( operation ), "font_title_button" );
-    
+
     gsb_data_print_config_set_font_transaction ( pango_font_description_from_string (
                         gtk_font_button_get_font_name ( font_button_transactions ) ) );
     gsb_data_print_config_set_font_title ( pango_font_description_from_string (
@@ -743,7 +743,7 @@ static gint print_transactions_list_draw_title ( GtkPrintContext *context,
  * draw the title of the columns
  *
  * \param line_position	the position to insert the titles
- * 
+ *
  * \return the new line_position to continue to fill the page
  * */
 static gint print_transactions_list_draw_columns_title ( GtkPrintContext *context,
@@ -861,7 +861,7 @@ static gint print_transactions_list_draw_line ( gint line_position )
 }
 
 /**
- * draw a column line 
+ * draw a column line
  *
  * \param column_position	column position
  * \param line_position		line position
@@ -897,7 +897,7 @@ static gint print_transactions_list_draw_row ( GtkPrintContext *context,
 {
     gint column;
     gfloat alignment[] = {
-	PANGO_ALIGN_CENTER, PANGO_ALIGN_CENTER, PANGO_ALIGN_LEFT, 
+	PANGO_ALIGN_CENTER, PANGO_ALIGN_CENTER, PANGO_ALIGN_LEFT,
 	PANGO_ALIGN_CENTER, PANGO_ALIGN_RIGHT, PANGO_ALIGN_RIGHT, PANGO_ALIGN_RIGHT
     };
 
diff --git a/src/print_tree_view_list.c b/src/print_tree_view_list.c
index 4c81c7a..71a4315 100644
--- a/src/print_tree_view_list.c
+++ b/src/print_tree_view_list.c
@@ -430,7 +430,7 @@ static gint print_tree_view_list_draw_row ( GtkPrintContext *context,
 
 
 /**
- * draw a column line 
+ * draw a column line
  *
  * \param column_position   column position
  * \param line_position     line position
@@ -566,7 +566,7 @@ static gint print_tree_view_list_draw_cell ( GtkPrintContext *context,
  *
  * \param context           the GtkPrintContext
  * \param line_position     the position to insert the titles
- * 
+ *
  * \return the new line_position to continue to fill the page
  * */
 static gint print_tree_view_list_draw_columns_title ( GtkPrintContext *context,
@@ -741,7 +741,7 @@ void print_tree_view_list_calculate_columns_width ( GtkTreeView *tree_view, gdou
     /* set the page_width of the columns */
     for (column = 0 ; column < ( nbre_cols  - 1 ); column++ )
     {
-        columns_width[column] = ( columns_position[column + 1] - columns_position[column] - 
+        columns_width[column] = ( columns_position[column + 1] - columns_position[column] -
                                     3 * gsb_data_print_config_get_draw_column () ) * PANGO_SCALE;
 
         total_text_width = total_text_width + columns_width[column];
@@ -786,7 +786,7 @@ void print_tree_view_list_init_tree_view_data ( GtkTreeView *tree_view )
 
         list_tmp  = list_tmp -> next;
     }
-    
+
     list_tmp = list;
     while ( list_tmp )
     {
@@ -875,7 +875,7 @@ static gint print_tree_view_list_get_title_size ( void )
     nbre_lines++;
 
     size_line = pango_font_description_get_size ( gsb_data_print_config_get_font_title () );
-    
+
     size_tmp =  size_line * nbre_lines / PANGO_SCALE;
 
     return size_tmp;
@@ -893,7 +893,7 @@ static gint print_tree_view_list_get_columns_title_size ( gint nbre_lines )
     gint size_tmp = 0;
 
     devel_debug_int(nbre_lines);
-    
+
     size_tmp =  size_row * nbre_lines + gsb_data_print_config_get_draw_lines ( );
 
     return size_tmp;
@@ -1087,7 +1087,7 @@ static void print_tree_view_list_draw_background ( GtkPrintContext *context,
     model = gtk_tree_view_get_model ( tree_view );
     if ( !gtk_tree_model_get_iter ( model, &iter, tree_path_to_print ) )
         return;
-    
+
     col_origin = GPOINTER_TO_INT ( g_object_get_data ( G_OBJECT ( tree_view ), "origin_data_model" ) );
     if ( col_origin == 0 )
         return;
diff --git a/src/qif.c b/src/qif.c
index 30cc566..b77a660 100644
--- a/src/qif.c
+++ b/src/qif.c
@@ -215,7 +215,7 @@ gboolean recuperation_donnees_qif ( GtkWidget *assistant, struct imported_file *
 
                     if ( account_type == 6 )
                     {
-                        /* on considère le imported_account d'investissement comme un imported_account 
+                        /* on considère le imported_account d'investissement comme un imported_account
                          * bancaire mais met un warning car pas implémenté, aucune idée si ça passe ou pas... */
                         gchar *msg;
 
@@ -681,7 +681,7 @@ gboolean gsb_qif_export_archive ( const gchar *filename,
 	}
 	tmp_list = tmp_list -> next;
     }
-    
+
     /* if there is more than 1 file created, we show what files we did */
     if (g_slist_length (name_list) > 1)
     {
@@ -1139,7 +1139,7 @@ gint gsb_qif_recupere_operations_from_account ( FILE *qif_file,
 
             /* récupération du chèque */
             if ( string[0] == 'N' )
-                imported_transaction -> cheque = my_strdup ( string + 1 ); 
+                imported_transaction -> cheque = my_strdup ( string + 1 );
 
             /* récupération du tiers */
             if ( string[0] == 'P' )
@@ -1155,7 +1155,7 @@ gint gsb_qif_recupere_operations_from_account ( FILE *qif_file,
                 /* begin a splitted transaction, if we were on a transaction, we save it */
                 if ( returned_value != EOF && imported_transaction && imported_transaction -> date_tmp )
                 {
-                    
+
                     if ( imported_splitted == NULL )
                     imported_account -> operations_importees = g_slist_append (
                                         imported_account -> operations_importees, imported_transaction );
@@ -1235,7 +1235,7 @@ gint gsb_qif_recupere_operations_from_account ( FILE *qif_file,
         else
         {
             if ( imported_transaction -> date_tmp == NULL
-             || 
+             ||
              strlen ( g_strstrip ( imported_transaction -> date_tmp ) ) == 0 )
             {
                 /* l'opération n'a pas de date, c'est pas normal. pour éviter de la perdre, on va lui */
@@ -1249,11 +1249,11 @@ gint gsb_qif_recupere_operations_from_account ( FILE *qif_file,
                 else
                     imported_transaction -> tiers = my_strdup ( _(" [Transaction imported without date]") );
             }
-            
+
             imported_account -> operations_importees = g_slist_append (
                                         imported_account -> operations_importees, imported_transaction );
         }
-    } 
+    }
 
     if ( string[0] == '!' )
     {
@@ -1332,14 +1332,14 @@ gint gsb_qif_recupere_categories ( FILE *qif_file, const gchar *coding_system )
                 if (tab_str[1])
                 {
                     tab_str[1] = g_strstrip ( tab_str[1] );
-            
+
                     gsb_data_category_get_sub_category_number_by_name (
                                 category_number,
                                 tab_str[1],
                                 TRUE );
                 }
             }
-            
+
             g_strfreev(tab_str);
         }
     }
diff --git a/src/structures.h b/src/structures.h
index 451532f..33c133a 100644
--- a/src/structures.h
+++ b/src/structures.h
@@ -51,7 +51,7 @@ struct gsb_etat_t
     gint utilise_logo;
     gboolean is_pixmaps_dir;        /* TRUE if path_icon == gsb_dirs_get_pixmaps_dir ( ) */
     gchar *name_logo;
-    
+
     gboolean automatic_separator;   /* TRUE if do automatic separator */
 
     /* Various display message stuff    */
@@ -83,7 +83,7 @@ struct gsb_etat_t
     gint combofix_enter_select_completion;  /* TRUE if enter close the popup and keep what is in the entry (else, select the current item in the list) */
     gint combofix_force_payee;              /* TRUE if no new item can be appended in the payee combofix */
     gint combofix_force_category;           /* TRUE if no new item can be appended in the category and budget combofix */
-    
+
     /* width panned */
     gint largeur_colonne_echeancier;
     gint largeur_colonne_comptes_comptes;
@@ -134,7 +134,7 @@ struct gsb_conf_t
 
     /* general part */
     gint r_modifiable;                              /* Changes in reconciled transactions */
-    gint entree;                                    /* si etat.entree = 1, la touche entrée finit l'opération */ 
+    gint entree;                                    /* si etat.entree = 1, la touche entrée finit l'opération */
     gint alerte_mini;
     gint utilise_fonte_listes;                      /* TRUE to use a custom font for the lists */
     gchar *font_string;                             /* contain the description of the font, or NULL */
@@ -277,7 +277,7 @@ enum bet_array_origin_data
 
 
 /* définition du type de mise à jour en fonction des données du module budgétaire */
-enum bet_type_maj 
+enum bet_type_maj
 {
     BET_MAJ_FALSE = 0,
     BET_MAJ_ESTIMATE,
diff --git a/src/tests/gsb_data_account_cunit.c b/src/tests/gsb_data_account_cunit.c
index c93e7b5..009f188 100644
--- a/src/tests/gsb_data_account_cunit.c
+++ b/src/tests/gsb_data_account_cunit.c
@@ -79,7 +79,7 @@ void gsb_data_account_cunit__gsb_data_account_calculate_current_and_marked_balan
     CU_ASSERT_EQUAL(1, cur_number);
     CU_ASSERT_EQUAL(TRUE, gsb_data_currency_set_floating_point(cur_number, 2));
     CU_ASSERT_EQUAL(TRUE, gsb_data_account_set_currency(account_number, cur_number));
-    
+
     gint tr_number_1 = gsb_data_transaction_new_transaction(account_number);
     CU_ASSERT_EQUAL(1, tr_number_1);
     gsb_real amount = { 2100000021, 2 };
@@ -88,7 +88,7 @@ void gsb_data_account_cunit__gsb_data_account_calculate_current_and_marked_balan
     gsb_real balance = gsb_data_account_calculate_current_and_marked_balances(account_number);
     CU_ASSERT_EQUAL(2100000021, balance.mantissa);
     CU_ASSERT_EQUAL(2, balance.exponent);
-    
+
     gint tr_number_2 = gsb_data_transaction_new_transaction(account_number);
     CU_ASSERT_EQUAL(2, tr_number_2);
     amount.mantissa = 100000000;
@@ -102,7 +102,7 @@ void gsb_data_account_cunit__gsb_data_account_calculate_current_and_marked_balan
     */
     CU_ASSERT_EQUAL(G_GINT64_CONSTANT(2200000021), balance.mantissa);
     CU_ASSERT_EQUAL(2, balance.exponent);
-    
+
     gint tr_number_3 = gsb_data_transaction_new_transaction(account_number);
     CU_ASSERT_EQUAL(3, tr_number_3);
     amount.mantissa = -100000000;
diff --git a/src/tests/gsb_real_cunit.c b/src/tests/gsb_real_cunit.c
index 767c5a8..9effe89 100644
--- a/src/tests/gsb_real_cunit.c
+++ b/src/tests/gsb_real_cunit.c
@@ -314,7 +314,7 @@ void gsb_real_cunit__gsb_real_raw_format_string ( void )
     conv.mon_thousands_sep = "< >";
     conv.mon_decimal_point = "<.>";
     gchar *currency_symbol = "<€>";
-        
+
     n.mantissa = 1;
     n.exponent = 2;
     s = gsb_real_raw_format_string(n, &conv, currency_symbol);
@@ -449,7 +449,7 @@ void gsb_real_cunit__gsb_real_add ( void )
     gsb_real r = gsb_real_add(a, b);
     CU_ASSERT_EQUAL(41415, r.mantissa);
     CU_ASSERT_EQUAL(4, r.exponent);
-    
+
     a.mantissa = 0x7FFFFFFE;
     a.exponent = 0;
     b.mantissa = 1;
@@ -457,7 +457,7 @@ void gsb_real_cunit__gsb_real_add ( void )
     r = gsb_real_add(a, b);
     CU_ASSERT_EQUAL(0x7FFFFFFF, r.mantissa);
     CU_ASSERT_EQUAL(0, r.exponent);
-    
+
     a.mantissa = 0x7FFFFFFF;
     a.exponent = 0;
     b.mantissa = 2;
@@ -465,7 +465,7 @@ void gsb_real_cunit__gsb_real_add ( void )
     r = gsb_real_add(a, b);
     CU_ASSERT_EQUAL(0x80000001, r.mantissa);
     CU_ASSERT_EQUAL(0, r.exponent);
-    
+
     a.mantissa = 0x80000001;
     a.exponent = 0;
     b.mantissa = -2;
@@ -498,7 +498,7 @@ void gsb_real_cunit__gsb_real_sub()
     gsb_real r = gsb_real_sub ( a, b );
     CU_ASSERT_EQUAL ( -41415, r.mantissa );
     CU_ASSERT_EQUAL ( 4, r.exponent );
-    
+
     a.mantissa = 0x7FFFFFFE;
     a.exponent = 0;
     b.mantissa = -1;
@@ -506,7 +506,7 @@ void gsb_real_cunit__gsb_real_sub()
     r = gsb_real_sub ( a, b );
     CU_ASSERT_EQUAL ( 0x7FFFFFFF, r.mantissa );
     CU_ASSERT_EQUAL ( 0, r.exponent );
-    
+
     a.mantissa = 0x7FFFFFFF;
     a.exponent = 0;
     b.mantissa = -2;
@@ -514,7 +514,7 @@ void gsb_real_cunit__gsb_real_sub()
     r = gsb_real_sub ( a, b );
     CU_ASSERT_EQUAL ( 0x80000001, r.mantissa );
     CU_ASSERT_EQUAL ( 0, r.exponent );
-    
+
     a.mantissa = 0x80000001;
     a.exponent = 0;
     b.mantissa = 2;
@@ -532,7 +532,7 @@ void gsb_real_cunit__gsb_real_mul()
     gsb_real r = gsb_real_mul ( a, b );
     CU_ASSERT_EQUAL ( 37698, r.mantissa );
     CU_ASSERT_EQUAL ( 4, r.exponent );
-    
+
     a.mantissa = 0x7FFFFFFF;
     a.exponent = 0;
     b.mantissa = 2;
@@ -540,7 +540,7 @@ void gsb_real_cunit__gsb_real_mul()
     r = gsb_real_mul ( a, b );
     CU_ASSERT_EQUAL ( G_GINT64_CONSTANT(4294967294), r.mantissa );
     CU_ASSERT_EQUAL ( 0, r.exponent );
-    
+
     a.mantissa = 0x7FFFFFFF;
     a.exponent = 0;
     b.mantissa = 9;
@@ -548,7 +548,7 @@ void gsb_real_cunit__gsb_real_mul()
     r = gsb_real_mul ( a, b );
     CU_ASSERT_EQUAL ( 19327352823, r.mantissa );
     CU_ASSERT_EQUAL ( 1, r.exponent );
-    
+
     a.mantissa = G_MININT64;
     a.exponent = 0;
     b.mantissa = 2;
diff --git a/src/tests/utils_dates_cunit.c b/src/tests/utils_dates_cunit.c
index 6077056..b9312ce 100644
--- a/src/tests/utils_dates_cunit.c
+++ b/src/tests/utils_dates_cunit.c
@@ -316,7 +316,7 @@ CU_pSuite utils_dates_cunit_create_suite ( void )
     if ( NULL == pSuite )
         return NULL;
 
-    if ( NULL == CU_add_test ( pSuite, "of gsb_parse_date_string()", 
+    if ( NULL == CU_add_test ( pSuite, "of gsb_parse_date_string()",
                                utils_dates_cunit__gsb_parse_date_string ) )
         return NULL;
 
diff --git a/src/tiers_onglet.c b/src/tiers_onglet.c
index 798aa22..02e339d 100644
--- a/src/tiers_onglet.c
+++ b/src/tiers_onglet.c
@@ -385,7 +385,7 @@ void payees_update_toolbar_list ( void )
     GList * list = NULL;
 
     list = gtk_container_get_children ( GTK_CONTAINER ( payee_toolbar ) );
-    
+
     if ( list )
     {
 	gtk_container_remove ( GTK_CONTAINER ( payee_toolbar ),
@@ -971,7 +971,7 @@ void payees_manage_payees ( void )
             }
             else
             {
-                tmpstr = g_strdup_printf ( _("%d payees were replaced with a new  _and_marked_balan  /  ©ration */   x */  e current item in the list) */  ;  actions can be simply deleted along with their division."),             €ÆG_ÿ         PÅG_ÿ  kÀeƒ¨+  6                    è     è!     è!      ÑG_ÿ  ÑG_ÿ  xt‚„¨+          €ÇG_ÿ          ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ  `¢eƒ¨+  _ÑG_ÿ         Ào愨+  uªeƒ¨+   `愨+  Ød愨+  ¨i愨+  €Êfƒ¨+          xt‚„¨+          €ÇG_ÿ          PÆG_ÿ  kÀeƒ¨+  à!     à!      ÑG_ÿ  ÑG_ÿ  H>b„¨+          `ÈG_ÿ         ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ  `¢eƒ¨+  _ÑG_ÿ  PÑG_ÿ  HÑG_ÿ  8ˆƒ¨+  Œp˜        ÑG_ÿ  uªeƒ¨+  €Êfƒ¨+                  `ÈG_ÿ         0ÇG_ÿ  kÀeƒ¨+          G       H   I       J   K           M   N   O       P    ÑG_ÿ  ÑG_ÿ  Hõ8„¨+           ÊG_ÿ         ’¢eƒ¨+          †Àeƒ¨+   ÑG_ÿ         0o愨+  uªeƒ¨+   €‚„¨+   )„¨+   `愨+  Ød愨+  ¨i愨+  €Êfƒ¨+          Hõ8„¨+           ÊG_ÿ        
  @ÈG_ÿ  kÀeƒ¨+  8õ8„¨+           ÊG_ÿ         pÈG_ÿ  kÀeƒ¨+  (õ8„¨+           ÊG_ÿ          ÈG_ÿ  kÀeƒ¨+  õ8„¨+           ÊG_ÿ         ÐÈG_ÿ  kÀeƒ¨+  	       ¨n愨+  uªeƒ¨+         ¨i愨+  PÃG_ÿ          Šx„¨+  e©eƒ¨+         Ød愨+  pÉG_ÿ          yx„¨+  e©eƒ¨+          `愨+   ÉG_ÿ          Zx„¨+  e©eƒ¨+  Ø$„¨+   €‚„¨+   )„¨+   `愨+  ؄‚„¨+  Ød愨+  ¨i愨+  €Êfƒ¨+          8ˆƒ¨+                        íშ+  ÑG_ÿ  p»„¨+          PËG_ÿ           ÊG_ÿ  kÀeƒ¨+      5   6   7   8   :   <   =   >       ?       @   B   D        ÑG_ÿ  ÑG_ÿ  àíރ¨+                 ÑG_ÿ  uªeƒ¨+         ņƒ¨+  ÐÉG_ÿ          íშ+  e©eƒ¨+  ņƒ¨+          Õ_ at fÆS         Qöl±íÁ®ƒ¨+  ÑG_ÿ  àíރ¨+          `ÌG_ÿ         0ËG_ÿ  kÀeƒ¨+  u]ÞÓ	4Q ÷U^Qʉ§ ¶uª¹ñìò*ēv ÑG_ÿ  ÑG_ÿ  H>«ƒ¨+          „烨+          ÐÒG_ÿ  ¦I…¨+  ¦I…¨+         Ö䃨+  _ÑG_ÿ  ÒG_ÿ  HÑG_ÿ  °ÍG_ÿ  ‚„¨+  uªeƒ¨+  ؄‚„¨+  ÔG_ÿ  ¢I…¨+  àÒG_ÿ          pÎG_ÿ             
     ÿÿÿÿÿÿÿÿ¢I…¨+          ˜ÑG_ÿ                 one."), 
+                tmpstr = g_strdup_printf ( _("%d payees were replaced with a new one."),
                             nb_removed);
             }
             dialogue (tmpstr);
@@ -1666,7 +1666,7 @@ void gsb_assistant_payees_modifie_operations ( GSList *sup_payees,
                     question = FALSE;
                 g_free ( tmpstr );
             }
-            else 
+            else
                 question = TRUE;
             if ( question && my_strcmp ( (gchar *) gsb_data_payee_get_name (
                 payee_number, TRUE ),
diff --git a/src/tip.c b/src/tip.c
index afe5671..9349eb6 100644
--- a/src/tip.c
+++ b/src/tip.c
@@ -103,7 +103,7 @@ static const gchar* tips[] =
     "version for all users.")
 };
 
-/** 
+/**
  * Display a tip forcefully, even if show_tip option has been disabled.
  */
 void force_display_tip (  )
@@ -137,7 +137,7 @@ void display_tip ( gboolean force )
                         g_dgettext(NULL, tips[conf.last_tip]) ) );
     gtk_window_set_modal ( GTK_WINDOW ( dialog ), FALSE );
 
-    checkbox = gsb_automem_checkbutton_new ( _("Display tips at next start"), 
+    checkbox = gsb_automem_checkbutton_new ( _("Display tips at next start"),
                         &(conf.show_tip), NULL, NULL );
     gtk_box_pack_start ( GTK_BOX ( GTK_DIALOG(dialog) -> vbox ), checkbox, FALSE, FALSE, 6 );
     gtk_widget_show ( checkbox );
@@ -145,7 +145,7 @@ void display_tip ( gboolean force )
     btn_back =    gtk_dialog_add_button (GTK_DIALOG(dialog), GTK_STOCK_GO_BACK, 1);
     btn_forward = gtk_dialog_add_button (GTK_DIALOG(dialog), GTK_STOCK_GO_FORWARD, 2);
     btn_close =   gtk_dialog_add_button (GTK_DIALOG(dialog), GTK_STOCK_CLOSE, 3);
- 
+
     /* gtk_widget_set_size_request ( dialog, 450, -1 ); */
     /* We iterate as user can select several tips. */
     while ( TRUE )
@@ -160,7 +160,7 @@ void display_tip ( gboolean force )
         case 1:
         if ( conf.last_tip > 0 )
             conf.last_tip--;
-        gtk_widget_set_sensitive (btn_forward, TRUE); 
+        gtk_widget_set_sensitive (btn_forward, TRUE);
         tmpstr = g_strconcat ( make_pango_attribut (
                         "size=\"larger\" weight=\"bold\"", _("Did you know that...") ),
                         "\n\n",
diff --git a/src/traitement_variables.c b/src/traitement_variables.c
index d4add7f..2e6fbb1 100644
--- a/src/traitement_variables.c
+++ b/src/traitement_variables.c
@@ -97,7 +97,7 @@ gchar *titre_fichier = NULL;
 gchar *adresse_commune = NULL;
 gchar *adresse_secondaire = NULL;
 
- 
+
 /*START_EXTERN*/
 extern gint affichage_echeances;
 extern gint affichage_echeances_perso_nb_libre;
@@ -143,7 +143,7 @@ void init_variables ( void )
     gint bet_array_col_width_init[BET_ARRAY_COLUMNS] = {15, 40, 15, 15, 15 };
     gint transaction_col_align_init[CUSTOM_MODEL_VISIBLE_COLUMNS] = { 1, 1, 0, 1, 2, 2, 2 };
     gint i;
-    
+
 /* xxx on devrait séparer ça en 2 : les variables liées au fichier de compte, qui doivent être remises  à 0,
  * et les variables liées à grisbi (ex sauvegarde auto...) qui doivent rester */
     devel_debug (NULL);
@@ -203,7 +203,7 @@ void init_variables ( void )
     mise_a_jour_fin_comptes_passifs = 0;
 
     orphan_child_transactions = NULL;
-    
+
     /* the main notebook is set to NULL,
      * important because it's the checked variable in a new file
      * to know if the widgets are created or not */
@@ -262,7 +262,7 @@ void init_variables ( void )
     etat.combofix_force_payee = FALSE;
     etat.combofix_force_category = FALSE;
 
-    /* mis à NULL prévient un plantage aléatoire dans 
+    /* mis à NULL prévient un plantage aléatoire dans
      * gsb_currency_update_combobox_currency_list */
     detail_devise_compte = NULL;
 
@@ -282,7 +282,7 @@ void init_variables ( void )
         g_free ( etat.scheduler_column_width );
         etat.scheduler_column_width = NULL;
     }
-    
+
     gsb_gui_navigation_init_tree_view ( );
 
     /* free the form */
diff --git a/src/transaction_list.c b/src/transaction_list.c
index b4b9d1a..5ff066d 100644
--- a/src/transaction_list.c
+++ b/src/transaction_list.c
@@ -26,7 +26,7 @@
  * \file transaction_list.c
  * this contains the general functions to work with the CustomList
  * as append/remove some transactions, filter, colorize the list...
- * 
+ *
  * Grisbi shouldn't work directly on the CustomList except by those files
  */
 
@@ -412,7 +412,7 @@ gboolean transaction_list_remove_transaction ( gint transaction_number )
     if (record -> mother_row)
     {
 	/* we are deleting a child, update the mother
-	 * the child can never be the last one of the mother because there is 
+	 * the child can never be the last one of the mother because there is
      * always a white line at the end */
 	gint new_number_of_children;
 	CustomRecord **new_children_rows;
@@ -548,7 +548,7 @@ gboolean transaction_list_remove_archive ( gint archive_number )
         for ( j=0 ; j<CUSTOM_MODEL_VISIBLE_COLUMNS ; j++ )
             if (record -> visible_col[j])
                 g_free (record -> visible_col[j]);
-        
+
         /* remove the row. I decrement "i" because the next line of model is shifted
          * and has  "i" for index. Otherwise we do not test. */
         custom_list -> num_rows--;
@@ -712,7 +712,7 @@ void transaction_list_filter ( gint account_number )
 	    case IS_TRANSACTION:
 		/* the row is shown, if it's the last row chowed of the transaction
 		 * we have to move the children to that row if they exist */
-		if ( record -> number_of_children && 
+		if ( record -> number_of_children &&
 		     record -> line_in_transaction == ( transaction_list_get_last_line (
 											gsb_data_account_get_nb_rows (account_number) ) ) )
 		{
@@ -737,7 +737,7 @@ void transaction_list_filter ( gint account_number )
 		if (previous_shown && (record -> filtered_pos == last_pos_filtered_list))
 		{
 		    /* the row itself didn't change but perhaps it got or losed some children
-		     * in that case, the children were moved before, so we just have to 
+		     * in that case, the children were moved before, so we just have to
 		     * tell to the tree view that children changed */
 		    gtk_tree_model_row_has_child_toggled (GTK_TREE_MODEL (custom_list),
 							  path, &iter);
@@ -807,7 +807,7 @@ void transaction_list_filter ( gint account_number )
  *
  * to update all the tree view, use gsb_transactions_list_update_tree_view instead
  *
- * \param 
+ * \param
  *
  * \return
  * */
@@ -911,7 +911,7 @@ void transaction_list_set_balances ( void )
 
     if ( account_number == -1
 	 ||
-	 line_balance == -1 
+	 line_balance == -1
 	 ||
 	 !display_mode_check_line ( line_balance, nb_rows ) )
 	return;
@@ -1249,7 +1249,7 @@ gboolean transaction_list_update_element ( gint element_number )
  * update the column of all the record with the value
  * this is used to update some non seen fixed columns, as font for example
  * to update some visible columns, use instead transaction_list_update_element
- * 
+ *
  * the columns are defined in custom_list.h
  *
  * \param column    the column of the value we want to update
@@ -1515,7 +1515,7 @@ gboolean transaction_list_show_toggle_mark ( gboolean show )
  * Sets the value of one or more cells in the row referenced by iter.
  * The variable argument list should contain integer column numbers, each column number followed by the value to be set.
  * The list is terminated by a -1
- * 
+ *
  * \param iter        iter of the row
 
  * \param column    number of column
@@ -1780,7 +1780,7 @@ static void transaction_list_append_child ( gint transaction_number )
      * we go on the first mother */
     mother_record = mother_record -> transaction_records[0];
 
-    /* set by default the mother row of the child. avoids a crash when creating 
+    /* set by default the mother row of the child. avoids a crash when creating
      * an archive directly on the home page */
     newrecord -> mother_row = mother_record;
 
@@ -2065,7 +2065,7 @@ gint transaction_list_get_last_line ( gint nb_rows )
 /**
  * colorise avec un fond gris la ligne qui correspond à la date du jour
  *
- * \param 
+ * \param
  *
  * \return
  * */
@@ -2122,7 +2122,7 @@ void transaction_list_set_color_jour ( gint account_number )
             }
         }
     }
-    g_date_free ( date_jour ); 
+    g_date_free ( date_jour );
 }
 
 
@@ -2146,7 +2146,7 @@ gboolean transaction_list_get_variance ( gint transaction_number )
     g_return_val_if_fail ( custom_list != NULL, FALSE );
 
     /* if the selection didn't change, do nothing */
-    if ( gsb_data_transaction_get_transaction_number (custom_list -> selected_row) == 
+    if ( gsb_data_transaction_get_transaction_number (custom_list -> selected_row) ==
         transaction_number )
         white_record = custom_list -> selected_row;
 
@@ -2230,7 +2230,7 @@ gboolean transaction_list_remove_archive_line ( gint archive_number,
         for ( j=0 ; j<CUSTOM_MODEL_VISIBLE_COLUMNS ; j++ )
             if (record -> visible_col[j])
                 g_free (record -> visible_col[j]);
-        
+
         /* remove the row. I decrement "i" because the next line of model is shifted
          * and has  "i" for index. Otherwise we do not test. */
         custom_list -> num_rows--;
diff --git a/src/transaction_list_select.c b/src/transaction_list_select.c
index af83f85..12f5c94 100644
--- a/src/transaction_list_select.c
+++ b/src/transaction_list_select.c
@@ -73,7 +73,7 @@ gboolean transaction_list_select ( gint transaction_number )
     g_return_val_if_fail ( custom_list != NULL, FALSE );
 
     /* if the selection didn't change, do nothing */
-    if ( gsb_data_transaction_get_transaction_number (custom_list -> selected_row) == 
+    if ( gsb_data_transaction_get_transaction_number (custom_list -> selected_row) ==
         transaction_number )
 	return FALSE;
 
diff --git a/src/transaction_list_sort.c b/src/transaction_list_sort.c
index fcac605..bd18349 100644
--- a/src/transaction_list_sort.c
+++ b/src/transaction_list_sort.c
@@ -69,7 +69,7 @@ extern GtkTreeViewColumn *transactions_tree_view_columns[CUSTOM_MODEL_VISIBLE_CO
  *
  * to update all the tree view, use gsb_transactions_list_update_tree_view instead
  *
- * \param 
+ * \param
  *
  * \return
  * */
diff --git a/src/transaction_model.c b/src/transaction_model.c
index 606db49..abbb17d 100644
--- a/src/transaction_model.c
+++ b/src/transaction_model.c
@@ -128,7 +128,7 @@ CustomList *transaction_model_get_model (void)
  *
  * \param new_custom_list	a CustomList to save
  *
- * \return 
+ * \return
  * */
 void transaction_model_set_model ( CustomList *new_custom_list )
 {
diff --git a/src/utils.c b/src/utils.c
index 96c6719..9cef0fb 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -184,7 +184,7 @@ gboolean lance_navigateur_web ( const gchar *url )
     {
         use_default_browser = !strcmp ( conf.browser_command,ETAT_WWW_BROWSER );
     }
-    
+
 #else /* _WIN32 */
     if ( !( conf.browser_command && strlen ( conf.browser_command ) ) )
     {
@@ -222,7 +222,7 @@ gboolean lance_navigateur_web ( const gchar *url )
             chaine = tmp_str;
         }
         else
-            chaine = g_strconcat ( conf.browser_command, " ", url, "&", NULL ); 
+            chaine = g_strconcat ( conf.browser_command, " ", url, "&", NULL );
 
         if ( system ( chaine ) == -1 )
         {
@@ -309,12 +309,12 @@ GtkWidget *new_paddingbox_with_title (GtkWidget *parent, gboolean fill, const gc
 /**
  * Function that makes a nice title with an optional icon.  It is
  * mainly used to automate preference tabs with titles.
- * 
+ *
  * \param title Title that will be displayed in window
  * \param filename (relative or absolute) to an image in a file format
  * recognized by gtk_image_new_from_file().  Use NULL if you don't
  * want an image to be displayed
- * 
+ *
  * \returns A pointer to a vbox widget that will contain all created
  * widgets and user defined widgets
  */
@@ -372,11 +372,11 @@ GtkWidget *new_vbox_with_title_and_icon ( gchar *title,
 /**
  * Function that makes a nice title with an optional icon.  It is
  * mainly used to automate preference tabs with titles.
- * 
+ *
  * \param title Title that will be displayed in window
  * \param image.  Use NULL if you don't want an image to be displayed
- * 
- * 
+ *
+ *
  * \returns A pointer to a vbox widget that will contain all created
  * widgets and user defined widgets
  */
@@ -478,7 +478,7 @@ gboolean radio_set_active_linked_widgets ( GtkWidget *widget )
 
     while ( links )
     {
-	gtk_toggle_button_set_active ( GTK_TOGGLE_BUTTON(links -> data), 
+	gtk_toggle_button_set_active ( GTK_TOGGLE_BUTTON(links -> data),
 				       gtk_toggle_button_get_active ( GTK_TOGGLE_BUTTON ( widget ) ) );
 	links = links -> next;
     }
diff --git a/src/utils_buttons.c b/src/utils_buttons.c
index cc51b59..fabd848 100644
--- a/src/utils_buttons.c
+++ b/src/utils_buttons.c
@@ -58,7 +58,7 @@ GtkWidget * new_stock_image_label ( GsbButtonStyle style, const gchar * stock_id
     }
     else if (style == GSB_BUTTON_BOTH_HORIZ )
     {
-        image = gtk_image_new_from_stock ( stock_id, 
+        image = gtk_image_new_from_stock ( stock_id,
                         GTK_ICON_SIZE_SMALL_TOOLBAR );
         gtk_box_pack_start ( GTK_BOX(hbox), image, TRUE, TRUE, 0 );
     }
diff --git a/src/utils_dates.c b/src/utils_dates.c
index 746092a..00ab66d 100644
--- a/src/utils_dates.c
+++ b/src/utils_dates.c
@@ -54,8 +54,8 @@ static int gsb_date_get_month_from_string ( const gchar * );
 
 
 /* date regex:
- * 1 or 2 digits + 
- * optional ( optional separator + 2 digits + 
+ * 1 or 2 digits +
+ * optional ( optional separator + 2 digits +
  *            optional ( optional separator + 2 or 4 digits ) )
  */
 #define DATE_STRING_REGEX       "^(\\d{1,2}|Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)(?:[-/.:]?(\\d{1,2}|Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)(?:[-/.:]?(\\d{2}(?:\\d{2})?))?)?$"
@@ -65,7 +65,7 @@ static int gsb_date_get_month_from_string ( const gchar * );
 
 /* months */
 static const gchar *months[] = {
-    "Jan", "Feb", "Mar", "Apr", 
+    "Jan", "Feb", "Mar", "Apr",
     "May", "Jun", "Jul", "Aug",
     "Sep", "Oct", "Nov", "Dec"
 };
@@ -112,7 +112,7 @@ gchar *gsb_date_today ( void )
  * that value is dumped in memory
  *
  * \param a string which contains the last date to remain
- * 
+ *
  * */
 void gsb_date_set_last_date ( const gchar *date )
 {
@@ -178,7 +178,7 @@ GDate *gsb_date_tomorrow ( void )
  * \param date
  * \param free the init date
  *
- * \return a newly allocated GDate which represents the date of the day. 
+ * \return a newly allocated GDate which represents the date of the day.
  * Use g_date_free to free memory when no more used.
  * */
 GDate *gsb_date_add_one_month ( GDate *date, gboolean free )
@@ -198,9 +198,9 @@ GDate *gsb_date_add_one_month ( GDate *date, gboolean free )
 
 /**
  * copy the date given in param
- * 
+ *
  * \param date a GDate to copy
- * 
+ *
  * \return a copy or NULL if no date. Use g_date_free to free memory when no more used.
  * */
 GDate *gsb_date_copy ( const GDate *date )
@@ -221,7 +221,7 @@ GDate *gsb_date_copy ( const GDate *date )
 
 
 
-    
+
 /**
  * check the entry to find a date
  * if the entry is empty, set gsb_date_today according to set_today
@@ -240,7 +240,7 @@ gboolean gsb_date_check_and_complete_entry ( GtkWidget *entry,
 
     if (!entry)
     return FALSE;
-    
+
     /* if the entry is grey (empty), go away */
     if (gsb_form_widget_check_empty (entry))
     return (TRUE);
@@ -289,7 +289,7 @@ gboolean gsb_date_check_entry ( GtkWidget *entry )
 
     if ( !entry )
         return FALSE;
-    
+
     string = gtk_entry_get_text ( GTK_ENTRY ( entry ) );
     if ( !string || strlen ( string ) == 0 )
         return FALSE;
@@ -342,9 +342,9 @@ GDate *gsb_parse_date_string ( const gchar *date_string )
     {
         /* only for the first call */
         devel_debug ( DATE_STRING_KEY );
-        date_regex = gsb_regex_insert ( DATE_STRING_KEY, 
-                                        DATE_STRING_REGEX, 
-                                        G_REGEX_CASELESS, 
+        date_regex = gsb_regex_insert ( DATE_STRING_KEY,
+                                        DATE_STRING_REGEX,
+                                        G_REGEX_CASELESS,
                                         0 );
         if ( ! date_regex )
         {
@@ -377,8 +377,8 @@ GDate *gsb_parse_date_string ( const gchar *date_string )
         switch ( date_tokens[i][0] )
         {
             case 'm':
-                /* If month is NOT an integer, nvalue = 0, and we have 
-                 * to convert month string into an integer. If string is 
+                /* If month is NOT an integer, nvalue = 0, and we have
+                 * to convert month string into an integer. If string is
                  * not valid, the function returns 0 which is not a valid
                  * month -> goto invalid -> right behaviour!!! */
                 if ( isalpha ( tab_date[j][0] ) != 0 )
@@ -441,7 +441,7 @@ invalid:
  *
  * \param
  *
- * \return return a newly allocated string or NULL if the format of the date_string 
+ * \return return a newly allocated string or NULL if the format of the date_string
  * parameter is invalid.
  */
 GDate *gsb_parse_date_string_safe ( const gchar *date_string )
@@ -543,9 +543,9 @@ gchar *gsb_format_gdate_safe ( const GDate *date )
 
 
 /**
- * retourne la date bufferisée si les deux chaines correspondent 
+ * retourne la date bufferisée si les deux chaines correspondent
  * sinon renvoie une date issue de la chaine passée en paramètre
- * 
+ *
  * */
 GDate *gsb_date_get_last_entry_date ( const gchar *string )
 {
@@ -558,7 +558,7 @@ GDate *gsb_date_get_last_entry_date ( const gchar *string )
 
 /**
  * retourne la date de compilation conforme à la locale
- * 
+ *
  * */
 gchar *gsb_date_get_compiled_time ( void )
 {
@@ -590,7 +590,7 @@ gchar *gsb_date_get_compiled_time ( void )
 
 /**
  * returns a date with the last day of the month.
- * 
+ *
  * */
 GDate *gsb_date_get_last_day_of_month ( const GDate *date )
 {
@@ -609,7 +609,7 @@ GDate *gsb_date_get_last_day_of_month ( const GDate *date )
  * returns the format of date.
  * The returned string should be freed with g_free() when no longer needed.
  *
- * \return %d/%m/%Y or %m/%d/%Y 
+ * \return %d/%m/%Y or %m/%d/%Y
  * */
 gchar *gsb_date_get_format_date ( void )
 {
@@ -619,7 +619,7 @@ gchar *gsb_date_get_format_date ( void )
 
 /**
  * Set the format of date. If given format is not valid, the format
- * value is set to NULL. Since the format is supposed to change, 
+ * value is set to NULL. Since the format is supposed to change,
  * the last date entry is erased.
  *
  * \param format_date the new format to apply
@@ -646,12 +646,12 @@ void gsb_date_set_format_date ( const gchar *format_date )
 
 
 /**
- * Returns the integer of the month, as in GDateMonth (ie 1 for January, 
+ * Returns the integer of the month, as in GDateMonth (ie 1 for January,
  * ..., 12 for December). This function is case-insensitive.
  *
  * \param month A 3-length string representing the month
  *
- * \return The integet from 1 to 12, or 0 otherwise 
+ * \return The integet from 1 to 12, or 0 otherwise
  */
 int gsb_date_get_month_from_string ( const gchar *month )
 {
diff --git a/src/utils_editables.c b/src/utils_editables.c
index ec8c03b..7d69cdf 100644
--- a/src/utils_editables.c
+++ b/src/utils_editables.c
@@ -73,7 +73,7 @@ GtkWidget *gsb_editable_text_view_new ( const gchar *value )
  *
  * \param the text_view
  *
- * \return a gchar which is the content of the text view 
+ * \return a gchar which is the content of the text view
  * */
 gchar *gsb_editable_text_view_get_content ( GtkWidget *text_view )
 {
@@ -84,7 +84,7 @@ gchar *gsb_editable_text_view_get_content ( GtkWidget *text_view )
 			  NULL);
     g_return_val_if_fail (GTK_IS_TEXT_VIEW (text_view),
 			  NULL);
-    
+
     buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (text_view));
     gtk_text_buffer_get_iter_at_offset ( buffer, &start, 0 );
     gtk_text_buffer_get_iter_at_offset ( buffer, &end, -1 );
diff --git a/src/utils_file_selection.c b/src/utils_file_selection.c
index a03d074..66b88e4 100644
--- a/src/utils_file_selection.c
+++ b/src/utils_file_selection.c
@@ -70,7 +70,7 @@ GtkWidget* file_selection_new ( const gchar *title, const gint properties )
 { /* {{{ */
     GtkWidget *filesel;
 
-    filesel = gtk_file_chooser_dialog_new ( title, NULL, 
+    filesel = gtk_file_chooser_dialog_new ( title, NULL,
 					    ( properties & FILE_SELECTION_IS_SAVE_DIALOG ?
 					      GTK_FILE_CHOOSER_ACTION_SAVE :
 					      GTK_FILE_CHOOSER_ACTION_OPEN ),
@@ -104,20 +104,20 @@ gchar* file_selection_get_filename(GtkFileChooser* filesel)
 
 
 
-/** 
+/**
  * file_selection_get_last_directory
  * @filesel
  * @ended    should the return string be terminated by a directory separator character
  *
  * Get the last directory from the history pulldown menu, add or remove (depending
- * of the ended argument) a last directory separator character at the end of the 
+ * of the ended argument) a last directory separator character at the end of the
  * UTF8 returned string.
- * 
+ *
  * \return newly allocated utf-8 string which should be freed after no more needed.
  * There is no need to use my_strdup before using the returned string.
  *
  * */
-gchar* file_selection_get_last_directory(GtkFileChooser* filesel,gboolean ended) 
+gchar* file_selection_get_last_directory(GtkFileChooser* filesel,gboolean ended)
 {/* {{{ */
     gchar * dirstr = gtk_file_chooser_get_current_folder ( filesel );
     gint     dirstr_len  = strlen(dirstr);
@@ -129,7 +129,7 @@ gchar* file_selection_get_last_directory(GtkFileChooser* filesel,gboolean ended)
     /* Chek if the sirectory string is ended by a separator
      (if directory string  is small than the separator string
      it can ot be ended by the separator string) */
-    if ( dirstr_len >= sepstr_len) 
+    if ( dirstr_len >= sepstr_len)
     {
         is_endedstr = (gboolean)(!strncmp( dirstr + dirstr_len - sepstr_len, sepstr, sepstr_len));
     }
@@ -146,7 +146,7 @@ gchar* file_selection_get_last_directory(GtkFileChooser* filesel,gboolean ended)
     {
         dirstr[dirstr_len-sepstr_len-1] = 0;
     }
-    
+
     return g_filename_to_utf8(dirstr,-1,NULL,NULL,NULL);
 
 } /* }}} file_selection_get_last_directory */
diff --git a/src/utils_file_selection.h b/src/utils_file_selection.h
index fc7775a..749c40a 100644
--- a/src/utils_file_selection.h
+++ b/src/utils_file_selection.h
@@ -1,4 +1,4 @@
-/*! 
+/*!
  * \file  utils_file_selections.h
  * \brief  GtkFileSelection enhancement API interface
  */
diff --git a/src/utils_files.c b/src/utils_files.c
index ff77a45..042f90d 100644
--- a/src/utils_files.c
+++ b/src/utils_files.c
@@ -225,7 +225,7 @@ gint get_utf8_line_from_file ( FILE *fichier,
 
     if ( !fichier )
 	return 0;
-	    
+
     /* allocate 30 characters, and increase it 30 by 30 */
     pointeur_char = (gchar*)g_realloc(pointeur_char,30*sizeof(gchar));
 
@@ -268,7 +268,7 @@ gint get_utf8_line_from_file ( FILE *fichier,
 	}
     }
 
-    tmp_string = g_convert ( pointeur_char, -1, "UTF-8", 
+    tmp_string = g_convert ( pointeur_char, -1, "UTF-8",
 			     coding_system, NULL, NULL,
 			     NULL );
     if (!tmp_string)
@@ -296,7 +296,7 @@ gint get_utf8_line_from_file ( FILE *fichier,
 
 /**
  * \brief utf8 version of fopen (see fopen for more detail about mode)
- * 
+ *
  * convert utf8 file path into the locale OS charset before calling fopen
  *
  * \param utf8filename file to open path coded using utf8 charset
@@ -316,7 +316,7 @@ G_MODULE_EXPORT FILE* utf8_fopen (const gchar *utf8filename, gchar *mode )
 
 /**
  * \brief utf8 version of remove (see remove for more detail about mode)
- * 
+ *
  * convert utf8 file path into the locale OS charset before calling remove
  *
  * \param utf8filename file to remove path coded using utf8 charset
@@ -332,7 +332,7 @@ gint utf8_remove ( const gchar *utf8filename )
 #endif
 }
 
-/** 
+/**
  * Sanitize a safe filename.  All chars that are not normally allowed
  * are replaced by underscores.
  *
@@ -344,7 +344,7 @@ gchar *safe_file_name ( gchar *filename )
 }
 
 
-/** 
+/**
  * \brief pallie à un bug du gtk_file_chooser_button_new
  *
  * \param widget parent et titre de la femnêtre
@@ -355,7 +355,7 @@ GtkWidget *utils_files_create_file_chooser ( GtkWidget *parent, gchar *titre )
 {
     GtkWidget *chooser;
     GtkWidget *bouton_cancel, *bouton_OK;
-    
+
     chooser = gtk_file_chooser_dialog_new ( titre,
                         GTK_WINDOW (parent),
                         GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
@@ -381,8 +381,8 @@ GtkWidget *utils_files_create_file_chooser ( GtkWidget *parent, gchar *titre )
 }
 
 
-/** 
- * \brief permet de pallier au bug de l'annulation du 
+/**
+ * \brief permet de pallier au bug de l'annulation du
  * gtk_file_chooser_button_new
  *
  * \param bouton appellant et chooser
@@ -399,11 +399,11 @@ void utils_files_file_chooser_cancel ( GtkWidget *bouton, GtkWidget *chooser)
 }
 
 
-/** 
+/**
  * \brief create the config and the data directories
  * using the mechanisms described in the XDG Base Directory Specification
  *
- * \param 
+ * \param
  *
  * \return TRUE if ok
  */
@@ -424,7 +424,7 @@ gboolean utils_files_create_XDG_dir ( void )
 
 /**
  * Test if converting a string to UTF8 is correct with different character sets
- * 
+ *
  * \param contents
  * \param coding_system
  *
@@ -443,7 +443,7 @@ GSList *utils_files_check_UTF8_validity ( const gchar *contents,
     gchar *ptr;
 
     ptr = (gchar *) contents;
-    
+
     while ( strlen ( ptr ) > 0 )
     {
         gchar *ptr_tmp;
@@ -622,7 +622,7 @@ gchar *utils_files_create_sel_charset ( GtkWidget *assistant,
     {
         GSList *tmp_list;
         struct struc_check_encoding *result;
-            
+
         tmp_list = list;
         result = tmp_list -> data;
         g_object_set_data_full ( G_OBJECT ( dialog ), "charset_str",
@@ -631,9 +631,9 @@ gchar *utils_files_create_sel_charset ( GtkWidget *assistant,
         while ( tmp_list )
         {
             struct struc_check_encoding *result;
-            
+
             result = tmp_list -> data;
-            
+
             gtk_list_store_append ( GTK_LIST_STORE ( model ), &iter );
             gtk_list_store_set ( GTK_LIST_STORE ( model ), &iter,
                         IMPORT_CHARMAP_ENCODING, result -> charset,
@@ -731,7 +731,7 @@ void utils_files_go_charmap_sel_changed ( GtkWidget *go_charmap_sel,
         gtk_label_set_text ( GTK_LABEL ( label ), _("Select a charset") );
         return;
     }
-    
+
     contents = g_object_get_data ( G_OBJECT ( dialog ), "charset_str" );
     string = g_convert ( contents, -1, "UTF-8", encoding, NULL, NULL, NULL );
     if ( string )
@@ -764,7 +764,7 @@ gchar *utils_files_get_ofx_charset ( gchar *contents )
     gint i = 0;
 
     ptr = (gchar *) contents;
-    
+
     while ( strlen ( ptr ) > 0 )
     {
         gchar *ptr_tmp;
diff --git a/src/utils_font.c b/src/utils_font.c
index 8b37410..e200f19 100644
--- a/src/utils_font.c
+++ b/src/utils_font.c
@@ -21,7 +21,7 @@
 
 /**
  * \file gsb_utils_font.c
- * this file contains usefull functions to work with fonts 
+ * this file contains usefull functions to work with fonts
  */
 
 
@@ -125,16 +125,16 @@ static gboolean utils_font_choose ( GtkWidget *button,
     dialog = gtk_font_selection_dialog_new (_("Choosing font"));
 
     if (*fontname)
-	gtk_font_selection_dialog_set_font_name (GTK_FONT_SELECTION_DIALOG(dialog), 
+	gtk_font_selection_dialog_set_font_name (GTK_FONT_SELECTION_DIALOG(dialog),
 						 *fontname );
-    gtk_window_set_modal ( GTK_WINDOW ( dialog ), 
+    gtk_window_set_modal ( GTK_WINDOW ( dialog ),
 			   TRUE );
 
     switch ( gtk_dialog_run ( GTK_DIALOG ( dialog ) ) )
     {
 	case GTK_RESPONSE_OK:
 	    new_fontname = gtk_font_selection_dialog_get_font_name (GTK_FONT_SELECTION_DIALOG(dialog));
-	    gtk_widget_destroy (dialog);  
+	    gtk_widget_destroy (dialog);
 	    utils_font_update_labels (button, new_fontname);
 	    break;
 	default:
diff --git a/src/utils_operations.c b/src/utils_operations.c
index 884adda..4384893 100644
--- a/src/utils_operations.c
+++ b/src/utils_operations.c
@@ -61,7 +61,7 @@ static void update_transaction_in_payee_tree ( gint transaction_number );
 /**
  * update the given transaction in the metatrees
  *
- * \param transaction_number	the transaction to update 
+ * \param transaction_number	the transaction to update
  *
  * \return
  */
@@ -77,7 +77,7 @@ void update_transaction_in_trees ( gint transaction_number )
 /**
  * delete the given transaction in the metatrees
  *
- * \param transaction_number	the transaction to delete 
+ * \param transaction_number	the transaction to delete
  *
  * \return
  */
@@ -105,8 +105,8 @@ void update_transaction_in_categ_tree ( gint transaction_number )
     category_interface = category_get_metatree_interface ( );
     /* FIXME: Kludgeish, we should maintain a state. */
     gsb_data_category_update_counters ( );
-    update_transaction_in_tree ( category_interface, 
-                                 GTK_TREE_MODEL ( categories_get_tree_store ( ) ), 
+    update_transaction_in_tree ( category_interface,
+                                 GTK_TREE_MODEL ( categories_get_tree_store ( ) ),
                                  transaction_number );
 }
 
@@ -124,7 +124,7 @@ void update_transaction_in_budgetary_line_tree ( gint transaction_number )
     /* FIXME: Kludgeish, we should maintain a state. */
     gsb_data_budget_update_counters ( );
     update_transaction_in_tree ( budgetary_interface,
-                        GTK_TREE_MODEL ( budgetary_lines_get_tree_store ( ) ), 
+                        GTK_TREE_MODEL ( budgetary_lines_get_tree_store ( ) ),
                         transaction_number );
 }
 
diff --git a/src/utils_real.c b/src/utils_real.c
index b7cfb1b..86c7540 100644
--- a/src/utils_real.c
+++ b/src/utils_real.c
@@ -38,17 +38,17 @@
 
 
 /**
- * Return the real in a formatted string, according to the currency 
+ * Return the real in a formatted string, according to the currency
  * regarding decimal separator, thousands separator and positive or
  * negative sign.
  * this is directly the number coded in the real wich is returned
  * usually, utils_real_get_string_with_currency is better to adapt the format
  * 	of the number to the currency format
- * 
+ *
  * \param number	Number to format.
  *
  * \return		A newly allocated string of the number (this
- *			function will never return NULL) 
+ *			function will never return NULL)
 */
 gchar *utils_real_get_string ( gsb_real number )
 {
@@ -168,7 +168,7 @@ gsb_real utils_real_get_calculate_entry ( GtkWidget *entry )
     gchar *string;
     gchar *pointeur;
     gsb_real total = null_real;
-	
+
     string = my_strdup ( gtk_entry_get_text ( GTK_ENTRY ( entry ) ) );
 
     if ( string && strlen ( string ) )
@@ -192,7 +192,7 @@ gsb_real utils_real_get_calculate_entry ( GtkWidget *entry )
                             utils_real_get_from_string ( pointeur ) );
                 pointeur[0] = 0;
             }
-            
+
             pointeur--;
         }
         total = gsb_real_add ( total,
@@ -211,7 +211,7 @@ gsb_real utils_real_get_calculate_entry ( GtkWidget *entry )
                             utils_real_get_from_string ( pointeur + 1 ) );
                 pointeur[0] = 0;
             }
-            
+
             pointeur--;
         }
         total = gsb_real_mul ( total,
diff --git a/src/utils_str.c b/src/utils_str.c
index 0678241..1a2e043 100644
--- a/src/utils_str.c
+++ b/src/utils_str.c
@@ -49,16 +49,16 @@ static gchar * gsb_string_truncate_n ( gchar * string, int n, gboolean hard_trun
 
 /**
  * @brief convert an integer into a gchar based string
- * 
- * 
+ *
+ *
  * @param integer   integer to convert
- * 
+ *
  * @return  a newly allocated string
- * 
+ *
  * @caveats You have to unallocate the returned string when you no more use it to save memory
  *
  * @todo: check usage of this function which a cause of memory leak
- * 
+ *
  * */
 gchar *utils_str_itoa ( gint integer )
 {
@@ -68,14 +68,14 @@ gchar *utils_str_itoa ( gint integer )
     gint num;
 
     chaine = g_malloc0 ( 11*sizeof (gchar) );
-    
+
     num = abs(integer);
 
     /* Construct the result in the reverse order from right to left, then reverse it. */
     do
     {
 	result_div = div ( num, 10 );
-	chaine[i] = result_div.rem + '0'; 
+	chaine[i] = result_div.rem + '0';
 	i++;
     }
     while ( ( num = result_div.quot ));
@@ -86,7 +86,7 @@ gchar *utils_str_itoa ( gint integer )
     {
         chaine[i++] = '-';
     }
-    
+
     chaine[i] = 0;
 
     g_strreverse ( chaine );
@@ -167,7 +167,7 @@ gchar *utils_str_reduce_exponant_from_string ( const gchar *amount_string,
 
 
 /**
- * locates the decimal dot 
+ * locates the decimal dot
  *
  *
  *
@@ -226,14 +226,14 @@ gchar *utils_str_localise_decimal_point_from_string ( const gchar *string )
 
 /**
  * @brief Secured version of atoi
- * 
+ *
  * Encapsulated call of atoi which may crash when it is call with a NULL pointer.
- * 
+ *
  * @param chaine   pointer to the buffer containing the string to convert
- * 
+ *
  * @return  the converted string as interger
  * @retval  0 when the pointer is NULL or the string empty.
- * 
+ *
  * */
 G_MODULE_EXPORT gint utils_str_atoi ( const gchar *chaine )
 {
@@ -316,7 +316,7 @@ gint my_strcmp ( gchar *string_1, gchar *string_2 )
 	{
 	    gint retour;
  	    gchar *new_1, *new_2;
-	    
+
 	    new_1 = g_utf8_collate_key ( string_1, -1 );
 	    new_2 = g_utf8_collate_key ( string_2, -1 );
 	    retour = strcmp ( new_1, new_2 );
@@ -356,7 +356,7 @@ gint my_strcasecmp ( const gchar *string_1, const gchar *string_2 )
         {
             gint retour;
             gchar *new_1, *new_2;
-            
+
             new_1 = g_utf8_collate_key ( g_utf8_casefold ( string_1,-1 ),
                          -1 );
             new_2 = g_utf8_collate_key ( g_utf8_casefold (  string_2,-1 ),
@@ -398,7 +398,7 @@ gint my_strncasecmp ( gchar *string_1,
         {
             gint retour;
             gchar *new_1, *new_2;
-            
+
             new_1 = g_utf8_casefold ( string_1,longueur );
             new_2 = g_utf8_casefold (  string_2,longueur );
             retour = g_utf8_collate ( new_1, new_2);
@@ -417,15 +417,15 @@ gint my_strncasecmp ( gchar *string_1,
 
 /**
  * Protect the my_strdup function if the string is NULL
- * 
+ *
  * If the length of string is 0 (ie ""), return NULL.  That is just
  * nonsense, but it has been done that way and disabling it would
  * certainly cause side effects. [benj]
  *
  * \param string the string to be dupped
  *
- * \return a newly allocated string (which is a copy of that string) 
- * or NULL if the parameter is NULL or an empty string. 
+ * \return a newly allocated string (which is a copy of that string)
+ * or NULL if the parameter is NULL or an empty string.
  * */
 G_MODULE_EXPORT gchar *my_strdup ( const gchar *string )
 {
@@ -566,7 +566,7 @@ GSList *gsb_string_get_string_list_from_string ( const gchar *string,
 
 /**
  * return a gslist of struct_categ_budget_sel
- * from a string as no_categ/no_sub_categ/no_sub_categ/no_sub_categ-no_categ/no_sub_categ... 
+ * from a string as no_categ/no_sub_categ/no_sub_categ/no_sub_categ-no_categ/no_sub_categ...
  * (or idem with budget)
  *
  * \param string	the string we want to change to a list
@@ -655,7 +655,7 @@ gchar * gsb_string_truncate_n ( gchar * string, int n, gboolean hard_trunc )
 
     if ( strlen(string) < n )
 	return my_strdup ( string );
-    
+
     tmp = string + n;
     if ( ! hard_trunc && ! ( tmp = strchr ( tmp, ' ' ) ) )
     {
@@ -663,7 +663,7 @@ gchar * gsb_string_truncate_n ( gchar * string, int n, gboolean hard_trunc )
 	   UTF-8 accent ... the end is probably near btw. */
 	return my_strdup ( string );
     }
-    else 
+    else
     {
 	while ( ! isascii(*tmp) && *tmp )
 	    tmp++;
@@ -708,7 +708,7 @@ gchar * gsb_string_remplace_string ( gchar *str, gchar *old_str, gchar *new_str
 
 
 /**
- * recherche des mots séparés par des jokers "%*" dans une chaine 
+ * recherche des mots séparés par des jokers "%*" dans une chaine
  *
  * \param haystack
  * \param needle
@@ -722,7 +722,7 @@ gboolean gsb_string_is_trouve ( const gchar *payee_name, const gchar *needle )
     gint i;
     gboolean is_prefix = FALSE, is_suffix = FALSE;
 
-    if ( g_strstr_len ( needle, -1, "%" ) == NULL && 
+    if ( g_strstr_len ( needle, -1, "%" ) == NULL &&
                         g_strstr_len ( needle, -1, "*" ) == NULL )
     {
         if ( my_strcasecmp ( payee_name, needle ) == 0 )
@@ -826,7 +826,7 @@ gchar *gsb_string_supprime_joker ( const gchar *chaine )
 
 /*
  * extrait un nombre d'une chaine
- * 
+ *
  * \param chaine
  *
  * \return guint
@@ -878,8 +878,8 @@ gchar *gsb_string_uniform_new_line ( const gchar *chaine, gint nbre_char )
         tab_str = g_strsplit_set ( chaine, "\r", 0 );
         result = g_strjoinv ( "", tab_str );
     }
-    else if ( g_strstr_len ( chaine, nbre_char, "\r" ) 
-     && 
+    else if ( g_strstr_len ( chaine, nbre_char, "\r" )
+     &&
      !g_strstr_len ( chaine, nbre_char, "\n" ) )
     {
         tab_str = g_strsplit_set ( chaine, "\r", 0 );
@@ -1010,7 +1010,7 @@ gchar *utils_str_incremente_number_from_str ( const gchar *str_number, gint incr
         }
         if ( i > 0 )
             prefix = g_strndup ( str_number, i );
-    
+
         number = utils_str_atoi ( str_number );
     }
 


hooks/post-receive
-- 
grisbi



More information about the cvs mailing list