rem: if ( exercice -> date_fin ) gtk_entry_set_text ( GTK_ENTRY ( fin_exercice ), g_strdup_printf ( "%d/%d/%d", g_date_day ( exercice -> date_fin ), g_date_month ( exercice -> date_fin ), g_date_year ( exercice -> date_fin )));
context: void annuler_modif_exercice ( GtkWidget *bouton,			      GtkWidget *liste ){  struct struct_exercice *exercice;  exercice = gtk_clist_get_row_data ( GTK_CLIST ( clist_exercices_parametres ),				    ligne_selection_exercice );/* si c'tait une nouvelle exercice, on la supprime */  if ( exercice -> no_exercice == -1 )    {      gtk_clist_unselect_all ( GTK_CLIST ( clist_exercices_parametres ));      return;      gtk_clist_remove ( GTK_CLIST ( clist_exercices_parametres ),			 ligne_selection_exercice );      liste_struct_exercices_tmp = g_slist_remove ( liste_struct_exercices_tmp,						    exercice );      free ( exercice );      return;    }/* sinon, on remplit tous les champs avec l'ancienne exercice */  gtk_entry_set_text ( GTK_ENTRY ( nom_exercice ),		       exercice -> nom_exercice );  if ( exercice -> date_debut )    gtk_entry_set_text ( GTK_ENTRY ( debut_exercice ),			 g_strdup_printf ( "%d/%d/%d",					   g_date_day ( exercice -> date_debut ),					   g_date_month ( exercice -> date_debut ),					   g_date_year ( exercice -> date_debut )));  if ( exercice -> date_fin )    gtk_entry_set_text ( GTK_ENTRY ( fin_exercice ),			 g_strdup_printf ( "%d/%d/%d",					   g_date_day ( exercice -> date_fin ),					   g_date_month ( exercice -> date_fin ),					   g_date_year ( exercice -> date_fin )));					     gtk_toggle_button_set_active ( GTK_TOGGLE_BUTTON ( affichage_exercice ),				 exercice -> affiche_dans_formulaire );  gtk_widget_set_sensitive ( hbox_boutons_modif_exercice,			     FALSE );}