rem: gsb_account_set_default_debit ( compte_courant,
add: gsb_account_set_default_debit ( gsb_account_get_current_account (),
context: void modification_entree_nom_type ( void ){    struct struct_type_ope *type_ope;    GtkWidget * menu;    GtkTreeSelection *selection;    GtkTreeIter iter;    gboolean good, visible;    selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (treeview));    good = gtk_tree_selection_get_selected (selection, NULL, &iter);    if (good)	gtk_tree_model_get ( GTK_TREE_MODEL(model), &iter, 			     PAYMENT_METHODS_VISIBLE_COLUMN, &visible,			     PAYMENT_METHODS_POINTER_COLUMN, &type_ope,			     -1 );    if (good && visible)    {	gtk_tree_store_set (GTK_TREE_STORE (model), &iter, 			    PAYMENT_METHODS_NAME_COLUMN, type_ope -> nom_type, 			    -1);	if ( verifie_element_formulaire_existe ( TRANSACTION_FORM_TYPE ))	{	    if ( (menu = creation_menu_types ( 1, compte_courant , 0 )))	    {		gint pos_type;		gtk_option_menu_set_menu ( GTK_OPTION_MENU ( widget_formulaire_par_element (TRANSACTION_FORM_TYPE) ),					   menu );		pos_type = cherche_no_menu_type ( gsb_account_get_default_debit (compte_courant) );		if ( pos_type != -1 )		    gtk_option_menu_set_history ( GTK_OPTION_MENU ( widget_formulaire_par_element (TRANSACTION_FORM_TYPE) ),						  pos_type );		else		{		    struct struct_type_ope *type;		    gtk_option_menu_set_history ( GTK_OPTION_MENU ( widget_formulaire_par_element (TRANSACTION_FORM_TYPE) ),						  0 );		    gsb_account_set_default_debit ( compte_courant,						    GPOINTER_TO_INT ( g_object_get_data ( G_OBJECT ( GTK_OPTION_MENU ( widget_formulaire_par_element (TRANSACTION_FORM_TYPE) ) -> menu_item ),											  "no_type" )));		    /* on affiche l'entrée des chèques si nécessaire */		    type = g_object_get_data ( G_OBJECT ( GTK_OPTION_MENU ( widget_formulaire_par_element (TRANSACTION_FORM_TYPE) ) -> menu_item ),					       "adr_type" );		    if ( type -> affiche_entree )			gtk_widget_show ( widget_formulaire_par_element (TRANSACTION_FORM_CHEQUE) );		}		gtk_widget_show ( widget_formulaire_par_element (TRANSACTION_FORM_TYPE) );	    }	    else	    {		gtk_widget_hide ( widget_formulaire_par_element (TRANSACTION_FORM_TYPE) );		gtk_widget_hide ( widget_formulaire_par_element (TRANSACTION_FORM_CHEQUE) );	    }	}    }}