rem: if ( DEBUG ) printf ( "calcule_solde_compte %d\n", account_number );
add: devel_debug ( g_strdup_printf ("calcule_solde_compte %d", account_number ));
context: gdouble calcule_solde_compte ( gint account_number ){    gdouble amount;    GSList *list_tmp;    if ( DEBUG )	printf ( "calcule_solde_compte %d\n", account_number );    amount = gsb_data_account_get_init_balance (account_number);    list_tmp = gsb_data_transaction_get_transactions_list ();    while ( list_tmp )    {	gint no_transaction;	no_transaction = gsb_data_transaction_get_transaction_number (list_tmp -> data);	if ( gsb_data_transaction_get_account_number (no_transaction) == account_number)	{	    /* if it's a child breakdown, don't use it */	    if ( !gsb_data_transaction_get_mother_transaction_number (no_transaction))		amount = amount + gsb_data_transaction_get_adjusted_amount (no_transaction);	}	list_tmp = list_tmp -> next;    }    return ( amount );}