rem: default:
context: void supprime_echeance ( void ){  gint resultat;  if ( echeance_selectionnnee == GINT_TO_POINTER ( -1 ) )    return;  /* si la priodicit n'est pas de 1 fois demande juste celle ci ou toutes, sinon, choisit automatiquement toutes */  if ( echeance_selectionnnee -> periodicite )    {      GtkWidget *dialog;      GtkWidget *label;      dialog = gnome_dialog_new ( _("Delete a scheduled transaction maturity"),				  _("Only this one"),				  _("All the occurences"),				  GNOME_STOCK_BUTTON_CANCEL,				  NULL );      label = gtk_label_new ( SPACIFY(_("Do you want to delete just this occurrence or the whole scheduled transaction?")) );      gtk_box_pack_start ( GTK_BOX ( GNOME_DIALOG ( dialog ) -> vbox ),			   label,			   FALSE,			   FALSE,			   0 );      gtk_widget_show ( label );      if ( echeance_selectionnnee -> tiers )	label = gtk_label_new ( g_strdup_printf ( "%02d/%02d/%d : %s [%4.2f]",						  echeance_selectionnnee -> jour,						  echeance_selectionnnee -> mois,						  echeance_selectionnnee -> annee,						  ((struct struct_tiers *)(g_slist_find_custom ( liste_struct_tiers,												 GINT_TO_POINTER ( echeance_selectionnnee -> tiers ),												 (GCompareFunc ) recherche_tiers_par_no )->data )) -> nom_tiers,						  echeance_selectionnnee -> montant ));      else	label = gtk_label_new ( g_strdup_printf ( _("%02d/%02d/%d : [No third party] [%4.2f]"),						  echeance_selectionnnee -> jour,						  echeance_selectionnnee -> mois,						  echeance_selectionnnee -> annee,						  echeance_selectionnnee -> montant ));      gtk_box_pack_start ( GTK_BOX ( GNOME_DIALOG ( dialog ) -> vbox ),			   label,			   FALSE,			   FALSE,			   0 );      gtk_widget_show ( label );      gtk_box_set_homogeneous ( GTK_BOX ( GNOME_DIALOG ( dialog ) -> vbox ),				TRUE );      gnome_dialog_set_default ( GNOME_DIALOG ( dialog ),				 2 );      gtk_window_set_transient_for ( GTK_WINDOW ( dialog ),				     GTK_WINDOW ( window ));      resultat = gnome_dialog_run_and_close ( GNOME_DIALOG ( dialog ));    }  else    resultat = 1;  switch ( resultat )    {    case 0:      incrementation_echeance ( echeance_selectionnnee );      remplissage_liste_echeance ();      break;    case 1:      gsliste_echeances = g_slist_remove ( gsliste_echeances, 					   echeance_selectionnnee );      free ( echeance_selectionnnee );      echeance_selectionnnee = gtk_clist_get_row_data ( GTK_CLIST ( liste_echeances ),							gtk_clist_find_row_from_data ( GTK_CLIST ( liste_echeances ),										       echeance_selectionnnee ) + 1);      nb_echeances--;      remplissage_liste_echeance ();      break;    default:    }  mise_a_jour_calendrier();  update_liste_echeances_manuelles_accueil();  modification_fichier (TRUE);}