rem: if ( DEBUG ) printf ( "remplissage_details_compte\n" );
add: devel_debug ( "remplissage_details_compte" );
context: void remplissage_details_compte ( void ){    struct struct_banque *banque;    struct struct_devise *devise;    if ( DEBUG )	printf ( "remplissage_details_compte\n" );    g_return_if_fail ( compte_courant_onglet >= 0 );    gtk_entry_set_text ( GTK_ENTRY ( detail_nom_compte ),			 gsb_data_account_get_name (compte_courant_onglet) );    gtk_option_menu_set_history ( GTK_OPTION_MENU ( detail_type_compte ),				  gsb_data_account_get_kind (compte_courant_onglet) );    devise = devise_par_no ( gsb_data_account_get_currency (compte_courant_onglet) );    gtk_option_menu_set_history ( GTK_OPTION_MENU (  detail_devise_compte),				  g_slist_index ( liste_struct_devises,						  devise ));    if ( gsb_data_account_get_holder_name (compte_courant_onglet) )	gtk_entry_set_text ( GTK_ENTRY ( detail_titulaire_compte ),			     gsb_data_account_get_holder_name (compte_courant_onglet) );    else	gtk_entry_set_text ( GTK_ENTRY ( detail_titulaire_compte ),			     "" );    gtk_text_buffer_set_text ( gtk_text_view_get_buffer (GTK_TEXT_VIEW (detail_adresse_titulaire)), 			       ( gsb_data_account_get_holder_address (compte_courant_onglet) ? gsb_data_account_get_holder_address (compte_courant_onglet) : "") , -1 );    if ( gsb_data_account_get_holder_address (compte_courant_onglet) )    {	gtk_toggle_button_set_active ( GTK_TOGGLE_BUTTON ( GTK_RADIO_BUTTON ( detail_bouton_adresse_commune ) -> group -> data ),				       TRUE );    }    else	gtk_toggle_button_set_active ( GTK_TOGGLE_BUTTON ( detail_bouton_adresse_commune ),				       TRUE );/*     remplissage des infos sur la banque */    banque = banque_par_no ( gsb_data_account_get_bank (compte_courant_onglet) );        if ( banque )    {	gtk_option_menu_set_history ( GTK_OPTION_MENU ( detail_option_menu_banque ),				      g_slist_index ( liste_struct_banques,						      banque )+ 1 );	if ( banque -> code_banque )	    gtk_label_set_text ( GTK_LABEL ( label_code_banque ),				 banque -> code_banque );	else	    gtk_label_set_text ( GTK_LABEL ( label_code_banque ),				 "" );    }    else    {	gtk_option_menu_set_history ( GTK_OPTION_MENU ( detail_option_menu_banque ),				      0 );	gtk_label_set_text ( GTK_LABEL ( label_code_banque ),			     "" );    }    if ( gsb_data_account_get_bank_branch_code (compte_courant_onglet) )	gtk_entry_set_text ( GTK_ENTRY ( detail_guichet ),			     gsb_data_account_get_bank_branch_code (compte_courant_onglet) );    else	gtk_entry_set_text ( GTK_ENTRY ( detail_guichet ),			     "" );    if ( gsb_data_account_get_bank_account_number (compte_courant_onglet) )	gtk_entry_set_text ( GTK_ENTRY ( detail_no_compte ),			     gsb_data_account_get_bank_account_number (compte_courant_onglet) );    else	gtk_entry_set_text ( GTK_ENTRY ( detail_no_compte ),			     "" );    if ( gsb_data_account_get_bank_account_key (compte_courant_onglet) )	gtk_entry_set_text ( GTK_ENTRY ( detail_cle_compte ),			     gsb_data_account_get_bank_account_key (compte_courant_onglet) );    else	gtk_entry_set_text ( GTK_ENTRY ( detail_cle_compte ),			     "" );    gtk_toggle_button_set_active ( GTK_TOGGLE_BUTTON( detail_compte_cloture ),				   gsb_data_account_get_closed_account (compte_courant_onglet) );    gtk_entry_set_text ( GTK_ENTRY ( detail_solde_init ),			 g_strdup_printf ( "%4.2f",					   gsb_data_account_get_init_balance (compte_courant_onglet) ));    gtk_entry_set_text ( GTK_ENTRY ( detail_solde_mini_autorise ),			 g_strdup_printf ( "%4.2f",					   gsb_data_account_get_mini_balance_authorized (compte_courant_onglet) ));    gtk_entry_set_text ( GTK_ENTRY ( detail_solde_mini_voulu ),			 g_strdup_printf ( "%4.2f",					   gsb_data_account_get_mini_balance_wanted (compte_courant_onglet) ));    gtk_text_buffer_set_text ( gtk_text_view_get_buffer (GTK_TEXT_VIEW (detail_commentaire)),			       ( gsb_data_account_get_comment (compte_courant_onglet) ? gsb_data_account_get_comment (compte_courant_onglet) : "") , -1 );    gtk_widget_set_sensitive ( hbox_boutons_modif,			       FALSE );}