rem: model = gsb_account_get_store ( compte_courant );
add: model = gsb_account_get_store ( gsb_account_get_current_account () );
context: void p_press (void){    gdouble montant;    struct structure_operation *operation;    GtkTreeIter *iter;    gint col;    GtkTreeModel *model;    col = find_p_r_col ();    if ( col == -1 )	return;    operation = gsb_account_get_current_transaction (compte_courant);    /*     take the model of the account */    model = gsb_account_get_store ( compte_courant );    /* si on est sur l'opération vide -> on se barre */    if (operation  == GINT_TO_POINTER ( -1 )	||	operation -> pointe == 3 )	return;    iter = cherche_iter_operation ( gsb_account_get_current_transaction (compte_courant),				    compte_courant );    if ( operation -> pointe )    {	montant = calcule_montant_devise_renvoi ( operation -> montant,						  gsb_account_get_currency (compte_courant),						  operation -> devise,						  operation -> une_devise_compte_egale_x_devise_ope,						  operation -> taux_change,						  operation -> frais_change );	if ( etat.equilibrage )	    operations_pointees = operations_pointees - montant;	gsb_account_set_marked_balance ( compte_courant,					 gsb_account_get_marked_balance (compte_courant) - montant );	operation -> pointe = 0;	gtk_list_store_set ( GTK_LIST_STORE ( model ),			     iter,			     col, NULL,			     -1 );    }    else    {	montant = calcule_montant_devise_renvoi ( operation -> montant,						  gsb_account_get_currency (compte_courant),						  operation -> devise,						  operation-> une_devise_compte_egale_x_devise_ope,						  operation-> taux_change,						  operation-> frais_change );	if ( etat.equilibrage )	    operations_pointees = operations_pointees + montant;	gsb_account_set_marked_balance ( compte_courant,					 gsb_account_get_marked_balance (compte_courant) + montant );	operation -> pointe = 1;	gtk_list_store_set ( GTK_LIST_STORE ( model ),			     iter,			     col, _("P"),			     -1 );    }    /* si c'est une opé ventilée, on recherche les opé filles pour leur mettre le même pointage que la mère */    if ( operation -> operation_ventilee )    {	/* p_tab est déjà pointé sur le compte courant */	GSList *liste_tmp;	liste_tmp = gsb_account_get_transactions_list (compte_courant);	while ( liste_tmp )	{	    struct structure_operation *ope_fille;	    ope_fille = liste_tmp -> data;	    if ( ope_fille -> no_operation_ventilee_associee == operation -> no_operation )		ope_fille -> pointe = operation -> pointe;	    liste_tmp = liste_tmp -> next;	}    }    if ( etat.equilibrage )    {	gtk_label_set_text ( GTK_LABEL ( label_equilibrage_pointe ),			     g_strdup_printf ("%4.2f",					      operations_pointees ));	if ( fabs ( solde_final - solde_initial - operations_pointees ) < 0.01 )	{	    gtk_label_set_text ( GTK_LABEL ( label_equilibrage_ecart ),				 g_strdup_printf ( "%4.2f",						   0.0 ));	    gtk_widget_set_sensitive ( GTK_WIDGET ( bouton_ok_equilibrage ),				       TRUE );	}	else	{	    gtk_label_set_text ( GTK_LABEL ( label_equilibrage_ecart ),				 g_strdup_printf ( "%4.2f",						   solde_final - solde_initial - operations_pointees ));	    gtk_widget_set_sensitive ( GTK_WIDGET ( bouton_ok_equilibrage ),				       FALSE );	}    }    /*     met à jour les labels des soldes  */    mise_a_jour_labels_soldes ();    modification_fichier( TRUE );    /* ALAIN-FIXME : solution batarde me semble-t'il pour actualiser le solde pointé       sur la fenêtre d'accueil après que l'on ait pointé l'opération */    mise_a_jour_liste_comptes_accueil = 1;}