rem: solde_courant = solde_courant + gsb_transaction_data_get_adjusted_amount ( gsb_transaction_data_get_transaction_number (transaction));
add: solde_courant = solde_courant + gsb_transaction_data_get_adjusted_amount (transaction_number);
context: gboolean gsb_transactions_list_set_transactions_balances ( gint no_account ){    gdouble solde_courant;    gint column_balance;    gint line_balance;    GtkTreePath *path_sorted;    GtkTreePath *path;    GtkTreeModel *model;    if ( DEBUG )	printf ( "gsb_transactions_list_set_transactions_balances, no_account : %d\n", no_account );    /*     on commence par retrouver la colonne et la ligne pour afficher le solde de l'opé */    column_balance = find_balance_col ();    line_balance = find_balance_line ();    if ( line_balance == -1 	 ||	 line_balance >= gsb_account_get_nb_rows ( no_account ))    {	/* 	le solde n'est pas affiché, on peut repartir */	gsb_account_set_finished_balance_showed ( no_account,						  1 );	return FALSE;    }    model = GTK_TREE_MODEL (gsb_account_get_store ( no_account ));    path_sorted = gtk_tree_path_new_first ();    path = gsb_transactions_list_get_list_path_from_sorted_path ( path_sorted,								  no_account );    /*     on calcule le solde de démarrage */    solde_courant = solde_debut_affichage ( no_account );    while ( path )    {	gpointer transaction;	GtkTreeIter iter;	gint i;	transaction = gsb_transactions_list_get_transaction_from_path ( path,									no_account );	if ( transaction != GINT_TO_POINTER (-1))	{	    /* if it's a breakdown, we do nothing */	    if ( gsb_transaction_data_get_mother_transaction_number ( gsb_transaction_data_get_transaction_number (transaction )))	    {		gtk_tree_path_next ( path_sorted );		path = gsb_transactions_list_get_list_path_from_sorted_path ( path_sorted,									      no_account );		continue;	    }	    solde_courant = solde_courant + gsb_transaction_data_get_adjusted_amount ( gsb_transaction_data_get_transaction_number (transaction));	    gtk_tree_model_get_iter ( model,				      &iter,				      path );	    gtk_list_store_set ( GTK_LIST_STORE ( model ),				 &iter,				 column_balance, g_strdup_printf ( "%4.2f",								   solde_courant ),				 -1 );	    /* 	on met la couleur du solde */	    if ( solde_courant > -0.01 )		gtk_list_store_set ( GTK_LIST_STORE ( model ),				     &iter,				     TRANSACTION_COL_NB_AMOUNT_COLOR, NULL,				     -1 );	    else		gtk_list_store_set ( GTK_LIST_STORE ( model ),				     &iter,				     TRANSACTION_COL_NB_AMOUNT_COLOR, "red",				     -1 );	}	for ( i=0 ; i<gsb_account_get_nb_rows ( no_account ) ; i++ )	    gtk_tree_path_next ( path_sorted );	path = gsb_transactions_list_get_list_path_from_sorted_path ( path_sorted,								      no_account );    }    gsb_account_set_finished_balance_showed ( no_account,					      1 );    return FALSE;}