rem: if ( DEBUG ) { if ( scheduled_number < 0) printf ( "White scheduled selection\n"); else printf ( "scheduled selection number %d\n",scheduled_number ); }
add: if ( scheduled_number < 0) notice_debug ( "White scheduled selection\n"); else notice_debug ( "scheduled selection number %d\n",scheduled_number );
context: void selectionne_echeance ( gint scheduled_number ){    GtkTreeIter *iter;    GdkColor *couleur;    GtkTreeModel *model;    if ( DEBUG )    {	if ( scheduled_number < 0)	    printf ( "White scheduled selection\n");	else	    printf ( "scheduled selection number %d\n",scheduled_number );    }    if ( (scheduled_number == gsb_data_scheduled_get_current_scheduled_number ()	 &&	 gsb_data_scheduled_get_current_scheduled_number ()	 &&	 selection_echeance_finie)	 ||	 !scheduled_number )	return;    model = GTK_TREE_MODEL ( gtk_tree_view_get_model ( GTK_TREE_VIEW ( tree_view_liste_echeances )));    /*   vire l'ancienne sélection : consiste à remettre la couleur d'origine du background */    if ( gsb_data_scheduled_get_current_scheduled_number ())    {	iter = cherche_iter_echeance (gsb_data_scheduled_get_current_scheduled_number ());	/* 	iter est maintenant positionné sur la 1ère ligne de l'opé à désélectionner */	gtk_tree_model_get ( model,			     iter,			     SCHEDULER_COL_NB_SAVE_BACKGROUND, &couleur,			     -1 );	gtk_list_store_set ( GTK_LIST_STORE (model),			     iter,			     SCHEDULER_COL_NB_BACKGROUND,couleur,			     9, NULL,			     -1 );    }    gsb_data_scheduled_set_current_scheduled_number (scheduled_number);    iter = cherche_iter_echeance (scheduled_number);    /* 	iter est maintenant positionnÃ© sur la 1ère ligne de l'opÃ© à sélectionner */    gtk_tree_model_get ( model,			 iter,			 SCHEDULER_COL_NB_BACKGROUND, &couleur,			 -1 );    gtk_list_store_set ( GTK_LIST_STORE (model),			 iter,			 SCHEDULER_COL_NB_BACKGROUND, &couleur_selection,			 SCHEDULER_COL_NB_SAVE_BACKGROUND, couleur,			 -1 );    /*     on déplace le scrolling de la liste si nécessaire pour afficher la sélection */    ajuste_scrolling_liste_echeances_a_selection ();    selection_echeance_finie = 1;    if ( gsb_data_scheduled_get_current_scheduled_number () > 0)	gtk_widget_set_sensitive ( GTK_WIDGET ( bouton_saisir_echeancier ),				   TRUE );    else	gtk_widget_set_sensitive ( GTK_WIDGET ( bouton_saisir_echeancier ),				   FALSE );}