rem: g_signal_handler_block ( affichage_exercice,
add: g_signal_handler_block ( GTK_OBJECT(affichage_exercice),
context: void deselection_ligne_exercice ( GtkWidget *liste,			      gint ligne,			      gint colonne,			      GdkEventButton *ev,			      GtkWidget *frame ){  struct struct_exercice *exercice;/*   if ( GTK_WIDGET_SENSITIVE ( hbox_boutons_modif_exercice ) ) *//*     { *//*       GtkWidget *dialogue; *//*       GtkWidget *label; *//*       gint resultat; *//*       exercice = gtk_clist_get_row_data ( GTK_CLIST ( liste ), *//* 					ligne ); *//*       dialogue = gnome_dialog_new ( _("Confirmation of changes"), *//* 				    GNOME_STOCK_BUTTON_YES, *//* 				    GNOME_STOCK_BUTTON_NO, *//* 				    NULL ); *//*       gtk_window_set_transient_for ( GTK_WINDOW ( dialogue ), *//* 				     GTK_WINDOW ( fenetre_preferences )); *//*       label = gtk_label_new ( g_strdup_printf ( _("The financial year %s had been modified.\n\nDo you want to save the changes?"), *//* 						exercice -> nom_exercice ) ); *//*       gtk_box_pack_start ( GTK_BOX ( GNOME_DIALOG ( dialogue ) -> vbox ), *//* 			   label, *//* 			   FALSE, *//* 			   FALSE, *//* 			   0 ); *//*       gtk_widget_show ( label ); *//*       resultat = gnome_dialog_run_and_close ( GNOME_DIALOG ( dialogue )); */      /*       si on veut les enregistrer , ok */      /* si on ne veut pas et que c'est un nouvel exercice -> on l'efface *//*       if ( !resultat ) *//* 	applique_modif_exercice ( liste ); *//*       else *//* 	{ *//* 	  if ( exercice -> no_exercice == -1 ) *//* 	    { *//* 	      gtk_clist_remove ( GTK_CLIST ( liste ), *//* 				 ligne ); *//* 	      liste_struct_exercices_tmp = g_slist_remove ( liste_struct_exercices_tmp, *//* 							    exercice ); *//* 	      free ( exercice ); *//* 	    } *//* 	} *//*     } */  /* Blank all entries */  /* FIXME: put this stuff in dedicated functions */  g_signal_handler_block ( nom_exercice,			   gtk_object_get_data ( nom_exercice, "insert-hook" ));  g_signal_handler_block ( nom_exercice,			   gtk_object_get_data ( nom_exercice, "insert-text" ));  g_signal_handler_block ( nom_exercice,			   gtk_object_get_data ( nom_exercice, "delete-hook" ));  g_signal_handler_block ( nom_exercice,			   gtk_object_get_data ( nom_exercice, "delete-text" ));  g_signal_handler_block ( affichage_exercice,			   gtk_object_get_data ( affichage_exercice, "hook" ));  g_signal_handler_block ( affichage_exercice,			   gtk_object_get_data ( affichage_exercice, "set-boolean" ));  gtk_entry_set_text ( GTK_ENTRY ( nom_exercice ), "" );  gtk_entry_set_text ( GTK_ENTRY ( debut_exercice ), "" );  gtk_entry_set_text ( GTK_ENTRY ( fin_exercice ), "" );  gtk_toggle_button_set_active ( GTK_TOGGLE_BUTTON ( affichage_exercice ), FALSE );  /* FIXME: put this stuff in dedicated functions */  g_signal_handler_unblock ( nom_exercice,			     gtk_object_get_data ( nom_exercice, "insert-hook" ));  g_signal_handler_unblock ( nom_exercice,			     gtk_object_get_data ( nom_exercice, "insert-text" ));  g_signal_handler_unblock ( nom_exercice,			     gtk_object_get_data ( nom_exercice, "delete-hook" ));  g_signal_handler_unblock ( nom_exercice,			     gtk_object_get_data ( nom_exercice, "delete-text" ));  g_signal_handler_unblock ( affichage_exercice, /* FIXME: test if exist */			     gtk_object_get_data ( affichage_exercice, "hook" ));  g_signal_handler_unblock ( affichage_exercice,			     gtk_object_get_data ( affichage_exercice, "set-boolean" ));  gtk_widget_set_sensitive ( paddingbox_details, FALSE );  gtk_widget_set_sensitive ( bouton_supprimer_exercice, FALSE );}