rem: if ( type_ope -> no_type == gsb_account_get_default_debit (GPOINTER_TO_INT ( pUserAccountsList -> data ))
add: if ( type_ope -> no_type == gsb_account_get_default_debit (i)
context: void fill_payment_method_tree (){    GtkTreeIter account_iter, debit_iter, credit_iter;    GSList *pUserAccountsList = NULL;    pUserAccountsList = g_slist_copy ( ordre_comptes );    /* Fill tree, iter over with accounts */    do    {	GSList *liste_tmp;	gtk_tree_store_append (model, &account_iter, NULL);	gtk_tree_store_set (model, &account_iter,			    PAYMENT_METHODS_NAME_COLUMN, gsb_account_get_name (GPOINTER_TO_INT ( pUserAccountsList -> data )),			    PAYMENT_METHODS_NUMBERING_COLUMN, "",			    /* This is a hack: account number is put in 			       Debit/Credit nodes */			    PAYMENT_METHODS_TYPE_COLUMN, GPOINTER_TO_INT ( pUserAccountsList -> data ),			    PAYMENT_METHODS_DEFAULT_COLUMN, FALSE,			    PAYMENT_METHODS_ACTIVABLE_COLUMN, FALSE, 			    PAYMENT_METHODS_VISIBLE_COLUMN, FALSE, 			    PAYMENT_METHODS_POINTER_COLUMN, NULL, 			    -1 );	/* Create the "Debit" node */	gtk_tree_store_append (model, &debit_iter, &account_iter);	gtk_tree_store_set (model, &debit_iter,			    PAYMENT_METHODS_NAME_COLUMN, _("Debit"),			    PAYMENT_METHODS_NUMBERING_COLUMN, "",			    /* This is a hack: account number is put in 			       Debit/Credit nodes */			    PAYMENT_METHODS_TYPE_COLUMN, GPOINTER_TO_INT ( pUserAccountsList -> data ),			    PAYMENT_METHODS_DEFAULT_COLUMN, FALSE,			    PAYMENT_METHODS_ACTIVABLE_COLUMN, FALSE, 			    PAYMENT_METHODS_VISIBLE_COLUMN, FALSE, 			    PAYMENT_METHODS_POINTER_COLUMN, NULL, 			    -1 );	/* Create the "Debit" node */	gtk_tree_store_append (model, &credit_iter, &account_iter);	gtk_tree_store_set (model, &credit_iter,			    PAYMENT_METHODS_NAME_COLUMN, _("Credit"),			    PAYMENT_METHODS_NUMBERING_COLUMN, "",			    /* This is a hack: account number is put in 			       Debit/Credit nodes */			    PAYMENT_METHODS_TYPE_COLUMN, GPOINTER_TO_INT ( pUserAccountsList -> data ),			    PAYMENT_METHODS_DEFAULT_COLUMN, FALSE,			    PAYMENT_METHODS_ACTIVABLE_COLUMN, FALSE, 			    PAYMENT_METHODS_VISIBLE_COLUMN, FALSE, 			    PAYMENT_METHODS_POINTER_COLUMN, NULL, 			    -1 );	/* Iter over account payment methods */	liste_tmp = gsb_account_get_method_payment_list (GPOINTER_TO_INT ( pUserAccountsList -> data ));	while ( liste_tmp )	{	    struct struct_type_ope *type_ope;	    GtkTreeIter * parent_iter;	    GtkTreeIter method_iter;	    gboolean isdefault;	    gchar * number;	    type_ope = liste_tmp->data;	    if ( type_ope -> no_type == gsb_account_get_default_debit (GPOINTER_TO_INT ( pUserAccountsList -> data ))		 ||		 type_ope -> no_type == gsb_account_get_default_credit (GPOINTER_TO_INT ( pUserAccountsList -> data )) )		isdefault = 1;	    else		isdefault = 0;	    if ( !type_ope -> signe_type )		parent_iter = &account_iter;	    else		if ( type_ope -> signe_type == 1 )		    parent_iter = &debit_iter;		else		    parent_iter = &credit_iter;	    if ( type_ope -> numerotation_auto )	    {		number = itoa ( type_ope -> no_en_cours );	    }	    else	    {		number = "";	    }	    /* Insert a child node */	    gtk_tree_store_append (model, &method_iter, parent_iter);	    gtk_tree_store_set (model, &method_iter,				PAYMENT_METHODS_NAME_COLUMN, type_ope -> nom_type,				PAYMENT_METHODS_NUMBERING_COLUMN, number,				PAYMENT_METHODS_TYPE_COLUMN, type_ope -> signe_type,				PAYMENT_METHODS_DEFAULT_COLUMN, isdefault,				PAYMENT_METHODS_ACTIVABLE_COLUMN, type_ope->signe_type!=0,				PAYMENT_METHODS_VISIBLE_COLUMN, TRUE,				PAYMENT_METHODS_POINTER_COLUMN, type_ope,				-1 );	    liste_tmp = liste_tmp -> next;	}    }    while ( (  pUserAccountsList = pUserAccountsList -> next ) );    g_slist_free ( pUserAccountsList );}