[grisbi-cvs] grisbi/src accueil.c, 1.210, 1.211 affichage.c, 1.165, 1.166 balance_estimate_tab.c, 1.22, 1.23 barre_outils.c, 1.128, 1.129 categories_onglet.c, 1.197, 1.198 etats_calculs.c, 1.132, 1.133 etats_config.c, 1.173, 1.174 etats_gtktable.c, 1.99, 1.100 etats_onglet.c, 1.135, 1.136 fenetre_principale.c, 1.120, 1.121 gsb_account_property.c, 1.44, 1.45 gsb_archive_config.c, 1.26, 1.27 gsb_assistant_account.c, 1.26, 1.27 gsb_assistant_archive.c, 1.37, 1.38 gsb_assistant_archive_export.c, 1.17, 1.18 gsb_assistant_first.c, 1.26, 1.27 gsb_assistant_reconcile_config.c, 1.26, 1.27 gsb_calendar.c, 1.4, 1.5 gsb_data_account.c, 1.88, 1.89 gsb_file_config.h, 1.11, 1.12 gsb_form.c, 1.130, 1.131 gsb_real.c, 1.49, 1.50 gsb_reconcile_list.c, 1.9, 1.10 gsb_status.c, 1.19, 1.20 gsb_transactions_list.c, 1.180, 1.181 imputation_budgetaire.c, 1.159, 1.160 main.c, 1.149, 1.150 navigation.c, 1.128, 1.129 parametres.c, 1.203, 1.204 print_transactions_list.c, 1.12, 1.13 tiers_onglet.c, 1.164, 1.165

Pierre Biava pbiava at users.sourceforge.net
Sat Aug 29 10:36:43 CEST 2009


Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv22366/src

Modified Files:
	accueil.c affichage.c balance_estimate_tab.c barre_outils.c 
	categories_onglet.c etats_calculs.c etats_config.c 
	etats_gtktable.c etats_onglet.c fenetre_principale.c 
	gsb_account_property.c gsb_archive_config.c 
	gsb_assistant_account.c gsb_assistant_archive.c 
	gsb_assistant_archive_export.c gsb_assistant_first.c 
	gsb_assistant_reconcile_config.c gsb_calendar.c 
	gsb_data_account.c gsb_file_config.h gsb_form.c gsb_real.c 
	gsb_reconcile_list.c gsb_status.c gsb_transactions_list.c 
	imputation_budgetaire.c main.c navigation.c parametres.c 
	print_transactions_list.c tiers_onglet.c 
Log Message:
removal of the destroy function of the widgets that can cause occasional crashes

Index: gsb_reconcile_list.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_reconcile_list.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- gsb_reconcile_list.c	1 Oct 2008 12:34:08 -0000	1.9
+++ gsb_reconcile_list.c	29 Aug 2009 08:36:41 -0000	1.10
@@ -40,6 +40,7 @@
 #include "./transaction_list_sort.h"
 #include "./custom_list.h"
 #include "./gsb_data_payment.h"
+#include "./structures.h"
 /*END_INCLUDE*/
 
 /*START_STATIC*/

Index: etats_config.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/etats_config.c,v
retrieving revision 1.173
retrieving revision 1.174
diff -u -d -r1.173 -r1.174
--- etats_config.c	24 Aug 2009 20:38:32 -0000	1.173
+++ etats_config.c	29 Aug 2009 08:36:41 -0000	1.174
@@ -1,10 +1,10 @@
 /* ************************************************************************** */
-/* Ce fichier s'occupe de la configuration des états                         */
-/* 			etats_config.c                                        */
+/* Ce fichier s'occupe de la configuration des états                          */
+/*                      etats_config.c                                        */
 /*                                                                            */
-/*     Copyright (C)	2000-2008 Cédric Auger (cedric at grisbi.org)	      */
-/*			2006-2008 Benjamin Drieu (bdrieu at april.org)	      */
-/*			http://www.grisbi.org/   			      */
+/*     Copyright (C)    2000-2008 Cédric Auger (cedric at grisbi.org)            */
+/*          2006-2008 Benjamin Drieu (bdrieu at april.org)                       */
+/*          http://www.grisbi.org/                                            */
 /*                                                                            */
 /*  This program is free software; you can redistribute it and/or modify      */
 /*  it under the terms of the GNU General Public License as published by      */
@@ -420,8 +420,6 @@
 				    GTK_POLICY_NEVER,
 				    GTK_POLICY_AUTOMATIC);
     report_tree_view = gtk_tree_view_new();
-    g_signal_connect ( G_OBJECT (report_tree_view ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &report_tree_view );
     gtk_tree_view_set_model (GTK_TREE_VIEW (report_tree_view),
 			     GTK_TREE_MODEL (report_tree_model));
     g_object_unref (G_OBJECT(report_tree_model));
@@ -2078,8 +2076,6 @@
 
     radio_button_utilise_dates = gtk_radio_button_new_with_label ( NULL,
 								   _("Use dates ranges") );
-    g_signal_connect ( G_OBJECT (radio_button_utilise_dates ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &radio_button_utilise_dates );
     gtk_box_pack_start ( GTK_BOX ( vbox ),
 			 radio_button_utilise_dates,
 			 FALSE,
@@ -2098,8 +2094,6 @@
     gtk_widget_show ( frame );
 
     vbox_utilisation_date = gtk_vbox_new ( FALSE, 5 );
-    g_signal_connect ( G_OBJECT (vbox_utilisation_date ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &vbox_utilisation_date );
     gtk_container_set_border_width ( GTK_CONTAINER ( vbox_utilisation_date ),
 				     10 );
     gtk_container_add ( GTK_CONTAINER ( frame ),
@@ -2127,8 +2121,6 @@
 
 
     liste_plages_dates_etat = gtk_clist_new ( 1 );
-    g_signal_connect ( G_OBJECT (liste_plages_dates_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &liste_plages_dates_etat );
     gtk_clist_set_column_auto_resize ( GTK_CLIST ( liste_plages_dates_etat ),
 				       0,
 				       TRUE );
@@ -2180,8 +2172,6 @@
 
     radio_button_utilise_exo = gtk_radio_button_new_with_label ( gtk_radio_button_get_group ( GTK_RADIO_BUTTON ( radio_button_utilise_dates )),
 								 _("Use financial years") );
-    g_signal_connect ( G_OBJECT (radio_button_utilise_exo ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &radio_button_utilise_exo );
     gtk_box_pack_start ( GTK_BOX ( vbox ),
 			 radio_button_utilise_exo,
 			 FALSE,
@@ -2208,8 +2198,6 @@
 			 frame );
 
     vbox_utilisation_exo = gtk_vbox_new ( FALSE, 5 );
-    g_signal_connect ( G_OBJECT (vbox_utilisation_exo ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &vbox_utilisation_exo );
     gtk_container_set_border_width ( GTK_CONTAINER ( vbox_utilisation_exo ),
 				     10 );
     gtk_container_add ( GTK_CONTAINER ( frame ),
@@ -2221,8 +2209,6 @@
 
     bouton_exo_tous = gtk_radio_button_new_with_label ( NULL,
 							_("All financial years"));
-    g_signal_connect ( G_OBJECT (bouton_exo_tous ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_exo_tous );
     gtk_box_pack_start ( GTK_BOX ( vbox_utilisation_exo ),
 			 bouton_exo_tous,
 			 FALSE,
@@ -2232,8 +2218,6 @@
 
     bouton_exo_courant = gtk_radio_button_new_with_label ( gtk_radio_button_get_group ( GTK_RADIO_BUTTON ( bouton_exo_tous )),
 							   _("Current financial year"));
-    g_signal_connect ( G_OBJECT (bouton_exo_courant ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_exo_courant );
     gtk_box_pack_start ( GTK_BOX ( vbox_utilisation_exo ),
 			 bouton_exo_courant,
 			 FALSE,
@@ -2243,8 +2227,6 @@
 
     bouton_exo_precedent = gtk_radio_button_new_with_label ( gtk_radio_button_get_group ( GTK_RADIO_BUTTON ( bouton_exo_tous )),
 							     _("Former financial year"));
-    g_signal_connect ( G_OBJECT (bouton_exo_precedent ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_exo_precedent );
     gtk_box_pack_start ( GTK_BOX ( vbox_utilisation_exo ),
 			 bouton_exo_precedent,
 			 FALSE,
@@ -2256,8 +2238,6 @@
 
     bouton_detaille_exo_etat = gtk_radio_button_new_with_label ( gtk_radio_button_get_group ( GTK_RADIO_BUTTON ( bouton_exo_tous )),
 								 _("Detail financial years") );
-    g_signal_connect ( G_OBJECT (bouton_detaille_exo_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_detaille_exo_etat );
     gtk_box_pack_start ( GTK_BOX ( vbox_utilisation_exo ),
 			 bouton_detaille_exo_etat,
 			 FALSE,
@@ -2266,8 +2246,6 @@
     gtk_widget_show ( bouton_detaille_exo_etat );
 
     vbox_generale_exo_etat = gtk_vbox_new ( FALSE, 5 );
-    g_signal_connect ( G_OBJECT (vbox_generale_exo_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &vbox_generale_exo_etat );
     gtk_box_pack_start ( GTK_BOX ( vbox_utilisation_exo ),
 			 vbox_generale_exo_etat,
 			 TRUE,
@@ -2293,8 +2271,6 @@
     gtk_widget_show ( scrolled_window );
 
     liste_exo_etat = gtk_clist_new ( 1 );
-    g_signal_connect ( G_OBJECT (liste_exo_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &liste_exo_etat );
     gtk_clist_set_selection_mode ( GTK_CLIST ( liste_exo_etat ),
 				   GTK_SELECTION_MULTIPLE );
     gtk_clist_set_column_auto_resize ( GTK_CLIST ( liste_exo_etat ),
@@ -2329,8 +2305,6 @@
     gtk_widget_show ( label );
 
     entree_date_init_etat = gsb_calendar_entry_new (FALSE);
-    g_signal_connect ( G_OBJECT (entree_date_init_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &entree_date_init_etat );
     gtk_widget_set_size_request ( entree_date_init_etat,
 			   100,
 			   -1 );
@@ -2361,8 +2335,6 @@
     gtk_widget_show ( label );
 
     entree_date_finale_etat = gsb_calendar_entry_new (FALSE);
-    g_signal_connect ( G_OBJECT (entree_date_finale_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &entree_date_finale_etat );
     gtk_widget_set_size_request ( entree_date_finale_etat,
 			   100,
 			   -1 );
@@ -2488,8 +2460,6 @@
     /* sélectionner */
 
     bouton_detaille_comptes_etat = gtk_check_button_new_with_label ( _("Select transactions only for given accounts"));
-    g_signal_connect ( G_OBJECT (bouton_detaille_comptes_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_detaille_comptes_etat );
     g_signal_connect_swapped ( G_OBJECT ( bouton_detaille_comptes_etat ),
 				"toggled",
 				G_CALLBACK ( report_tree_update_style ),
@@ -2503,8 +2473,6 @@
 
     vbox_generale_comptes_etat = gtk_vbox_new ( FALSE,
 						5 );
-    g_signal_connect ( G_OBJECT (vbox_generale_comptes_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &vbox_generale_comptes_etat );
     gtk_box_pack_start ( GTK_BOX ( vbox_onglet ),
 			 vbox_generale_comptes_etat,
 			 TRUE,
@@ -2551,8 +2519,6 @@
     gtk_widget_show ( scrolled_window );
 
     liste_comptes_etat = gtk_clist_new ( 1 );
-    g_signal_connect ( G_OBJECT (liste_comptes_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &liste_comptes_etat );
     gtk_clist_set_selection_mode ( GTK_CLIST ( liste_comptes_etat ),
 				   GTK_SELECTION_MULTIPLE );
     gtk_clist_set_column_auto_resize ( GTK_CLIST ( liste_comptes_etat ),
@@ -2744,8 +2710,6 @@
 
     bouton_non_inclusion_virements = gtk_radio_button_new_with_label ( NULL,
 								       _("Do not include transfers") );
-    g_signal_connect ( G_OBJECT (bouton_non_inclusion_virements ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_non_inclusion_virements );
     gtk_box_pack_start ( GTK_BOX ( vbox_onglet ),
 			 bouton_non_inclusion_virements,
 			 FALSE,
@@ -2755,8 +2719,6 @@
 
     bouton_inclusion_virements_actifs_etat = gtk_radio_button_new_with_label ( gtk_radio_button_get_group ( GTK_RADIO_BUTTON ( bouton_non_inclusion_virements )),
 									       _("Include transfers from or to assets or liabilities accounts") );
-    g_signal_connect ( G_OBJECT (bouton_inclusion_virements_actifs_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_inclusion_virements_actifs_etat );
     g_signal_connect_swapped ( G_OBJECT ( bouton_inclusion_virements_actifs_etat ),
 				"toggled",
 				G_CALLBACK ( report_tree_update_style ),
@@ -2770,8 +2732,6 @@
 
     bouton_inclusion_virements_hors_etat = gtk_radio_button_new_with_label ( gtk_radio_button_get_group ( GTK_RADIO_BUTTON ( bouton_non_inclusion_virements )),
 									     _("Include transfers from or to accounts not in this report") );
-    g_signal_connect ( G_OBJECT (bouton_inclusion_virements_hors_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_inclusion_virements_hors_etat );
     g_signal_connect_swapped ( G_OBJECT ( bouton_inclusion_virements_hors_etat ),
 				"toggled",
 				G_CALLBACK ( report_tree_update_style ),
@@ -2785,8 +2745,6 @@
 
     bouton_inclusion_virements_perso = gtk_radio_button_new_with_label ( gtk_radio_button_get_group ( GTK_RADIO_BUTTON ( bouton_non_inclusion_virements )),
 									 _("Include transfers from or to these accounts") );
-    g_signal_connect ( G_OBJECT (bouton_inclusion_virements_perso ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_inclusion_virements_perso );
     g_signal_connect_swapped ( G_OBJECT ( bouton_inclusion_virements_perso ),
 				"toggled",
 				G_CALLBACK ( report_tree_update_style ),
@@ -2799,8 +2757,6 @@
     gtk_widget_show ( bouton_inclusion_virements_perso );
 
     hbox_liste_comptes_virements = gtk_hbox_new ( FALSE, 5 );
-    g_signal_connect ( G_OBJECT (hbox_liste_comptes_virements ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &hbox_liste_comptes_virements );
     gtk_box_pack_start ( GTK_BOX ( vbox_onglet ),
 			 hbox_liste_comptes_virements,
 			 TRUE,
@@ -2821,8 +2777,6 @@
     gtk_widget_show ( scrolled_window );
 
     liste_comptes_virements = gtk_clist_new ( 1 );
-    g_signal_connect ( G_OBJECT (liste_comptes_virements ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &liste_comptes_virements );
     gtk_clist_set_selection_mode ( GTK_CLIST ( liste_comptes_virements ),
 				   GTK_SELECTION_MULTIPLE );
     gtk_clist_set_column_auto_resize ( GTK_CLIST ( liste_comptes_virements ),
@@ -2944,8 +2898,6 @@
     /* on rajoute le bouton exclure les opé non virement */
 
     bouton_exclure_non_virements_etat = gtk_check_button_new_with_label ( _("Exclude the transactions which are not transfers") );
-    g_signal_connect ( G_OBJECT (bouton_exclure_non_virements_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_exclure_non_virements_etat );
     gtk_box_pack_start ( GTK_BOX ( vbox_onglet ),
 			 bouton_exclure_non_virements_etat,
 			 FALSE,
@@ -3050,8 +3002,6 @@
     gtk_widget_show ( hbox );
 
     button_detail_categ = gtk_check_button_new_with_label ( _("Detail categories") );
-    g_signal_connect ( G_OBJECT (button_detail_categ ), "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), &button_detail_categ );
     g_signal_connect_swapped ( G_OBJECT ( button_detail_categ ),
 				"toggled",
 				G_CALLBACK ( report_tree_update_style ),
@@ -3066,8 +3016,6 @@
 
     /* mise en place de la liste et des boutons de détaillage */
     hbox_detaille_categ_etat = gtk_hbox_new ( FALSE, 5 );
-    g_signal_connect ( G_OBJECT (hbox_detaille_categ_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &hbox_detaille_categ_etat );
     gtk_box_pack_start ( GTK_BOX ( vbox_onglet ),
 			 hbox_detaille_categ_etat,
 			 TRUE,
@@ -3116,8 +3064,6 @@
     /* add the categories list */
     tree_view_categ = report_config_create_categ_budget_list ();
     model_categ = gtk_tree_view_get_model (GTK_TREE_VIEW (tree_view_categ));
-    g_signal_connect ( G_OBJECT (tree_view_categ ), "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), &tree_view_categ );
     gtk_container_add ( GTK_CONTAINER ( scrolled_window ),
 			tree_view_categ );
     gtk_widget_show ( tree_view_categ );
@@ -3862,8 +3808,6 @@
 
 
     bouton_detaille_ib_etat = gtk_check_button_new_with_label ( _("Detail budgetary lines") );
-    g_signal_connect ( G_OBJECT (bouton_detaille_ib_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_detaille_ib_etat );
     g_signal_connect_swapped ( G_OBJECT ( bouton_detaille_ib_etat ),
 				"toggled",
 				G_CALLBACK ( report_tree_update_style ),
@@ -3879,8 +3823,6 @@
     /* mise en place de la liste et des boutons de détaillage */
 
     hbox_detaille_ib_etat = gtk_hbox_new ( FALSE, 5 );
-    g_signal_connect ( G_OBJECT (hbox_detaille_ib_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &hbox_detaille_ib_etat );
     gtk_box_pack_start ( GTK_BOX ( vbox_onglet ),
 			 hbox_detaille_ib_etat,
 			 TRUE,
@@ -3929,8 +3871,6 @@
     /* add the budget list */
     tree_view_budget = report_config_create_categ_budget_list ();
     model_budget = gtk_tree_view_get_model (GTK_TREE_VIEW (tree_view_budget));
-    g_signal_connect ( G_OBJECT (tree_view_budget ), "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), &tree_view_budget );
     gtk_container_add ( GTK_CONTAINER ( scrolled_window ),
 			tree_view_budget );
     gtk_widget_show ( tree_view_budget );
@@ -4051,8 +3991,6 @@
     gtk_widget_show ( hbox );
 
     bouton_detaille_tiers_etat = gtk_check_button_new_with_label ( _("Detail payees") );
-    g_signal_connect ( G_OBJECT (bouton_detaille_tiers_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_detaille_tiers_etat );
     g_signal_connect_swapped ( G_OBJECT ( bouton_detaille_tiers_etat ),
 				"toggled",
 				G_CALLBACK ( report_tree_update_style ),
@@ -4068,8 +4006,6 @@
     /* mise en place de la liste et des boutons de détaillage */
 
     hbox_detaille_tiers_etat = gtk_hbox_new ( FALSE, 5 );
-    g_signal_connect ( G_OBJECT (hbox_detaille_tiers_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &hbox_detaille_tiers_etat );
     gtk_box_pack_start ( GTK_BOX ( vbox_onglet ),
 			 hbox_detaille_tiers_etat,
 			 TRUE,
@@ -4116,8 +4052,6 @@
     gtk_widget_show ( scrolled_window );
 
     liste_tiers_etat = gtk_clist_new ( 1 );
-    g_signal_connect ( G_OBJECT (liste_tiers_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &liste_tiers_etat );
     gtk_clist_set_selection_mode ( GTK_CLIST ( liste_tiers_etat ),
 				   GTK_SELECTION_MULTIPLE );
     gtk_clist_set_column_auto_resize ( GTK_CLIST ( liste_tiers_etat ),
@@ -4242,8 +4176,6 @@
     gtk_widget_show ( hbox );
 
     bouton_utilise_texte = gtk_check_button_new_with_label ( _("Select transactions according to content") );
-    g_signal_connect ( G_OBJECT (bouton_utilise_texte ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_utilise_texte );
     g_signal_connect_swapped ( G_OBJECT ( bouton_utilise_texte ),
 				"toggled",
 				G_CALLBACK ( report_tree_update_style ),
@@ -4256,8 +4188,6 @@
     gtk_widget_show ( bouton_utilise_texte );
 
     vbox_generale_textes_etat = gtk_vbox_new ( FALSE, 5 );
-    g_signal_connect ( G_OBJECT (vbox_generale_textes_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &vbox_generale_textes_etat );
     gtk_box_pack_start ( GTK_BOX ( vbox_onglet ),
 			 vbox_generale_textes_etat,
 			 TRUE,
@@ -4287,8 +4217,6 @@
     gtk_widget_show ( scrolled_window );
 
     liste_textes_etat = gtk_vbox_new ( FALSE, 5 );
-    g_signal_connect ( G_OBJECT (liste_textes_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &liste_textes_etat );
     gtk_scrolled_window_add_with_viewport ( GTK_SCROLLED_WINDOW ( scrolled_window ),
 					    liste_textes_etat );
     gtk_widget_show ( liste_textes_etat );
@@ -5324,8 +5252,6 @@
     gtk_widget_show ( hbox );
 
     bouton_utilise_montant = gtk_check_button_new_with_label ( _("Select the transactions by amount") );
-    g_signal_connect ( G_OBJECT (bouton_utilise_montant ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_utilise_montant );
     g_signal_connect_swapped ( G_OBJECT ( bouton_utilise_montant ),
 				"toggled",
 				G_CALLBACK ( report_tree_update_style ),
@@ -5338,8 +5264,6 @@
     gtk_widget_show ( bouton_utilise_montant );
 
     vbox_generale_montants_etat = gtk_vbox_new ( FALSE, 5 );
-    g_signal_connect ( G_OBJECT (vbox_generale_montants_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &vbox_generale_montants_etat );
     gtk_box_pack_start ( GTK_BOX ( vbox_onglet ),
 			 vbox_generale_montants_etat,
 			 TRUE,
@@ -5370,8 +5294,6 @@
     gtk_widget_show ( scrolled_window );
 
     liste_montants_etat = gtk_vbox_new ( FALSE, 5 );
-    g_signal_connect ( G_OBJECT (liste_montants_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &liste_montants_etat );
     gtk_scrolled_window_add_with_viewport ( GTK_SCROLLED_WINDOW ( scrolled_window ),
 					    liste_montants_etat );
     gtk_widget_show ( liste_montants_etat );
@@ -5380,8 +5302,6 @@
     /* on rajoute le bouton exclure les opé dont le montant est nul */
 
     bouton_exclure_ope_nulles_etat = gtk_check_button_new_with_label ( _("Exclude the transactions with a null amount") );
-    g_signal_connect ( G_OBJECT (bouton_exclure_ope_nulles_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_exclure_ope_nulles_etat );
     g_signal_connect_swapped ( G_OBJECT ( bouton_exclure_ope_nulles_etat ),
 				"toggled",
 				G_CALLBACK ( report_tree_update_style ),
@@ -6225,8 +6145,6 @@
 
     bouton_opes_r_et_non_r_etat = gtk_radio_button_new_with_label ( NULL,
 								    _("Select all transactions") );
-    g_signal_connect ( G_OBJECT (bouton_opes_r_et_non_r_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_opes_r_et_non_r_etat );
     gtk_box_pack_start ( GTK_BOX ( frame ),
 			 bouton_opes_r_et_non_r_etat,
 			 FALSE,
@@ -6236,8 +6154,6 @@
 
     bouton_opes_non_r_etat = gtk_radio_button_new_with_label ( gtk_radio_button_get_group ( GTK_RADIO_BUTTON ( bouton_opes_r_et_non_r_etat )),
 							       _("Select unreconciled transactions") );
-    g_signal_connect ( G_OBJECT (bouton_opes_non_r_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_opes_non_r_etat );
     g_signal_connect_swapped ( G_OBJECT ( bouton_opes_non_r_etat ),
 				"toggled",
 				G_CALLBACK ( report_tree_update_style ),
@@ -6251,8 +6167,6 @@
 
     bouton_opes_r_etat = gtk_radio_button_new_with_label ( gtk_radio_button_get_group ( GTK_RADIO_BUTTON ( bouton_opes_r_et_non_r_etat )),
 							   _("Select reconciled transactions") );
-    g_signal_connect ( G_OBJECT (bouton_opes_r_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_opes_r_etat );
     g_signal_connect_swapped ( G_OBJECT ( bouton_opes_r_etat ),
 				"toggled",
 				G_CALLBACK ( report_tree_update_style ),
@@ -6267,8 +6181,6 @@
     frame = new_paddingbox_with_title ( vbox_onglet, FALSE, _("Split of transactions detail") );
 
     bouton_pas_detailler_ventilation = gtk_check_button_new_with_label ( _("Do not detail split of transactions") );
-    g_signal_connect ( G_OBJECT (bouton_pas_detailler_ventilation ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_pas_detailler_ventilation );
     g_signal_connect_swapped ( G_OBJECT ( bouton_pas_detailler_ventilation ),
 				"toggled",
 				G_CALLBACK ( report_tree_update_style ),
@@ -6302,23 +6214,15 @@
     paddingbox = new_paddingbox_with_title ( vbox_onglet, FALSE, _("Group transactions") );
 
     bouton_regroupe_ope_compte_etat = gtk_check_button_new_with_label ( _("Group transactions by account") );
-    g_signal_connect ( G_OBJECT (bouton_regroupe_ope_compte_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_regroupe_ope_compte_etat );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ), bouton_regroupe_ope_compte_etat, FALSE, FALSE, 0 );
 
     bouton_utilise_tiers_etat = gtk_check_button_new_with_label ( _("Group transactions by payee") );
-    g_signal_connect ( G_OBJECT (bouton_utilise_tiers_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_utilise_tiers_etat );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ), bouton_utilise_tiers_etat, FALSE, FALSE, 0 );
 
     button_group_by_categ = gtk_check_button_new_with_label ( _("Group transactions by category") );
-    g_signal_connect ( G_OBJECT (button_group_by_categ ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &button_group_by_categ );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ), button_group_by_categ, FALSE, FALSE, 0 );
 
     bouton_utilise_ib_etat = gtk_check_button_new_with_label ( _("Group transactions by budgetary line") );
-    g_signal_connect ( G_OBJECT (bouton_utilise_ib_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_utilise_ib_etat );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ), bouton_utilise_ib_etat, FALSE, FALSE, 0 );
 
     /* choix du type de classement */
@@ -6349,8 +6253,6 @@
 
 
     liste_type_classement_etat = gtk_ctree_new ( 1, 0 );
-    g_signal_connect ( G_OBJECT (liste_type_classement_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &liste_type_classement_etat );
     gtk_clist_set_column_auto_resize ( GTK_CLIST ( liste_type_classement_etat ),
 				       0,
 				       TRUE );
@@ -6420,14 +6322,10 @@
 
     /* on permet la séparation des revenus et des dépenses */
     bouton_separer_revenus_depenses = gtk_check_button_new_with_label ( _("Split incomes and outgoings") );
-    g_signal_connect ( G_OBJECT (bouton_separer_revenus_depenses ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_separer_revenus_depenses );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ), bouton_separer_revenus_depenses, FALSE, FALSE, 0 );
 
     /* on permet la séparation par exercice */
     bouton_separe_exo_etat = gtk_check_button_new_with_label ( _("Split by financial year") );
-    g_signal_connect ( G_OBJECT (bouton_separe_exo_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_separe_exo_etat );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ), bouton_separe_exo_etat, FALSE, FALSE, 0 );
     g_signal_connect ( G_OBJECT ( radio_button_utilise_exo ),
 			 "toggled",
@@ -6435,8 +6333,6 @@
 			 bouton_separe_exo_etat );
 
     bouton_separe_plages_etat = gtk_check_button_new_with_label ( _("Split by period") );
-    g_signal_connect ( G_OBJECT (bouton_separe_plages_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_separe_plages_etat );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ), bouton_separe_plages_etat, FALSE, FALSE, 0 );
 
     /* on permet ensuite la séparation des résultats par période */
@@ -6459,10 +6355,6 @@
 		       "toggled",
 		       G_CALLBACK (sens_desensitive_pointeur),
 		       bouton_type_separe_plages_etat );
-    g_signal_connect ( G_OBJECT (bouton_type_separe_plages_etat ), 
-               "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), 
-               &bouton_type_separe_plages_etat );
 
     gtk_table_attach ( GTK_TABLE ( table ), bouton_type_separe_plages_etat,
 		       1, 2, 0, 1, GTK_SHRINK | GTK_FILL, 0, 0, 0 );
@@ -6498,10 +6390,6 @@
 		       "toggled",
 		       G_CALLBACK (sens_desensitive_pointeur),
 		       bouton_debut_semaine );
-    g_signal_connect ( G_OBJECT (bouton_debut_semaine ), 
-               "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), 
-               &bouton_debut_semaine );
 
     gtk_table_attach ( GTK_TABLE ( table ), bouton_debut_semaine,
 		       1, 2, 1, 2, GTK_SHRINK | GTK_FILL, 0, 0, 0 );
@@ -6656,8 +6544,6 @@
     gtk_widget_show ( label );
 
     entree_nom_etat = gtk_entry_new ();
-    g_signal_connect ( G_OBJECT (entree_nom_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &entree_nom_etat );
     gtk_box_pack_start ( GTK_BOX ( hbox ),
 			 entree_nom_etat,
 			 FALSE,
@@ -6679,8 +6565,6 @@
 
     bouton_afficher_nb_opes = gtk_check_button_new_with_label ( 
                         _("Display the number of transactions with the totals") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_nb_opes ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_nb_opes );
     gtk_box_pack_start ( GTK_BOX ( hbox ),
 			 bouton_afficher_nb_opes,
 			 FALSE,
@@ -6700,8 +6584,6 @@
     gtk_widget_show ( hbox );
 
     bouton_inclure_dans_tiers = gtk_check_button_new_with_label ( _("Consider the payees of this report as a multiple payee.") );
-    g_signal_connect ( G_OBJECT (bouton_inclure_dans_tiers ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_inclure_dans_tiers );
     gtk_box_pack_start ( GTK_BOX ( hbox ),
 			 bouton_inclure_dans_tiers,
 			 FALSE,
@@ -6730,8 +6612,6 @@
     /* afficher ou non les opés */
 
     bouton_afficher_opes = gtk_check_button_new_with_label ( _("Display transactions") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_opes ), "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_opes );
     gtk_box_pack_start ( GTK_BOX ( vbox_onglet ), bouton_afficher_opes, FALSE, FALSE, 0 );
 
     vbox_show_transactions = gtk_vbox_new (FALSE, 0);
@@ -6750,78 +6630,48 @@
     gtk_box_pack_start ( GTK_BOX (paddingbox), table, FALSE, FALSE, 0 );
 
     bouton_afficher_no_ope = gtk_check_button_new_with_label ( _("transaction number") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_no_ope ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_no_ope );
     gtk_table_attach_defaults ( GTK_TABLE ( table ), bouton_afficher_no_ope, 0, 1, 0, 1 );
 
     bouton_afficher_date_opes = gtk_check_button_new_with_label ( _("date") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_date_opes ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_date_opes );
     gtk_table_attach_defaults ( GTK_TABLE ( table ), bouton_afficher_date_opes, 1, 2, 0, 1 );
 
     bouton_afficher_value_date_opes = gtk_check_button_new_with_label ( _("value date") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_value_date_opes ), "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_value_date_opes );
     gtk_table_attach_defaults ( GTK_TABLE ( table ), bouton_afficher_value_date_opes, 2, 3, 0, 1 );
 
     bouton_afficher_tiers_opes = gtk_check_button_new_with_label ( _("payee") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_tiers_opes ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_tiers_opes );
     gtk_table_attach_defaults ( GTK_TABLE ( table ), bouton_afficher_tiers_opes, 0, 1, 1, 2 );
 
     bouton_afficher_categ_opes = gtk_check_button_new_with_label ( _("category") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_categ_opes ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_categ_opes );
     gtk_table_attach_defaults ( GTK_TABLE ( table ), bouton_afficher_categ_opes, 1, 2, 1, 2 );
 
     bouton_afficher_sous_categ_opes = gtk_check_button_new_with_label ( _("sub-category") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_sous_categ_opes ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_sous_categ_opes );
     gtk_table_attach_defaults ( GTK_TABLE ( table ), bouton_afficher_sous_categ_opes, 2, 3, 1, 2 );
 
     bouton_afficher_ib_opes = gtk_check_button_new_with_label ( _("budgetary line") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_ib_opes ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_ib_opes );
     gtk_table_attach_defaults ( GTK_TABLE ( table ), bouton_afficher_ib_opes, 0, 1, 2, 3 );
 
     bouton_afficher_sous_ib_opes = gtk_check_button_new_with_label ( _("sub-budgetary line") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_sous_ib_opes ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_sous_ib_opes );
     gtk_table_attach_defaults ( GTK_TABLE ( table ), bouton_afficher_sous_ib_opes, 1, 2, 2, 3 );
 
     bouton_afficher_notes_opes = gtk_check_button_new_with_label ( _("notes") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_notes_opes ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_notes_opes );
     gtk_table_attach_defaults ( GTK_TABLE ( table ), bouton_afficher_notes_opes, 2, 3, 2, 3 );
 
     bouton_afficher_type_ope = gtk_check_button_new_with_label ( _("method of payment") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_type_ope ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_type_ope );
     gtk_table_attach_defaults ( GTK_TABLE ( table ), bouton_afficher_type_ope, 0, 1, 3, 4 );
 
     bouton_afficher_no_cheque = gtk_check_button_new_with_label ( _("cheque/transfer number") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_no_cheque ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_no_cheque );
     gtk_table_attach_defaults ( GTK_TABLE ( table ), bouton_afficher_no_cheque, 1, 2, 3, 4 );
 
     bouton_afficher_pc_opes = gtk_check_button_new_with_label ( _("voucher") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_pc_opes ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_pc_opes );
     gtk_table_attach_defaults ( GTK_TABLE ( table ), bouton_afficher_pc_opes, 2, 3, 3, 4 );
 
     bouton_afficher_exo_opes = gtk_check_button_new_with_label ( _("financial year") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_exo_opes ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_exo_opes );
     gtk_table_attach_defaults ( GTK_TABLE ( table ), bouton_afficher_exo_opes, 2, 3, 4, 5 );
 
     bouton_afficher_infobd_opes = gtk_check_button_new_with_label ( _("bank reference") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_infobd_opes ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_infobd_opes );
     gtk_table_attach_defaults ( GTK_TABLE ( table ), bouton_afficher_infobd_opes, 0, 1, 4, 5 );
 
     bouton_afficher_no_rappr = gtk_check_button_new_with_label ( _("reconciliation reference") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_no_rappr ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_no_rappr );
     gtk_table_attach_defaults ( GTK_TABLE ( table ), bouton_afficher_no_rappr, 1, 2, 4, 5  );
 
 
@@ -6829,19 +6679,13 @@
     paddingbox = new_paddingbox_with_title ( vbox_show_transactions, FALSE, _("Columns") );
 
     bouton_afficher_titres_colonnes = gtk_check_button_new_with_label ( _("Display column titles") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_titres_colonnes ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_titres_colonnes );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ), bouton_afficher_titres_colonnes, FALSE, FALSE, 0 );
 
     bouton_titre_changement = gtk_radio_button_new_with_label ( NULL, _("every section") );
-    g_signal_connect ( G_OBJECT (bouton_titre_changement ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_titre_changement );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ), bouton_titre_changement, FALSE, FALSE, 0 );
 
     bouton_titre_en_haut = gtk_radio_button_new_with_label ( gtk_radio_button_get_group ( GTK_RADIO_BUTTON ( bouton_titre_changement )),
 							     _("at the top of the report") );
-    g_signal_connect ( G_OBJECT (bouton_titre_en_haut ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_titre_en_haut );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ), bouton_titre_en_haut, FALSE, FALSE, 0 );
 
 
@@ -6849,8 +6693,6 @@
     paddingbox = new_paddingbox_with_title ( vbox_show_transactions, FALSE, _("Sort transactions by") );
 
     bouton_choix_classement_ope_etat = gtk_option_menu_new ();
-    g_signal_connect ( G_OBJECT (bouton_choix_classement_ope_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_choix_classement_ope_etat );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ), bouton_choix_classement_ope_etat, FALSE, FALSE, 0 );
 
     menu = gtk_menu_new ();
@@ -6947,8 +6789,6 @@
     paddingbox = new_paddingbox_with_title ( vbox_show_transactions, FALSE, _("Clickable transactions") );
 
     bouton_rendre_ope_clickables = gtk_check_button_new_with_label ( _("Make transactions clickable"));
-    g_signal_connect ( G_OBJECT (bouton_rendre_ope_clickables ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_rendre_ope_clickables );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ), bouton_rendre_ope_clickables, FALSE, FALSE, 0 );
 
 
@@ -7009,8 +6849,6 @@
     gtk_widget_show ( label );
 
     bouton_devise_general_etat = gsb_currency_make_combobox (FALSE);
-    g_signal_connect ( G_OBJECT (bouton_devise_general_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_devise_general_etat );
     gtk_box_pack_start ( GTK_BOX ( hbox ),
 			 bouton_devise_general_etat,
 			 FALSE,
@@ -7040,8 +6878,6 @@
     gtk_widget_show ( label );
 
     bouton_devise_tiers_etat = gsb_currency_make_combobox (FALSE);
-    g_signal_connect ( G_OBJECT (bouton_devise_tiers_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_devise_tiers_etat );
     gtk_box_pack_start ( GTK_BOX ( hbox ),
 			 bouton_devise_tiers_etat,
 			 FALSE,
@@ -7072,8 +6908,6 @@
 
 
     bouton_devise_categ_etat = gsb_currency_make_combobox (FALSE);
-    g_signal_connect ( G_OBJECT (bouton_devise_categ_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_devise_categ_etat );
     gtk_box_pack_start ( GTK_BOX ( hbox ),
 			 bouton_devise_categ_etat,
 			 FALSE,
@@ -7103,8 +6937,6 @@
     gtk_widget_show ( label );
 
     bouton_devise_ib_etat = gsb_currency_make_combobox (FALSE);
-    g_signal_connect ( G_OBJECT (bouton_devise_ib_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_devise_ib_etat );
     gtk_box_pack_start ( GTK_BOX ( hbox ),
 			 bouton_devise_ib_etat,
 			 FALSE,
@@ -7134,8 +6966,6 @@
     gtk_widget_show ( label );
 
     bouton_devise_montant_etat = gsb_currency_make_combobox (FALSE);
-    g_signal_connect ( G_OBJECT (bouton_devise_montant_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_devise_montant_etat );
     gtk_box_pack_start ( GTK_BOX ( hbox ),
 			 bouton_devise_montant_etat,
 			 FALSE,
@@ -7162,8 +6992,6 @@
 
     /* on permet d'afficher le name du compte */
     bouton_afficher_noms_comptes = gtk_check_button_new_with_label ( _("Display account name") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_noms_comptes ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_noms_comptes );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ),
 			 bouton_afficher_noms_comptes,
 			 FALSE,
@@ -7176,8 +7004,6 @@
     /* activé uniquement si on a regroupé les opés par compte */
 
     bouton_affiche_sous_total_compte = gtk_check_button_new_with_label ( _("Display a sub-total for each account") );
-    g_signal_connect ( G_OBJECT (bouton_affiche_sous_total_compte ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_affiche_sous_total_compte );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ),
 			 bouton_affiche_sous_total_compte,
 			 FALSE,
@@ -7196,8 +7022,6 @@
 
     /* permet d'afficher le name du tiers, activé uniquement si on utilise les tiers */
     bouton_afficher_noms_tiers = gtk_check_button_new_with_label ( _("Display payee's name") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_noms_tiers ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_noms_tiers );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ),
 			 bouton_afficher_noms_tiers,
 			 FALSE,
@@ -7215,8 +7039,6 @@
 
     bouton_affiche_sous_total_tiers = gtk_check_button_new_with_label ( 
                         _("Display a sub-total for each payee") );
-    g_signal_connect ( G_OBJECT (bouton_affiche_sous_total_tiers ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_affiche_sous_total_tiers );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ),
 			 bouton_affiche_sous_total_tiers,
 			 FALSE,
@@ -7235,8 +7057,6 @@
 
     /* affichage possible du name de la categ */
     bouton_afficher_noms_categ = gtk_check_button_new_with_label ( _("Display the (sub)category's name") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_noms_categ ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_noms_categ );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ),
 			 bouton_afficher_noms_categ,
 			 FALSE,
@@ -7253,8 +7073,6 @@
     /* activé uniquement si on utilise les categ */
 
     bouton_affiche_sous_total_categ = gtk_check_button_new_with_label ( _("Display a sub-total for each category") );
-    g_signal_connect ( G_OBJECT (bouton_affiche_sous_total_categ ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_affiche_sous_total_categ );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ),
 			 bouton_affiche_sous_total_categ,
 			 FALSE,
@@ -7270,8 +7088,6 @@
     /* mise en place du bouton pour afficher les sous categ */
 
     bouton_afficher_sous_categ = gtk_check_button_new_with_label ( _("Display sub-categories") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_sous_categ ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_sous_categ );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ),
 			 bouton_afficher_sous_categ,
 			 FALSE,
@@ -7286,8 +7102,6 @@
 
 
     bouton_affiche_sous_total_sous_categ = gtk_check_button_new_with_label ( _("Display a sub-total for each sub-category") );
-    g_signal_connect ( G_OBJECT (bouton_affiche_sous_total_sous_categ ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_affiche_sous_total_sous_categ );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ),
 			 bouton_affiche_sous_total_sous_categ,
 			 FALSE,
@@ -7302,8 +7116,6 @@
 
 
     bouton_afficher_pas_de_sous_categ = gtk_check_button_new_with_label ( _("Display \" No sub-category\" if none") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_pas_de_sous_categ ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_pas_de_sous_categ );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ),
 			 bouton_afficher_pas_de_sous_categ,
 			 FALSE,
@@ -7321,8 +7133,6 @@
     paddingbox = new_paddingbox_with_title ( vbox_onglet, FALSE, _("Budgetary lines") );
 
     bouton_afficher_noms_ib = gtk_check_button_new_with_label ( _("Display the (sub-)budget line name") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_noms_ib ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_noms_ib );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ),
 			 bouton_afficher_noms_ib,
 			 FALSE,
@@ -7339,8 +7149,6 @@
     /* activé uniquement si on utilise les ib */
 
     bouton_affiche_sous_total_ib = gtk_check_button_new_with_label ( _("Display a sub-total for each budgetary line") );
-    g_signal_connect ( G_OBJECT (bouton_affiche_sous_total_ib ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_affiche_sous_total_ib );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ),
 			 bouton_affiche_sous_total_ib,
 			 FALSE,
@@ -7356,8 +7164,6 @@
     /* mise en place du bouton pour afficher les sous categ */
 
     bouton_afficher_sous_ib = gtk_check_button_new_with_label ( _("Display sub-budget lines") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_sous_ib ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_sous_ib );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ),
 			 bouton_afficher_sous_ib,
 			 FALSE,
@@ -7371,8 +7177,6 @@
 			 bouton_afficher_sous_ib );
 
     bouton_affiche_sous_total_sous_ib = gtk_check_button_new_with_label ( _("Display a sub-total for each sub-budget line") );
-    g_signal_connect ( G_OBJECT (bouton_affiche_sous_total_sous_ib ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_affiche_sous_total_sous_ib );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ),
 			 bouton_affiche_sous_total_sous_ib,
 			 FALSE,
@@ -7387,8 +7191,6 @@
 
 
     bouton_afficher_pas_de_sous_ib = gtk_check_button_new_with_label ( _("Display \"No sub-budgetary line\" if none") );
-    g_signal_connect ( G_OBJECT (bouton_afficher_pas_de_sous_ib ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_afficher_pas_de_sous_ib );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ),
 			 bouton_afficher_pas_de_sous_ib,
 			 FALSE,
@@ -7422,8 +7224,6 @@
     /* sélectionner */
 
     bouton_detaille_mode_paiement_etat = gtk_check_button_new_with_label ( _("Select the transactions by method of payment"));
-    g_signal_connect ( G_OBJECT (bouton_detaille_mode_paiement_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_detaille_mode_paiement_etat );
     g_signal_connect_swapped ( G_OBJECT ( bouton_detaille_mode_paiement_etat ),
 				"toggled",
 				G_CALLBACK ( report_tree_update_style ),
@@ -7436,8 +7236,6 @@
     gtk_widget_show ( bouton_detaille_mode_paiement_etat );
 
     vbox_mode_paiement_etat = gtk_vbox_new ( FALSE, 5 );
-    g_signal_connect ( G_OBJECT (vbox_mode_paiement_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &vbox_mode_paiement_etat );
     gtk_box_pack_start ( GTK_BOX ( vbox_onglet ),
 			 vbox_mode_paiement_etat,
 			 TRUE,
@@ -7484,8 +7282,6 @@
     gtk_widget_show ( scrolled_window );
 
     liste_mode_paiement_etat = gtk_clist_new ( 1 );
-    g_signal_connect ( G_OBJECT (liste_mode_paiement_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &liste_mode_paiement_etat );
     gtk_clist_set_selection_mode ( GTK_CLIST ( liste_mode_paiement_etat ),
 				   GTK_SELECTION_MULTIPLE );
     gtk_clist_set_column_auto_resize ( GTK_CLIST ( liste_mode_paiement_etat ),

Index: gsb_assistant_archive_export.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_assistant_archive_export.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- gsb_assistant_archive_export.c	27 Apr 2009 19:41:03 -0000	1.17
+++ gsb_assistant_archive_export.c	29 Aug 2009 08:36:41 -0000	1.18
@@ -1,8 +1,8 @@
 /* ************************************************************************** */
 /*                                                                            */
-/*     Copyright (C)	2000-2007 Cédric Auger (cedric at grisbi.org)	      */
-/*			2003-2008 Benjamin Drieu (bdrieu at april.org)	      */
-/* 			http://www.grisbi.org				      */
+/*     Copyright (C)    2000-2007 Cédric Auger (cedric at grisbi.org)            */
+/*          2003-2008 Benjamin Drieu (bdrieu at april.org)                       */
+/*          http://www.grisbi.org                                             */
 /*                                                                            */
 /*  This program is free software; you can redistribute it and/or modify      */
 /*  it under the terms of the GNU General Public License as published by      */
@@ -183,8 +183,6 @@
 					G_TYPE_STRING,
 					G_TYPE_INT );
     archive_export_treeview = gtk_tree_view_new_with_model ( GTK_TREE_MODEL (archive_model) );
-    g_signal_connect ( G_OBJECT (archive_export_treeview ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &archive_export_treeview );
     gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (archive_export_treeview), TRUE);
     gtk_container_add ( GTK_CONTAINER (scrolled_window),
 			archive_export_treeview );
@@ -289,8 +287,6 @@
     gtk_container_set_border_width ( GTK_CONTAINER(vbox), 12 );
 
     archive_export_label = gtk_label_new ( NULL );
-    g_signal_connect ( G_OBJECT (archive_export_label ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &archive_export_label );
     gtk_misc_set_alignment ( GTK_MISC ( archive_export_label ), 0, 0.5);
     gtk_label_set_justify ( GTK_LABEL ( archive_export_label ), GTK_JUSTIFY_LEFT );
     gtk_box_pack_start ( GTK_BOX ( vbox ), archive_export_label, FALSE, FALSE, 0 );
@@ -303,16 +299,12 @@
 
     /* Combo box */
     archive_export_combobox = gtk_combo_box_new_text();
-    g_signal_connect ( G_OBJECT (archive_export_combobox ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &archive_export_combobox );
     gtk_combo_box_append_text ( GTK_COMBO_BOX(archive_export_combobox), _("Grisbi (GSB) format" ) );
     gtk_combo_box_append_text ( GTK_COMBO_BOX(archive_export_combobox), _("QIF format" ) );
     gtk_combo_box_append_text ( GTK_COMBO_BOX(archive_export_combobox), _("CSV format" ) );
     gtk_box_pack_start ( GTK_BOX ( hbox ), archive_export_combobox, TRUE, TRUE, 0 );
 
     archive_export_filechooser = gtk_file_chooser_widget_new ( GTK_FILE_CHOOSER_ACTION_SAVE );
-    g_signal_connect ( G_OBJECT (archive_export_filechooser ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &archive_export_filechooser );
     gtk_file_chooser_set_extra_widget ( GTK_FILE_CHOOSER(archive_export_filechooser), hbox );
     gtk_box_pack_start ( GTK_BOX ( vbox ), archive_export_filechooser, TRUE, TRUE, 0 );
 
@@ -338,8 +330,6 @@
     gtk_container_set_border_width ( GTK_CONTAINER(vbox), 12 );
 
     archive_export_label_success = gtk_label_new ( NULL );
-    g_signal_connect ( G_OBJECT (archive_export_label_success ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &archive_export_label_success );
     gtk_misc_set_alignment ( GTK_MISC (archive_export_label_success), 0, 0.5);
     gtk_label_set_justify ( GTK_LABEL (archive_export_label_success), GTK_JUSTIFY_LEFT );
     gtk_box_pack_start ( GTK_BOX ( vbox ), archive_export_label_success, FALSE, FALSE, 0 );

Index: print_transactions_list.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/print_transactions_list.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- print_transactions_list.c	14 Nov 2008 21:27:09 -0000	1.12
+++ print_transactions_list.c	29 Aug 2009 08:36:41 -0000	1.13
@@ -38,6 +38,7 @@
 #include "./transaction_model.h"
 #include "./custom_list.h"
 #include "./include.h"
+#include "./structures.h"
 #include "./erreur.h"
 /*END_INCLUDE*/
 

Index: navigation.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/navigation.c,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -d -r1.128 -r1.129
--- navigation.c	24 Aug 2009 13:46:54 -0000	1.128
+++ navigation.c	29 Aug 2009 08:36:41 -0000	1.129
@@ -156,8 +156,6 @@
 
     /* Create the view */
     navigation_tree_view = gtk_tree_view_new ();
-    g_signal_connect ( G_OBJECT (navigation_tree_view ), "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), &navigation_tree_view );
     gtk_tree_view_set_headers_visible ( GTK_TREE_VIEW(navigation_tree_view), FALSE );
     gtk_container_add ( GTK_CONTAINER(sw), navigation_tree_view );
 
@@ -371,14 +369,10 @@
 
     /* Create calendar (hidden for now). */
     scheduler_calendar = gsb_calendar_new ();
-    g_signal_connect ( G_OBJECT (scheduler_calendar ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &scheduler_calendar );
     gtk_box_pack_end ( GTK_BOX(vbox), scheduler_calendar, FALSE, FALSE, 0 );
 
     /* Create reconcile stuff (hidden for now). */
     reconcile_panel = gsb_reconcile_create_box ();
-    g_signal_connect ( G_OBJECT (reconcile_panel ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &reconcile_panel );
     gtk_box_pack_end ( GTK_BOX(vbox), reconcile_panel, FALSE, FALSE, 0 );
 
     gtk_widget_show_all ( vbox );

Index: gsb_calendar.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_calendar.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- gsb_calendar.c	10 Jan 2009 18:50:21 -0000	1.4
+++ gsb_calendar.c	29 Aug 2009 08:36:41 -0000	1.5
@@ -1,9 +1,9 @@
 /* ************************************************************************** */
 /*                                                                            */
-/*     Copyright (C)	2000-2008 Cédric Auger (cedric at grisbi.org)	      */
-/*			2004 Alain Portal (aportal at univ-montp2.fr) 	      */
-/*			2004-2007 Benjamin Drieu (bdrieu at april.org)  	      */
-/* 			http://www.grisbi.org   			      */
+/*     Copyright (C)    2000-2008 Cédric Auger (cedric at grisbi.org)            */
+/*          2004 Alain Portal (aportal at univ-montp2.fr)                        */
+/*          2004-2007 Benjamin Drieu (bdrieu at april.org)                       */
+/*          http://www.grisbi.org                                             */
 /*                                                                            */
 /*  This program is free software; you can redistribute it and/or modify      */
 /*  it under the terms of the GNU General Public License as published by      */
@@ -68,8 +68,6 @@
     time ( &temps );
 
     scheduled_calendar = gtk_calendar_new ();
-    g_signal_connect ( G_OBJECT (scheduled_calendar ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &scheduled_calendar );
     gtk_calendar_select_month ( GTK_CALENDAR ( scheduled_calendar ),
 				localtime ( &temps ) -> tm_mon,
 				localtime ( &temps ) -> tm_year + 1900 );

Index: etats_onglet.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/etats_onglet.c,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -d -r1.135 -r1.136
--- etats_onglet.c	8 May 2009 17:21:15 -0000	1.135
+++ etats_onglet.c	29 Aug 2009 08:36:41 -0000	1.136
@@ -1,8 +1,8 @@
 /* ************************************************************************** */
 /*                                                                            */
-/*     Copyright (C)	2000-2008 Cedric Auger (cedric at grisbi.org) */
-/*			2002-2008 Benjamin Drieu (bdrieu at april.org) */
-/* 			http://www.grisbi.org				      */
+/*     Copyright (C)    2000-2008 Cedric Auger (cedric at grisbi.org)            */
+/*          2002-2008 Benjamin Drieu (bdrieu at april.org)                       */
+/*          http://www.grisbi.org                                             */
 /*                                                                            */
 /*  This program is free software; you can redistribute it and/or modify      */
 /*  it under the terms of the GNU General Public License as published by      */
@@ -139,8 +139,6 @@
 							 _("Export"),
 							 G_CALLBACK (exporter_etat),
 							 NULL );
-    g_signal_connect ( G_OBJECT (bouton_exporter_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_exporter_etat );
     gtk_widget_set_tooltip_text ( GTK_WIDGET (bouton_exporter_etat),
 				  SPACIFY(_("Export selected report to egsb, HTML, Tex, CSV, PostScript")));
     gtk_box_pack_start ( GTK_BOX ( hbox2 ), bouton_exporter_etat, FALSE, FALSE, 0 );
@@ -152,8 +150,6 @@
 							  _("Print"),
 							  G_CALLBACK (print_report),
 							  NULL );
-    g_signal_connect ( G_OBJECT (bouton_imprimer_etat ), "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), &bouton_imprimer_etat );
     gtk_widget_set_tooltip_text ( GTK_WIDGET (bouton_imprimer_etat),
 				  SPACIFY(_("Print selected report")));
 
@@ -163,8 +159,6 @@
 							  _("Print"),
 							  G_CALLBACK (impression_etat_courant),
 							  NULL );
-    g_signal_connect ( G_OBJECT (bouton_imprimer_etat ), "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), &bouton_imprimer_etat );
 #endif /* GTK_CHECK_VERSION(2,10,0) */
     gtk_box_pack_start ( GTK_BOX ( hbox2 ), bouton_imprimer_etat, FALSE, FALSE, 0 );
 
@@ -173,8 +167,6 @@
 							 _("Delete"),
 							 G_CALLBACK ( efface_etat ),
 							 NULL );
-    g_signal_connect ( G_OBJECT (bouton_effacer_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_effacer_etat );
     gtk_widget_set_tooltip_text ( GTK_WIDGET (bouton_effacer_etat),
 				   SPACIFY(_("Delete selected report")));
     gtk_box_pack_start ( GTK_BOX ( hbox2 ), bouton_effacer_etat, FALSE, FALSE, 0 );
@@ -184,8 +176,6 @@
 							      _("Properties"),
 							      G_CALLBACK (personnalisation_etat),
 							      NULL ),
-    g_signal_connect ( G_OBJECT (bouton_personnaliser_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_personnaliser_etat );
     gtk_widget_set_tooltip_text ( GTK_WIDGET (bouton_personnaliser_etat),
 				  SPACIFY(_("Edit selected report")));
     gtk_box_pack_start ( GTK_BOX ( hbox2 ), bouton_personnaliser_etat, FALSE, FALSE, 0 );
@@ -195,8 +185,6 @@
 							  _("Clone"),
 							  G_CALLBACK (dupliquer_etat),
 							  NULL ),
-    g_signal_connect ( G_OBJECT (bouton_dupliquer_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &bouton_dupliquer_etat );
     gtk_widget_set_tooltip_text ( GTK_WIDGET (bouton_dupliquer_etat),
 				  SPACIFY(_("Clone selected report")));
     gtk_box_pack_start ( GTK_BOX ( hbox2 ), bouton_dupliquer_etat, FALSE, FALSE, 0 );
@@ -219,14 +207,10 @@
 
     tab = gtk_vbox_new ( FALSE, 6 );
     reports_toolbar = gsb_gui_create_report_toolbar();
-    g_signal_connect ( G_OBJECT (reports_toolbar ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &reports_toolbar );
     gtk_box_pack_start ( GTK_BOX ( tab ), reports_toolbar, FALSE, FALSE, 0 );
 
     /* création du notebook contenant l'état et la config */
     notebook_etats = gtk_notebook_new ();
-    g_signal_connect ( G_OBJECT (notebook_etats ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &notebook_etats );
     gtk_notebook_set_show_tabs ( GTK_NOTEBOOK ( notebook_etats ), FALSE );
     gtk_notebook_set_show_border ( GTK_NOTEBOOK(notebook_etats), FALSE );
     gtk_box_pack_start ( GTK_BOX ( tab ), notebook_etats, TRUE, TRUE, 0 );
@@ -238,8 +222,6 @@
 
     /* On met une scrolled window qui sera remplit par l'état */
     scrolled_window_etat = gtk_scrolled_window_new ( FALSE, FALSE );
-    g_signal_connect ( G_OBJECT (scrolled_window_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &scrolled_window_etat );
     gtk_scrolled_window_set_shadow_type ( GTK_SCROLLED_WINDOW(scrolled_window_etat),
 					  GTK_SHADOW_NONE );
     gtk_scrolled_window_set_policy ( GTK_SCROLLED_WINDOW ( scrolled_window_etat ),

Index: tiers_onglet.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/tiers_onglet.c,v
retrieving revision 1.164
retrieving revision 1.165
diff -u -d -r1.164 -r1.165
--- tiers_onglet.c	28 Aug 2009 20:51:38 -0000	1.164
+++ tiers_onglet.c	29 Aug 2009 08:36:41 -0000	1.165
@@ -168,8 +168,6 @@
 
     /* We create the gtktreeview and model early so that they can be referenced. */
     payee_tree = gtk_tree_view_new();
-    g_signal_connect ( G_OBJECT (payee_tree ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &payee_tree );
     payee_tree_model = gtk_tree_store_new ( META_TREE_NUM_COLUMNS, META_TREE_COLUMN_TYPES );
 
     /* on y ajoute la barre d'outils */

Index: barre_outils.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/barre_outils.c,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -d -r1.128 -r1.129
--- barre_outils.c	13 May 2009 20:15:54 -0000	1.128
+++ barre_outils.c	29 Aug 2009 08:36:40 -0000	1.129
@@ -459,10 +459,7 @@
 							    _("Delete"),
 							    G_CALLBACK ( gsb_scheduler_list_delete_scheduled_transaction_by_menu ),
 							    NULL );
-    g_signal_connect ( G_OBJECT (scheduler_button_delete ), "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), &scheduler_button_delete );
-    gtk_widget_set_sensitive ( scheduler_button_delete,
-			       FALSE );
+    gtk_widget_set_sensitive ( scheduler_button_delete, FALSE );
 #if GTK_CHECK_VERSION(2,12,0)
     gtk_widget_set_tooltip_text ( GTK_WIDGET (scheduler_button_delete),
 				  SPACIFY(_("Delete selected scheduled transaction")));
@@ -474,10 +471,7 @@
 							  _("Edit"),
 							  G_CALLBACK ( gsb_scheduler_list_edit_transaction ),
 							  0 );
-    g_signal_connect ( G_OBJECT (scheduler_button_edit ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &scheduler_button_edit );
-    gtk_widget_set_sensitive ( scheduler_button_edit,
-			       FALSE );
+    gtk_widget_set_sensitive ( scheduler_button_edit, FALSE );
 #if GTK_CHECK_VERSION(2,12,0)
     gtk_widget_set_tooltip_text ( GTK_WIDGET (scheduler_button_edit),
 				SPACIFY(_("Edit selected transaction")));
@@ -490,8 +484,6 @@
 									"comments.png",
 									G_CALLBACK ( gsb_scheduler_list_show_notes ),
 									0 );
-    g_signal_connect ( G_OBJECT (scheduler_display_hide_comments ), "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), &scheduler_display_hide_comments );
 #if GTK_CHECK_VERSION(2,12,0)
     gtk_widget_set_tooltip_text ( GTK_WIDGET (scheduler_display_hide_comments),
 				  SPACIFY(_("Display scheduled transactions comments")));
@@ -505,10 +497,7 @@
 							     _("Execute"),
 							     G_CALLBACK ( gsb_scheduler_list_execute_transaction ),
 							     NULL ); 
-    g_signal_connect ( G_OBJECT (scheduler_button_execute ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &scheduler_button_execute );
-    gtk_widget_set_sensitive ( scheduler_button_execute,
-			       FALSE );
+    gtk_widget_set_sensitive ( scheduler_button_execute, FALSE );
 #if GTK_CHECK_VERSION(2,12,0)
     gtk_widget_set_tooltip_text ( GTK_WIDGET (scheduler_button_execute),
 				  SPACIFY(_("Execute current scheduled transaction")));

Index: categories_onglet.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/categories_onglet.c,v
retrieving revision 1.197
retrieving revision 1.198
diff -u -d -r1.197 -r1.198
--- categories_onglet.c	28 Aug 2009 20:51:38 -0000	1.197
+++ categories_onglet.c	29 Aug 2009 08:36:40 -0000	1.198
@@ -93,8 +93,6 @@
 
     /* We create the gtktreeview and model early so that they can be referenced. */
     arbre_categ = gtk_tree_view_new();
-    g_signal_connect ( G_OBJECT (arbre_categ ), "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), &arbre_categ );
     categ_tree_model = gtk_tree_store_new ( META_TREE_NUM_COLUMNS, META_TREE_COLUMN_TYPES );
 
     /* We create the main vbox */

Index: etats_gtktable.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/etats_gtktable.c,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -d -r1.99 -r1.100
--- etats_gtktable.c	27 Jun 2009 19:17:22 -0000	1.99
+++ etats_gtktable.c	29 Aug 2009 08:36:41 -0000	1.100
@@ -1,8 +1,8 @@
 /* ************************************************************************** */
 /*                                                                            */
-/*     Copyright (C)	2000-2008 Cédric Auger (cedric at grisbi.org)	      */
-/*			2004-2008 Benjamin Drieu (bdrieu at april.org)	      */
-/* 			http://www.grisbi.org				      */
+/*     Copyright (C)    2000-2008 Cédric Auger (cedric at grisbi.org)            */
+/*          2004-2008 Benjamin Drieu (bdrieu at april.org)                       */
+/*          http://www.grisbi.org                                             */
 /*                                                                            */
 /*  This program is free software; you can redistribute it and/or modify      */
 /*  it under the terms of the GNU General Public License as published by      */
@@ -250,8 +250,6 @@
 	gtk_widget_hide ( GTK_BIN ( scrolled_window_etat ) -> child );
 
     table_etat = gtk_table_new ( 0, nb_colonnes, FALSE );
-    g_signal_connect ( G_OBJECT (table_etat ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &table_etat );
     gtk_table_set_col_spacings ( GTK_TABLE ( table_etat ), 5 );
 
     return 1;

Index: gsb_status.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_status.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- gsb_status.c	27 Apr 2009 19:41:03 -0000	1.19
+++ gsb_status.c	29 Aug 2009 08:36:41 -0000	1.20
@@ -1,7 +1,7 @@
 /* ************************************************************************** */
 /*                                                                            */
-/*     Copyright (C)	2005-2008 Benjamin Drieu (bdrieu at april.org)	      */
-/* 			http://www.grisbi.org				      */
+/*     Copyright (C)    2005-2008 Benjamin Drieu (bdrieu at april.org)           */
+/*          http://www.grisbi.org                                             */
 /*                                                                            */
 /*  This program is free software; you can redistribute it and/or modify      */
 /*  it under the terms of the GNU General Public License as published by      */
@@ -37,7 +37,6 @@
 /*END_STATIC*/
 
 /*START_EXTERN*/
-extern gint max;
 extern GtkWidget *window;
 /*END_EXTERN*/
 
@@ -74,8 +73,6 @@
 GtkWidget * gsb_new_statusbar ()
 {
     main_statusbar = gtk_statusbar_new ();
-    g_signal_connect ( G_OBJECT (main_statusbar ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &main_statusbar );
     context_id = gtk_statusbar_get_context_id ( GTK_STATUSBAR (main_statusbar), "Grisbi" );
     message_id = -1;
 
@@ -128,122 +125,6 @@
 }
 
 
-
-/**
- * Display a progress bar in the status bar.  Does not set any value.
- */
-/* TODO dOm : this function seems not to be used. Is it possible to remove it 
-void gsb_status_show_progress ()
-{
-    if ( progress_bar )
-    {
-	return;
-    }
-
-    progress_bar = gtk_progress_bar_new();
-    g_signal_connect ( G_OBJECT (progress_bar ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &progress_bar );
-    gtk_box_pack_start ( GTK_BOX ( main_statusbar ), progress_bar, FALSE, FALSE, 6 );
-    gtk_widget_show ( progress_bar );
-}
-*/
-
-
-
-/**
- * Set value of the progress bar in status bar.  If no progress bar
- * has been shown precedently (via gsb_status_show_progress()), do
- * nothing.
- *
- * \param ratio		Fraction value to set.
- * \param max		Maximum possible value.
- * 
- * To set the progress bar to half of its size, simply use something
- * like gsb_status_set_progress ( 0.5, 1.0 ).
- */
-/* TODO dOm : this function seems not to be used. Is it possible to remove it 
-void gsb_status_set_progress ( gdouble ratio, gdouble max )
-{
-    if ( ! progress_bar )
-    {
-	return;
-    }
-
-    gtk_progress_bar_set_fraction ( GTK_PROGRESS_BAR (progress_bar), ratio / max );
-}
-*/
-
-
-
-/**
- * Remove progress bar from status bar.
- */
-/* TODO dOm : this function seems not to be used. Is it possible to remove it 
-void gsb_status_remove_progress (  )
-{
-    if ( ! progress_bar )
-    {
-	return;
-    }
-
-    gtk_widget_destroy ( progress_bar );
-    progress_bar = NULL;
-}
-*/
-
-
-
-/**
- * Increment the status bar.  This should be called as a timeout
- * function.
- *
- * \return TRUE
- */
-/* TODO dOm : this function seems not to be used. Is it possible to remove it 
-gboolean gsb_status_pulse (  )
-{
-    if ( ! progress_bar )
-    {
-	return TRUE;
-    }
-
-    gtk_progress_bar_pulse ( GTK_PROGRESS_BAR (progress_bar));
-    while ( gtk_events_pending () ) gtk_main_iteration ( );
-
-    !* As this is a timeout function, return TRUE so that it
-     * continues to get called *!
-    return TRUE;
-}
-*/
-
-
-
-/**
- * Display the progress bar and add a timeout function to update it
- * continuously.
- */
-/* TODO dOm : this function seems not to be used. Is it possible to remove it 
-void gsb_status_start_activity (  )
-{
-    gsb_status_show_progress ();
-    timer_id = g_timeout_add ( 100, gsb_status_pulse, NULL );
-}
-*/
-
-
-
-/**
- * Remove the progress bar and associated timeout.
- */
-/* TODO dOm : this function seems not to be used. Is it possible to remove it 
-void gsb_status_stop_activity (  )
-{
-    g_source_remove ( timer_id );
-    gsb_status_remove_progress ();
-}
-*/
-
-
 /**
  * Change current cursor to a animated watch (if animation supported
  * by environment).

Index: gsb_data_account.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_data_account.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -d -r1.88 -r1.89
--- gsb_data_account.c	24 Aug 2009 13:11:48 -0000	1.88
+++ gsb_data_account.c	29 Aug 2009 08:36:41 -0000	1.89
@@ -45,8 +45,8 @@
 #include "./gsb_transactions_list.h"
 #include "./gsb_data_transaction.h"
 #include "./include.h"
-#include "./erreur.h"
 #include "./structures.h"
+#include "./erreur.h"
 #include "./gsb_real.h"
 /*END_INCLUDE*/
 

Index: balance_estimate_tab.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/balance_estimate_tab.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- balance_estimate_tab.c	27 Apr 2009 19:41:03 -0000	1.22
+++ balance_estimate_tab.c	29 Aug 2009 08:36:40 -0000	1.23
@@ -1,21 +1,24 @@
-/*     Copyright (C) 2007 Dominique Parisot
- * 			zionly at free.org
- * 			http://www.grisbi.org
- *
- *     This program is free software; you can redistribute it and/or modify
- *     it under the terms of the GNU General Public License as published by
- *     the Free Software Foundation; either version 2 of the License, or
- *     (at your option) any later version.
- *
- *     This program is distributed in the hope that it will be useful,
- *     but WITHOUT ANY WARRANTY; without even the implied warranty of
- *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *     GNU General Public License for more details.
- *
- *     You should have received a copy of the GNU General Public License
- *     along with this program; if not, write to the Free Software
- *     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- */
+/* ************************************************************************** */
+/*                                                                            */
+/*     Copyright (C) 2007 Dominique Parisot                                   */
+/*          zionly at free.org                                                   */
+/*          http://www.grisbi.org                                             */
+/*                                                                            */
+/*  This program is free software; you can redistribute it and/or modify      */
+/*  it under the terms of the GNU General Public License as published by      */
+/*  the Free Software Foundation; either version 2 of the License, or         */
+/*  (at your option) any later version.                                       */
+/*                                                                            */
+/*  This program is distributed in the hope that it will be useful,           */
+/*  but WITHOUT ANY WARRANTY; without even the implied warranty of            */
+/*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             */
+/*  GNU General Public License for more details.                              */
+/*                                                                            */
+/*  You should have received a copy of the GNU General Public License         */
+/*  along with this program; if not, write to the Free Software               */
+/*  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
+/*                                                                            */
+/* ************************************************************************** */
 
 /* Ajout du 18/12/2008 Pierre Biava option de compilation :
  * ./configure --with-balance-estimate */
@@ -150,8 +153,6 @@
     GtkWidget* notebook = gtk_notebook_new();
     gtk_widget_show(notebook);
     bet_container = notebook;
-    g_signal_connect ( G_OBJECT (bet_container ), "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), &bet_container );
 
     /****** Parameter page ******/
     GtkWidget *widget = gtk_label_new(_("Estimate parameters"));

Index: gsb_assistant_archive.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_assistant_archive.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- gsb_assistant_archive.c	24 Aug 2009 13:11:48 -0000	1.37
+++ gsb_assistant_archive.c	29 Aug 2009 08:36:41 -0000	1.38
@@ -247,8 +247,6 @@
 			 label,
  			 FALSE, FALSE, 0 );
     initial_date = gsb_calendar_entry_new (FALSE);
-    g_signal_connect ( G_OBJECT (initial_date ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &initial_date );
     g_signal_connect_object ( G_OBJECT (initial_date),
 			      "changed",
 			      G_CALLBACK (gsb_assistant_archive_update_labels),
@@ -265,8 +263,6 @@
 			 label,
 			 FALSE, FALSE, 0 );
     final_date = gsb_calendar_entry_new (FALSE);
-    g_signal_connect ( G_OBJECT (final_date ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &final_date );
     g_signal_connect_object ( G_OBJECT (final_date),
 			      "changed",
 			      G_CALLBACK (gsb_assistant_archive_update_labels),
@@ -313,8 +309,6 @@
 			 label,
 			 FALSE, FALSE, 0 );
     financial_year_button = gsb_fyear_make_combobox (FALSE);
-    g_signal_connect ( G_OBJECT (financial_year_button ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &financial_year_button );
     g_signal_connect_object ( G_OBJECT (financial_year_button),
 			      "changed",
 			      G_CALLBACK (gsb_assistant_archive_update_labels),
@@ -362,8 +356,6 @@
 			 label,
 			 FALSE, FALSE, 0 );
     report_button = gsb_report_make_combobox ();
-    g_signal_connect ( G_OBJECT (report_button ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &report_button );
     g_signal_connect_object ( G_OBJECT (report_button),
 			      "changed",
 			      G_CALLBACK (gsb_assistant_archive_update_labels),
@@ -375,8 +367,6 @@
     gtk_widget_set_sensitive ( hbox, FALSE );
 
     label_archived = gtk_label_new (NULL);
-    g_signal_connect ( G_OBJECT (label_archived ), "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), &label_archived );
     gtk_box_pack_start ( GTK_BOX (vbox),
 			 label_archived,
 			 FALSE, FALSE, 0 );
@@ -421,8 +411,6 @@
 			 FALSE, FALSE, 0 );
 
     name_entry = gtk_entry_new ();
-    g_signal_connect ( G_OBJECT (name_entry ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &name_entry );
     gtk_widget_set_size_request ( name_entry, 400, -1 );
     g_signal_connect_object ( G_OBJECT (name_entry),
 			      "changed",
@@ -461,15 +449,11 @@
     /* we create 2 vbox, one for congratulation, one for failed,
      * only one will be showed */
     vbox_congratulation = gtk_vbox_new (FALSE, 0);
-    g_signal_connect ( G_OBJECT (vbox_congratulation ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &vbox_congratulation );
     gtk_box_pack_start ( GTK_BOX (page),
 			 vbox_congratulation,
 			 TRUE, TRUE, 0 );
 
     congratulations_view = gtk_text_view_new ();
-    g_signal_connect ( G_OBJECT (congratulations_view ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &congratulations_view );
     gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (congratulations_view), GTK_WRAP_WORD);
     gtk_text_view_set_editable ( GTK_TEXT_VIEW(congratulations_view), FALSE );
     gtk_text_view_set_cursor_visible ( GTK_TEXT_VIEW(congratulations_view), FALSE );
@@ -505,15 +489,11 @@
 
     /* make the failed box */
     vbox_failed = gtk_vbox_new (FALSE, 0 );
-    g_signal_connect ( G_OBJECT (vbox_failed ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &vbox_failed );
     gtk_box_pack_start ( GTK_BOX (page),
 			 vbox_failed,
 			 TRUE, TRUE, 0 );
 
     failed_view = gtk_text_view_new ();
-    g_signal_connect ( G_OBJECT (failed_view ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &failed_view );
     gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (failed_view), GTK_WRAP_WORD);
     gtk_text_view_set_editable ( GTK_TEXT_VIEW(failed_view), FALSE );
     gtk_text_view_set_cursor_visible ( GTK_TEXT_VIEW(failed_view), FALSE );

Index: gsb_assistant_first.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_assistant_first.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- gsb_assistant_first.c	28 Aug 2009 20:51:38 -0000	1.26
+++ gsb_assistant_first.c	29 Aug 2009 08:36:41 -0000	1.27
@@ -102,7 +102,7 @@
 
     /* now we launch the assistant */
     return_value = gsb_assistant_run (assistant);
-    gtk_widget_hide (assistant);
+    gtk_widget_destroy (assistant);
 
     if (return_value == GTK_RESPONSE_CANCEL)
     {
@@ -248,8 +248,6 @@
     /* crypt the grisbi file */
     button = gsb_automem_checkbutton_new ( _("Encrypt Grisbi file"),
 					   &(etat.crypt_file), G_CALLBACK (gsb_gui_encryption_toggled), NULL);
-    g_signal_connect ( G_OBJECT (button ), "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), &button );
     gtk_box_pack_start ( GTK_BOX ( paddingbox ), button,
 			 FALSE, FALSE, 0 );
 
@@ -318,12 +316,8 @@
     GtkWidget *page;
     GtkWidget *vbox;
     GtkWidget *label;
-    //~ GtkWidget *entry;
-    //~ GtkWidget *button;
     GtkWidget *paddingbox;
-    //~ GtkWidget *table;
     GtkSizeGroup *size_group;
-    //~ gchar *text;
     GtkWidget *hbox;
     GtkWidget *image;
 

Index: imputation_budgetaire.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/imputation_budgetaire.c,v
retrieving revision 1.159
retrieving revision 1.160
diff -u -d -r1.159 -r1.160
--- imputation_budgetaire.c	28 Aug 2009 20:51:38 -0000	1.159
+++ imputation_budgetaire.c	29 Aug 2009 08:36:41 -0000	1.160
@@ -1,8 +1,8 @@
 /* ************************************************************************** */
 /*                                                                            */
-/*     Copyright (C)	2000-2008 Cédric Auger (cedric at grisbi.org)	      */
-/*			2004-2008 Benjamin Drieu (bdrieu at april.org)	      */
-/*			http://www.grisbi.org   			      */
+/*     Copyright (C)    2000-2008 Cédric Auger (cedric at grisbi.org)            */
+/*          2004-2008 Benjamin Drieu (bdrieu at april.org)                       */
+/*          http://www.grisbi.org                                             */
 /*                                                                            */
 /*  This program is free software; you can redistribute it and/or modify      */
 /*  it under the terms of the GNU General Public License as published by      */
@@ -106,8 +106,6 @@
 
     /* We create the gtktreeview and model early so that they can be referenced. */
     budgetary_line_tree = gtk_tree_view_new();
-    g_signal_connect ( G_OBJECT (budgetary_line_tree ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &budgetary_line_tree );
     budgetary_line_tree_model = gtk_tree_store_new ( META_TREE_NUM_COLUMNS,
 						     META_TREE_COLUMN_TYPES );
 

Index: gsb_real.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_real.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- gsb_real.c	24 Aug 2009 21:00:58 -0000	1.49
+++ gsb_real.c	29 Aug 2009 08:36:41 -0000	1.50
@@ -53,6 +53,7 @@
 	long long 	quot;
 	long long 	rem;
 } lldiv_t;
+
 lldiv_t lldiv(long long numerator, long long denominator)
 {
 	//TODO find a standard/efficient impl for this

Index: gsb_archive_config.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_archive_config.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- gsb_archive_config.c	24 Aug 2009 13:11:48 -0000	1.26
+++ gsb_archive_config.c	29 Aug 2009 08:36:41 -0000	1.27
@@ -136,8 +136,6 @@
 					G_TYPE_INT );
     archive_treeview = gtk_tree_view_new_with_model ( GTK_TREE_MODEL (archive_model) );
     g_object_unref (G_OBJECT(archive_model) );
-    g_signal_connect ( G_OBJECT (archive_treeview ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &archive_treeview );
     gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (archive_treeview), TRUE);
     gtk_container_add ( GTK_CONTAINER (scrolled_window),
 			archive_treeview );

Index: affichage.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/affichage.c,v
retrieving revision 1.165
retrieving revision 1.166
diff -u -d -r1.165 -r1.166
--- affichage.c	24 Aug 2009 20:38:32 -0000	1.165
+++ affichage.c	29 Aug 2009 08:36:40 -0000	1.166
@@ -53,8 +53,6 @@
 /*START_STATIC*/
 static gboolean change_choix_utilise_fonte_liste ( GtkWidget *check_button,
                         GtkWidget *vbox );
-static gboolean change_choix_utilise_logo ( GtkWidget *check_button,
-                        GtkWidget *hbox );
 static gboolean change_grisbi_title_type ( GtkRadioButton *button, GtkWidget *entry );
 static void change_logo_accueil ( GtkWidget * file_selector );
 static gboolean change_toolbar_display_mode ( GtkRadioButton *button );
@@ -149,12 +147,8 @@
 
     /*     le logo est grisé ou non suivant qu'on l'utilise ou pas */
     gtk_widget_set_sensitive ( hbox, etat.utilise_logo );
-    g_signal_connect ( G_OBJECT ( check_button ), "toggled",
-		       G_CALLBACK ( change_choix_utilise_logo ), hbox );
 
     logo_button = gtk_button_new ();
-    g_signal_connect ( G_OBJECT (logo_button ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &logo_button );
     gtk_button_set_relief ( GTK_BUTTON ( logo_button ), GTK_RELIEF_NONE );
 
 	pixbuf = gsb_select_icon_get_logo_pixbuf ( );
@@ -181,8 +175,6 @@
         }
         preview = gtk_image_new_from_pixbuf (pixbuf);
     }
-    g_signal_connect ( G_OBJECT (preview ), "destroy",
-			G_CALLBACK ( gtk_widget_destroyed), &preview );
 
     gtk_container_add (GTK_CONTAINER(logo_button), preview);
     g_signal_connect_swapped ( G_OBJECT ( logo_button ), "clicked",
@@ -271,7 +263,7 @@
 
 
 /* ********************************************************************** */
-gboolean change_choix_utilise_logo ( GtkWidget *check_button,
+/*gboolean change_choix_utilise_logo ( GtkWidget *check_button,
                         GtkWidget *hbox )
 {
 
@@ -281,13 +273,13 @@
 
     if ( etat.utilise_logo )
     {
-        /* 	on recharge l'ancien logo */
+        /! 	on recharge l'ancien logo !/
 
         if ( GTK_IS_WIDGET ( logo_accueil ) )
             gtk_widget_hide ( logo_accueil );
         else
         {
-            /* Update homepage logo */
+            /! Update homepage logo !/
             logo_accueil =  gtk_image_new_from_pixbuf ( 
                             gsb_select_icon_get_logo_pixbuf ( ) );
             gtk_box_pack_start ( GTK_BOX ( hbox_title ), logo_accueil, FALSE, FALSE, 0 );
@@ -302,7 +294,7 @@
         modification_fichier ( TRUE );
 
     return ( FALSE );
-}
+}*/
 /* ********************************************************************** */
 
 

Index: accueil.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/accueil.c,v
retrieving revision 1.210
retrieving revision 1.211
diff -u -d -r1.210 -r1.211
--- accueil.c	24 Aug 2009 20:19:46 -0000	1.210
+++ accueil.c	29 Aug 2009 08:36:40 -0000	1.211
@@ -58,6 +58,7 @@
                         gint currency_number,
                         gsb_real solde_global_courant,
                         gsb_real solde_global_pointe );
+static gint affiche_soldes_additionnels ( GtkWidget *table, gint i, GSList *liste );
 static gint affiche_soldes_partiels ( GtkWidget *table,
                         gint i,
                         gint nb_comptes,
@@ -79,7 +80,6 @@
 static void update_liste_echeances_auto_accueil ( gboolean force );
 static void update_liste_echeances_manuelles_accueil ( gboolean force );
 static void update_soldes_minimaux ( gboolean force );
-static gint affiche_soldes_additionnels ( GtkWidget *table, gint i, GSList *liste );
 /*END_STATIC*/
 
 /*START_EXTERN*/
@@ -161,16 +161,12 @@
 	gchar* tmpstr;
 
 	hbox_title = gtk_hbox_new ( FALSE, 0 );
-	g_signal_connect ( G_OBJECT ( hbox_title ), "destroy",
-	    			G_CALLBACK( gtk_widget_destroyed ), &hbox_title);
 
 	eb = gtk_event_box_new ();
 	style = gtk_widget_get_style ( eb );
 	gtk_widget_modify_bg ( eb, 0, &(style -> bg[GTK_STATE_ACTIVE]) );
 
 	label_titre_fichier = gtk_label_new ( titre_fichier );
-	g_signal_connect ( G_OBJECT ( label_titre_fichier ), "destroy",
-	    			G_CALLBACK( gtk_widget_destroyed ), &label_titre_fichier );
 	tmpstr = g_strconcat ("<span size=\"x-large\">",
 					    titre_fichier, "</span>", NULL );
 	gtk_label_set_markup ( GTK_LABEL ( label_titre_fichier ), tmpstr);
@@ -183,8 +179,6 @@
         if ( ! logo_accueil )
             logo_accueil =  gtk_image_new_from_pixbuf ( 
                     gsb_select_icon_get_default_logo_pixbuf ( ) );
-	    g_signal_connect ( G_OBJECT ( logo_accueil ), "destroy",
-	    			G_CALLBACK( gtk_widget_destroyed ), &logo_accueil);
 	    gtk_box_pack_start ( GTK_BOX ( hbox_title ), logo_accueil, FALSE, FALSE, 20 );
         gtk_widget_set_size_request ( hbox_title, -1, LOGO_HEIGHT + 20 );
 	}
@@ -206,8 +200,6 @@
 
     /* on crée la première frame dans laquelle on met les états des comptes */
     frame_etat_comptes_accueil = gtk_notebook_new ();
-    g_signal_connect ( G_OBJECT ( frame_etat_comptes_accueil ), "destroy",
-	    			G_CALLBACK( gtk_widget_destroyed ), &frame_etat_comptes_accueil);
     gtk_notebook_set_show_tabs ( GTK_NOTEBOOK(frame_etat_comptes_accueil), FALSE );
     gtk_notebook_set_show_border ( GTK_NOTEBOOK(frame_etat_comptes_accueil), FALSE );
     gtk_container_set_border_width ( GTK_CONTAINER(frame_etat_comptes_accueil), 0 );
@@ -222,8 +214,6 @@
     paddingbox = new_paddingbox_with_title ( base, FALSE,
 					     _("Closed liabilities accounts") );
     frame_etat_fin_compte_passif = gtk_notebook_new ();
-    g_signal_connect ( G_OBJECT ( frame_etat_fin_compte_passif ), "destroy",
-	    			G_CALLBACK( gtk_widget_destroyed ), &frame_etat_fin_compte_passif );
     gtk_notebook_set_show_tabs ( GTK_NOTEBOOK(frame_etat_fin_compte_passif), FALSE );
     gtk_notebook_set_show_border ( GTK_NOTEBOOK(frame_etat_fin_compte_passif), FALSE );
     gtk_box_pack_start ( GTK_BOX(paddingbox), frame_etat_fin_compte_passif, FALSE, FALSE, 0 );

Index: etats_calculs.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/etats_calculs.c,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -d -r1.132 -r1.133
--- etats_calculs.c	27 Apr 2009 19:41:03 -0000	1.132
+++ etats_calculs.c	29 Aug 2009 08:36:40 -0000	1.133
@@ -47,6 +47,7 @@
 #include "./gsb_data_account.h"
 #include "./navigation.h"
 #include "./gsb_data_transaction.h"
+#include "./structures.h"
 #include "./erreur.h"
 #include "./gsb_real.h"
 #include "./print_config.h"

Index: main.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/main.c,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -d -r1.149 -r1.150
--- main.c	24 Aug 2009 20:19:47 -0000	1.149
+++ main.c	29 Aug 2009 08:36:41 -0000	1.150
@@ -8,10 +8,6 @@
 /*                      http://www.grisbi.org                                    */
 /*      Version : 0.6.0                                                          */
 /*                                                                               */
-/* *******************************************************************************/
-
-/* *******************************************************************************/
-/*                                                                               */
 /*     This program is free software; you can redistribute it and/or modify      */
 /*     it under the terms of the GNU General Public License as published by      */
 /*     the Free Software Foundation; either version 2 of the License, or         */
@@ -53,8 +49,8 @@
 #include "./parse_cmdline.h"
 #include "./gsb_file_config.h"
 #include "./include.h"
-#include "./erreur.h"
 #include "./structures.h"
+#include "./erreur.h"
 /*END_INCLUDE*/
 
 

Index: gsb_assistant_reconcile_config.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_assistant_reconcile_config.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- gsb_assistant_reconcile_config.c	24 Aug 2009 13:11:48 -0000	1.26
+++ gsb_assistant_reconcile_config.c	29 Aug 2009 08:36:41 -0000	1.27
@@ -1,8 +1,8 @@
 /* ************************************************************************** */
 /*                                                                            */
-/*     Copyright (C)	2000-2008 Cédric Auger (cedric at grisbi.org)	      */
-/*			2003-2008 Benjamin Drieu (bdrieu at april.org)	      */
-/* 			http://www.grisbi.org				      */
+/*     Copyright (C)    2000-2008 Cédric Auger (cedric at grisbi.org)            */
+/*          2003-2008 Benjamin Drieu (bdrieu at april.org)                       */
+/*          http://www.grisbi.org                                             */
 /*                                                                            */
 /*  This program is free software; you can redistribute it and/or modify      */
 /*  it under the terms of the GNU General Public License as published by      */
@@ -263,8 +263,6 @@
     tmpstr = g_strdup_printf (_("Still %d transactions to link with a reconciliation."),
 								   transactions_to_link);
     label_transactions_to_link_1 = gtk_label_new (tmpstr );
-    g_signal_connect ( G_OBJECT (label_transactions_to_link_1 ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &label_transactions_to_link_1 );
     g_free ( tmpstr );
     gtk_misc_set_alignment ( GTK_MISC (label_transactions_to_link_1),
 			     0, 0.5 );
@@ -394,8 +392,6 @@
 			GTK_SHRINK | GTK_FILL, 0, 0, 0 );
 
 	reconcile_name_entry = gtk_entry_new ();
-	g_signal_connect ( G_OBJECT (reconcile_name_entry ), "destroy",
-			G_CALLBACK ( gtk_widget_destroyed), &reconcile_name_entry );
 	gtk_table_attach ( GTK_TABLE ( table ), reconcile_name_entry, 1, 2, 0, 1,
 			GTK_EXPAND | GTK_FILL, 0, 10, 0 );
 
@@ -407,8 +403,6 @@
 			GTK_SHRINK | GTK_FILL, 0, 10, 0 );
 
 	reconcile_account_button = gsb_account_create_combo_list ( NULL, NULL, TRUE );
-	g_signal_connect ( G_OBJECT (reconcile_account_button ), "destroy",
-			G_CALLBACK ( gtk_widget_destroyed), &reconcile_account_button );
 	gtk_combo_box_set_active ( GTK_COMBO_BOX (reconcile_account_button), 0 );
 	gtk_table_attach ( GTK_TABLE ( table ), reconcile_account_button, 3, 4, 0, 1,
 			GTK_EXPAND | GTK_FILL, 0, 0, 0 );
@@ -421,8 +415,6 @@
 			GTK_SHRINK | GTK_FILL, 0, 0, 0 );
 
 	reconcile_init_date_entry = gsb_calendar_entry_new (FALSE);
-	g_signal_connect ( G_OBJECT (reconcile_init_date_entry ), "destroy",
-			G_CALLBACK ( gtk_widget_destroyed), &reconcile_init_date_entry );
 	gtk_table_attach ( GTK_TABLE ( table ), reconcile_init_date_entry, 1, 2, 1, 2,
 			GTK_EXPAND | GTK_FILL, 0, 10, 0 );
 
@@ -434,8 +426,6 @@
 			GTK_SHRINK | GTK_FILL, 0, 0, 0 );
 
 	reconcile_final_date_entry = gsb_calendar_entry_new (FALSE);
-	g_signal_connect ( G_OBJECT (reconcile_final_date_entry ), "destroy",
-			G_CALLBACK ( gtk_widget_destroyed), &reconcile_final_date_entry );
 	gtk_table_attach ( GTK_TABLE ( table ), reconcile_final_date_entry, 1, 2, 2, 3,
 			GTK_EXPAND | GTK_FILL, 0, 10, 0 );
 
@@ -447,8 +437,6 @@
 			GTK_SHRINK | GTK_FILL, 0, 10, 0 );
 
 	reconcile_init_balance_entry = gtk_entry_new ();
-	g_signal_connect ( G_OBJECT (reconcile_init_balance_entry ), "destroy",
-			G_CALLBACK ( gtk_widget_destroyed), &reconcile_init_balance_entry );
 	gtk_table_attach ( GTK_TABLE ( table ), reconcile_init_balance_entry, 3, 4, 1, 2,
 			GTK_EXPAND | GTK_FILL, 0, 0, 0 );
 
@@ -460,8 +448,6 @@
 			GTK_SHRINK | GTK_FILL, 0, 10, 0 );
 
 	reconcile_final_balance_entry = gtk_entry_new ();
-	g_signal_connect ( G_OBJECT (reconcile_final_balance_entry ), "destroy",
-			G_CALLBACK ( gtk_widget_destroyed), &reconcile_final_balance_entry );
 	gtk_table_attach ( GTK_TABLE ( table ), reconcile_final_balance_entry, 3, 4, 2, 3,
 			GTK_EXPAND | GTK_FILL, 0, 0, 0 );
 
@@ -538,8 +524,6 @@
      * we will fill when the user come to that page */
     /* first show the total of transactions to link, same as in the menu assistant */
     label_transactions_to_link_2 = gtk_label_new (NULL);
-    g_signal_connect ( G_OBJECT (label_transactions_to_link_2 ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &label_transactions_to_link_2 );
     gtk_box_pack_start ( GTK_BOX (page),
 			 label_transactions_to_link_2,
 			 FALSE, FALSE, 0 );
@@ -562,8 +546,6 @@
 
     /* set the number of possible association, filled when come in that page */
     label_possible_association = gtk_label_new (NULL);
-    g_signal_connect ( G_OBJECT (label_possible_association ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &label_possible_association );
     gtk_box_pack_start ( GTK_BOX (page),
 			 label_possible_association,
 			 FALSE, FALSE, 12 );
@@ -575,8 +557,6 @@
 			 FALSE, FALSE,
 			 0 );
     button_run_association = gtk_button_new_with_label ( _("Launch automatic association"));
-    g_signal_connect ( G_OBJECT (button_run_association ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &button_run_association );
     g_signal_connect ( G_OBJECT (button_run_association),
 		       "clicked",
 		       G_CALLBACK (gsb_assistant_reconcile_config_lauch_auto_asso),
@@ -623,8 +603,6 @@
 
     /* the number of transactions to link */
     label_transactions_to_link_3 = gtk_label_new (NULL);
-    g_signal_connect ( G_OBJECT (label_transactions_to_link_3 ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &label_transactions_to_link_3 );
     gtk_box_pack_start ( GTK_BOX (page),
 			 label_transactions_to_link_3,
 			 FALSE, FALSE, 0 );
@@ -659,8 +637,6 @@
 				 G_TYPE_INT );
     treeview_transactions_to_link = gtk_tree_view_new_with_model (GTK_TREE_MODEL (store));
     g_object_unref (G_OBJECT(store));
-    g_signal_connect ( G_OBJECT (treeview_transactions_to_link ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &treeview_transactions_to_link );
     gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (treeview_transactions_to_link), TRUE);
     gtk_tree_selection_set_mode ( gtk_tree_view_get_selection (GTK_TREE_VIEW (treeview_transactions_to_link)),
 				  GTK_SELECTION_MULTIPLE );

Index: gsb_assistant_account.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_assistant_account.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- gsb_assistant_account.c	24 Aug 2009 13:11:48 -0000	1.26
+++ gsb_assistant_account.c	29 Aug 2009 08:36:41 -0000	1.27
@@ -1,8 +1,8 @@
 /* ************************************************************************** */
 /*                                                                            */
-/*     Copyright (C)	2000-2008 Cédric Auger (cedric at grisbi.org)	      */
-/*			2003-2008 Benjamin Drieu (bdrieu at april.org)	      */
-/* 			http://www.grisbi.org				      */
+/*     Copyright (C)    2000-2008 Cédric Auger (cedric at grisbi.org)            */
+/*          2003-2008 Benjamin Drieu (bdrieu at april.org)                       */
+/*          http://www.grisbi.org                                             */
 /*                                                                            */
 /*  This program is free software; you can redistribute it and/or modify      */
 /*  it under the terms of the GNU General Public License as published by      */
@@ -254,8 +254,6 @@
 
     /* create the currency combobox */
     account_combobox_currency = gsb_currency_make_combobox (TRUE);
-    g_signal_connect ( G_OBJECT (account_combobox_currency ), "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), &account_combobox_currency );
     gtk_table_attach ( GTK_TABLE ( table ), account_combobox_currency, 
 		       1, 2, 0, 1,
 		       GTK_SHRINK | GTK_FILL,
@@ -284,8 +282,6 @@
 		       0, 0 );
     
     account_combobox_bank = gsb_bank_create_combobox (0, NULL, NULL, NULL, 0);
-    g_signal_connect ( G_OBJECT (account_combobox_bank ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &account_combobox_bank );
 
     if ( gsb_data_bank_max_number() != 0 )
     {
@@ -311,8 +307,6 @@
 		       0, 0 );
     
     account_entry_initial_amount = gtk_entry_new ();
-    g_signal_connect ( G_OBJECT (account_entry_initial_amount ), "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), &account_entry_initial_amount );
     gtk_table_attach ( GTK_TABLE ( table ), account_entry_initial_amount, 
 		       1, 2, 2, 3,
 		       GTK_SHRINK | GTK_FILL,
@@ -394,8 +388,6 @@
 
     account_entry_name = gtk_entry_new ();
     g_object_set_data ( G_OBJECT (assistant), "account_entry_name", account_entry_name );
-    g_signal_connect ( G_OBJECT (account_entry_name ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &account_entry_name );
     gtk_box_pack_start ( GTK_BOX (hbox),
 			 account_entry_name,
 			 FALSE, FALSE, 0 );

Index: fenetre_principale.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/fenetre_principale.c,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -d -r1.120 -r1.121
--- fenetre_principale.c	24 Aug 2009 20:19:46 -0000	1.120
+++ fenetre_principale.c	29 Aug 2009 08:36:41 -0000	1.121
@@ -81,7 +81,6 @@
 static GtkWidget * headings_suffix = NULL;
 
 
-
 /**
  * Create the main widget that holds all the user interface save the
  * menus.
@@ -96,12 +95,8 @@
     /* All stuff will be put in a huge vbox, with an hbox containing
      * quick summary. */
     main_vbox = gtk_vbox_new ( FALSE, 0 );
-    g_signal_connect ( G_OBJECT (main_vbox ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &main_vbox );
 
     headings_eb = gtk_event_box_new ();
-    g_signal_connect ( G_OBJECT (headings_eb ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &headings_eb );
     style = gtk_widget_get_style ( headings_eb );
 
     hbox = gtk_hbox_new ( FALSE, 0 );
@@ -127,14 +122,10 @@
 
     /* Define labels. */
     headings_title = gtk_label_new ( NULL );
-    g_signal_connect ( G_OBJECT (headings_title ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &headings_title );
     gtk_label_set_justify ( GTK_LABEL(headings_title), GTK_JUSTIFY_LEFT );
     gtk_misc_set_alignment (GTK_MISC (headings_title), 0.0, 0.5);
     gtk_box_pack_start ( GTK_BOX(hbox), headings_title, TRUE, TRUE, 3 );
     headings_suffix = gtk_label_new (NULL);
-    g_signal_connect ( G_OBJECT (headings_suffix ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &headings_suffix );
     gtk_box_pack_start ( GTK_BOX(hbox), headings_suffix, FALSE, FALSE, 0 );
 
     /* Change color with an event box trick. */
@@ -147,8 +138,6 @@
 
     /* Then create and fill the main hpaned. */
     main_hpaned = gtk_hpaned_new ();
-    g_signal_connect ( G_OBJECT ( main_hpaned ), "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), &main_hpaned );
     g_signal_connect ( G_OBJECT ( main_hpaned ),
 		       "size_allocate",
 		       G_CALLBACK ( gsb_gui_hpaned_size_allocate ),
@@ -202,8 +191,6 @@
 
     /* append the notebook */
     notebook_general = gtk_notebook_new();
-    g_signal_connect ( G_OBJECT (notebook_general ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &notebook_general );
     gtk_notebook_set_show_tabs ( GTK_NOTEBOOK(notebook_general), FALSE );
     gtk_notebook_set_show_border ( GTK_NOTEBOOK(notebook_general), FALSE );
     gtk_box_pack_start ( GTK_BOX (vbox),
@@ -247,8 +234,6 @@
     /* append the account page : a notebook with the account configuration
      * and the transactions page */
     account_page = gtk_notebook_new ();
-    g_signal_connect ( G_OBJECT (account_page ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &account_page );
     gtk_notebook_set_show_border ( GTK_NOTEBOOK(account_page), FALSE );
     gtk_widget_show ( account_page );
 

Index: gsb_transactions_list.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_transactions_list.c,v
retrieving revision 1.180
retrieving revision 1.181
diff -u -d -r1.180 -r1.181
--- gsb_transactions_list.c	24 Aug 2009 11:54:22 -0000	1.180
+++ gsb_transactions_list.c	29 Aug 2009 08:36:41 -0000	1.181
@@ -255,15 +255,11 @@
 
     /* création de la barre d'outils */
     barre_outils = gtk_handle_box_new ();
-    g_signal_connect ( G_OBJECT (barre_outils ), "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), &barre_outils );
     gsb_gui_update_transaction_toolbar ();
     gtk_box_pack_start ( GTK_BOX ( win_operations ), barre_outils, FALSE, FALSE, 0);
 
     /* tree_view_vbox will contain the tree_view, we will see later to set it directly */
     tree_view_vbox = gtk_vbox_new ( FALSE, 0 );
-    g_signal_connect ( G_OBJECT (tree_view_vbox ), "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), &tree_view_vbox );
 
 
     gtk_box_pack_start ( GTK_BOX ( win_operations ),

Index: gsb_form.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_form.c,v
retrieving revision 1.130
retrieving revision 1.131
diff -u -d -r1.130 -r1.131
--- gsb_form.c	24 Aug 2009 14:03:03 -0000	1.130
+++ gsb_form.c	29 Aug 2009 08:36:41 -0000	1.131
@@ -78,8 +78,8 @@
 #include "./gsb_data_form.h"
 #include "./parametres.h"
 #include "./include.h"
-#include "./erreur.h"
 #include "./structures.h"
+#include "./erreur.h"
 #include "./gsb_form_widget.h"
 /*END_INCLUDE*/
 
@@ -169,8 +169,6 @@
 {
     /* Create the expander */
     form_expander = gtk_expander_new ( "" );
-    g_signal_connect ( G_OBJECT (form_expander ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &form_expander );
     gtk_expander_set_expanded ( GTK_EXPANDER ( form_expander ),
 				etat.formulaire_toujours_affiche );
     g_signal_connect_after( G_OBJECT(form_expander),
@@ -234,8 +232,6 @@
 
     /* set the last statement label */
     label_last_statement = gtk_label_new ( NULL );
-    g_signal_connect ( G_OBJECT (label_last_statement ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &label_last_statement );
     gtk_box_pack_end ( GTK_BOX ( hbox ),
 		       label_last_statement,
 		       FALSE, FALSE, 0 );
@@ -246,8 +242,6 @@
      * middle : the values for transactions and scheduled transactions
      * bottom : the buttons valid/cancel */
     transaction_form = gtk_vbox_new ( FALSE, 5 );
-    g_signal_connect ( G_OBJECT (transaction_form ), "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), &transaction_form );
     gtk_container_add ( GTK_CONTAINER ( form_expander ),
 			transaction_form );
 
@@ -262,8 +256,6 @@
     form_scheduled_part = gtk_table_new ( SCHEDULED_HEIGHT, 
                       SCHEDULED_WIDTH,
                       FALSE );
-    g_signal_connect ( G_OBJECT (form_scheduled_part ), "destroy",
-                    G_CALLBACK ( gtk_widget_destroyed), &form_scheduled_part );
     gtk_table_set_col_spacings ( GTK_TABLE (form_scheduled_part),
                     6 );
     gtk_box_pack_start ( GTK_BOX (transaction_form),
@@ -297,8 +289,6 @@
 		       NULL );
 
     form_transaction_part = gtk_table_new ( 1, 1, FALSE );
-    g_signal_connect ( G_OBJECT (form_transaction_part ), "destroy",
-		       G_CALLBACK ( gtk_widget_destroyed), &form_transaction_part );
     gtk_table_set_col_spacings ( GTK_TABLE (form_transaction_part), 6 );
     g_signal_connect ( G_OBJECT (form_transaction_part),
 		       "size-allocate",
@@ -310,8 +300,6 @@
     /* the buttons part is a hbox, with the recuperate child split
      * on the left and valid/cancel on the right */
     form_button_part = gtk_vbox_new ( FALSE, 0 );
-    g_signal_connect ( G_OBJECT (form_button_part ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &form_button_part );
     gtk_box_pack_start ( GTK_BOX (transaction_form), form_button_part, FALSE, FALSE, 0 );
 
     /* add a separator between the transaction and button part */
@@ -327,8 +315,6 @@
 
     /* create the check button to recover the children of splits */
     form_button_recover_split = gtk_check_button_new_with_label ( _("Recover the children"));
-    g_signal_connect ( G_OBJECT (form_button_recover_split ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &form_button_recover_split );
     gtk_box_pack_start ( GTK_BOX (hbox_buttons_inner),
 			 form_button_recover_split,
 			 FALSE, FALSE,
@@ -336,16 +322,12 @@
 
     /* create the valid/cancel buttons */
     form_button_valid = gtk_button_new_from_stock (GTK_STOCK_OK);
-    g_signal_connect ( G_OBJECT (form_button_valid ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &form_button_valid );
     gtk_button_set_relief ( GTK_BUTTON (form_button_valid), GTK_RELIEF_NONE );
     g_signal_connect ( G_OBJECT (form_button_valid), "clicked",
 		       G_CALLBACK (gsb_form_finish_edition), NULL );
     gtk_box_pack_end ( GTK_BOX (hbox_buttons_inner), form_button_valid, FALSE, FALSE, 0 );
 
     form_button_cancel = gtk_button_new_from_stock (GTK_STOCK_CANCEL);
-    g_signal_connect ( G_OBJECT (form_button_cancel ), "destroy",
-    		G_CALLBACK ( gtk_widget_destroyed), &form_button_cancel );
     gtk_button_set_relief ( GTK_BUTTON (form_button_cancel), GTK_RELIEF_NONE );
     g_signal_connect ( G_OBJECT (form_button_cancel), "clicked",
 		       G_CALLBACK (gsb_form_escape_form), NULL );

Index: parametres.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/parametres.c,v
retrieving revision 1.203
retrieving revision 1.204
diff -u -d -r1.203 -r1.204
--- parametres.c	24 Aug 2009 20:19:47 -0000	1.203
+++ parametres.c	29 Aug 2009 08:36:41 -0000	1.204
@@ -241,11 +241,6 @@
     gtk_window_set_position ( GTK_WINDOW ( fenetre_preferences ), GTK_WIN_POS_CENTER_ON_PARENT );
     gtk_window_set_resizable ( GTK_WINDOW ( fenetre_preferences ), TRUE );
 
-    g_signal_connect ( G_OBJECT (fenetre_preferences ),
-                        "destroy",
-                        G_CALLBACK (gtk_widget_destroyed),
-                        &fenetre_preferences );
-
     /* Create List & Tree for topics */
     tree = create_preferences_tree();
     hpaned = gtk_hpaned_new();

Index: gsb_account_property.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_account_property.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- gsb_account_property.c	24 Aug 2009 13:11:48 -0000	1.44
+++ gsb_account_property.c	29 Aug 2009 08:36:41 -0000	1.45
@@ -237,10 +237,6 @@
                         G_CALLBACK (gsb_data_account_set_name),
                         0 );
     gtk_box_pack_start ( GTK_BOX(hbox), detail_nom_compte, TRUE, TRUE, 0);
-    g_signal_connect ( G_OBJECT (detail_nom_compte),
-                        "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed),
-                        &detail_nom_compte );
 
     /* create the box of kind of account */
     hbox = gtk_hbox_new ( FALSE, 6 );
@@ -258,10 +254,6 @@
                         GINT_TO_POINTER (PROPERTY_KIND),
                         G_CALLBACK (gsb_data_account_set_kind),
                         0 );
-    g_signal_connect ( G_OBJECT (detail_type_compte),
-                        "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed),
-                        &detail_type_compte );
     gtk_box_pack_start ( GTK_BOX(hbox), detail_type_compte, TRUE, TRUE, 0);
 
     /* create the currency line */
@@ -279,10 +271,6 @@
                         GINT_TO_POINTER (PROPERTY_CURRENCY),
                         NULL,
                         0 );
-    g_signal_connect ( G_OBJECT (detail_devise_compte ),
-                        "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed),
-                        &detail_devise_compte );
     gtk_box_pack_start ( GTK_BOX(hbox), detail_devise_compte, TRUE, TRUE, 0);
 
     /* create closed account line */
@@ -292,17 +280,9 @@
                         GINT_TO_POINTER (PROPERTY_CLOSED_ACCOUNT),
                         G_CALLBACK (gsb_data_account_set_closed_account),
                         0 );
-    g_signal_connect ( G_OBJECT (detail_compte_cloture ),
-                        "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed),
-                        &detail_compte_cloture );
     gtk_box_pack_start ( GTK_BOX(paddingbox), detail_compte_cloture, FALSE, FALSE, 0 );
 
     /* set the callback for the button_icon */
-    g_signal_connect ( G_OBJECT (bouton_icon ),
-                        "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed),
-                        &bouton_icon );
     gtk_button_set_relief ( GTK_BUTTON ( bouton_icon ), GTK_RELIEF_NONE );
 
     g_signal_connect ( G_OBJECT( bouton_icon ),
@@ -325,10 +305,6 @@
                         NULL,
                         G_CALLBACK (gsb_data_account_set_holder_name),
                         0);
-    g_signal_connect ( G_OBJECT (detail_titulaire_compte ),
-                        "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed),
-                        &detail_titulaire_compte );
     gtk_box_pack_start ( GTK_BOX(hbox), detail_titulaire_compte, TRUE, TRUE, 0);
 
     /* address of the holder line */
@@ -354,10 +330,6 @@
                         0 );
     gtk_button_set_alignment ( GTK_BUTTON (button_holder_address), 0.0, 0.0 );
     gtk_size_group_add_widget ( GTK_SIZE_GROUP ( size_group ), button_holder_address );
-    g_signal_connect ( G_OBJECT (button_holder_address),
-                        "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed),
-                        &button_holder_address );
     gtk_box_pack_start ( GTK_BOX(vbox2), button_holder_address, FALSE, FALSE, 0);
 
     /* if un-select the holder's button address, we need to erase the tree_view,
@@ -377,10 +349,6 @@
 
 
     /* text view created before */
-    g_signal_connect ( G_OBJECT (detail_adresse_titulaire ),
-                        "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed),
-                        &detail_adresse_titulaire );
     gtk_container_add ( GTK_CONTAINER ( scrolled_window_text ), detail_adresse_titulaire );
     gtk_widget_set_sensitive (detail_adresse_titulaire, FALSE);
 
@@ -404,17 +372,9 @@
                         "changed",
                         G_CALLBACK (gsb_account_property_changed_bank_label),
                         NULL );
-    g_signal_connect ( G_OBJECT (bank_list_combobox ),
-                        "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed),
-                        &bank_list_combobox );
     gtk_box_pack_start ( GTK_BOX(hbox), bank_list_combobox, TRUE, TRUE, 0);
 
     edit_bank_button = gtk_button_new_from_stock ( GTK_STOCK_EDIT );
-    g_signal_connect ( G_OBJECT (edit_bank_button ),
-                        "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed),
-                        &edit_bank_button );
     gtk_button_set_relief ( GTK_BUTTON ( edit_bank_button ), GTK_RELIEF_NONE );
     g_signal_connect ( G_OBJECT ( edit_bank_button ),
                         "clicked",
@@ -432,10 +392,6 @@
     gtk_box_pack_start ( GTK_BOX(hbox), label, FALSE, FALSE, 0);
 
     label_code_bic = gtk_label_new ( NULL );
-    g_signal_connect ( G_OBJECT (label_code_bic ),
-                        "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed),
-                        &label_code_bic );
     gtk_misc_set_alignment ( GTK_MISC(label_code_bic), MISC_LEFT, MISC_VERT_CENTER );
     gtk_label_set_justify ( GTK_LABEL(label_code_bic), GTK_JUSTIFY_RIGHT );
     gtk_box_pack_start ( GTK_BOX(hbox), label_code_bic, TRUE, TRUE, 0 );
@@ -465,8 +421,6 @@
     g_signal_connect ( G_OBJECT ( detail_IBAN ), "focus-out-event",
                         G_CALLBACK ( gsb_account_property_iban_focus_out_event ),
                         NULL );
-    g_signal_connect ( G_OBJECT (detail_IBAN ), "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed), &detail_IBAN );
 
     gtk_widget_set_size_request ( detail_IBAN, 350, -1 );
     gtk_box_pack_start ( GTK_BOX ( hbox ), detail_IBAN, FALSE, FALSE, 0 );
@@ -481,10 +435,6 @@
     gtk_box_pack_start ( GTK_BOX(hbox), label, FALSE, FALSE, 0);
 
     label_code_banque = gtk_label_new ( NULL );
-    g_signal_connect ( G_OBJECT (label_code_banque ),
-                        "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed),
-                        &label_code_banque );
     gtk_misc_set_alignment ( GTK_MISC(label_code_banque), MISC_LEFT, MISC_VERT_CENTER );
     gtk_label_set_justify ( GTK_LABEL(label_code_banque), GTK_JUSTIFY_RIGHT );
     gtk_box_pack_start ( GTK_BOX(hbox), label_code_banque, TRUE, TRUE, 0 );
@@ -503,17 +453,9 @@
                         NULL,
                         G_CALLBACK (gsb_data_account_set_bank_branch_code),
                         0);
-    g_signal_connect ( G_OBJECT (detail_guichet ),
-                        "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed),
-                        &detail_guichet );
     gtk_box_pack_start ( GTK_BOX(hbox), detail_guichet, TRUE, TRUE, 0);
 
     label_guichet = gtk_label_new ( NULL );
-    g_signal_connect ( G_OBJECT (label_guichet ),
-                        "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed),
-                        &label_guichet );
     gtk_misc_set_alignment ( GTK_MISC(label), MISC_LEFT, MISC_VERT_CENTER );
     gtk_label_set_justify ( GTK_LABEL(label), GTK_JUSTIFY_RIGHT );
     gtk_box_pack_start ( GTK_BOX(hbox), label_guichet, FALSE, FALSE, 0 );
@@ -532,17 +474,9 @@
                         NULL,
                         G_CALLBACK (gsb_data_account_set_bank_account_number),
                         0 );
-    g_signal_connect ( G_OBJECT (detail_no_compte ),
-                        "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed),
-                        &detail_no_compte );
     gtk_box_pack_start ( GTK_BOX ( hbox ), detail_no_compte, TRUE, TRUE, 0 );
 
     label_no_compte = gtk_label_new ( NULL );
-    g_signal_connect ( G_OBJECT (label_no_compte ),
-                        "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed),
-                        &label_no_compte );
     gtk_misc_set_alignment ( GTK_MISC(label), MISC_LEFT, MISC_VERT_CENTER );
     gtk_label_set_justify ( GTK_LABEL(label), GTK_JUSTIFY_RIGHT );
     gtk_box_pack_start ( GTK_BOX(hbox), label_no_compte, FALSE, FALSE, 0 );
@@ -552,14 +486,10 @@
                         NULL,
                         G_CALLBACK (gsb_data_account_set_bank_account_key),
                         0);
-    g_signal_connect ( G_OBJECT (detail_cle_compte ), "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed), &detail_cle_compte );
     gtk_widget_set_size_request ( detail_cle_compte, 30, -1 );
     gtk_box_pack_start ( GTK_BOX ( hbox ), detail_cle_compte, FALSE, FALSE, 0 );
 
     label_cle_compte = gtk_label_new ( NULL );
-    g_signal_connect ( G_OBJECT (label_cle_compte ), "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed), &label_cle_compte );
     gtk_misc_set_alignment ( GTK_MISC(label), MISC_LEFT, MISC_VERT_CENTER );
     gtk_label_set_justify ( GTK_LABEL(label), GTK_JUSTIFY_RIGHT );
     gtk_box_pack_start ( GTK_BOX(hbox), label_cle_compte, FALSE, FALSE, 0 );
@@ -580,8 +510,6 @@
                         G_CALLBACK (gsb_account_property_changed), 
                         GINT_TO_POINTER (PROPERTY_INIT_BALANCE),
                         G_CALLBACK (gsb_data_account_set_init_balance), 0);
-    g_signal_connect ( G_OBJECT (detail_solde_init ), "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed), &detail_solde_init );
     gtk_box_pack_start ( GTK_BOX ( hbox ), detail_solde_init, TRUE, TRUE, 0 );
 
 
@@ -599,8 +527,6 @@
                         GINT_TO_POINTER (PROPERTY_WANTED_BALANCE),
                         G_CALLBACK (gsb_data_account_set_mini_balance_authorized),
                         0);
-    g_signal_connect ( G_OBJECT (detail_solde_mini_autorise ), "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed), &detail_solde_mini_autorise );
     gtk_box_pack_start ( GTK_BOX ( hbox ), detail_solde_mini_autorise, TRUE, TRUE, 0 );
 
 
@@ -616,8 +542,6 @@
     detail_solde_mini_voulu = gsb_autofunc_real_new (null_real,
                         G_CALLBACK (gsb_account_property_changed), GINT_TO_POINTER (PROPERTY_WANTED_BALANCE),
                         G_CALLBACK (gsb_data_account_set_mini_balance_wanted), 0);
-    g_signal_connect ( G_OBJECT (detail_solde_mini_voulu ), "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed), &detail_solde_mini_voulu );
     gtk_box_pack_start ( GTK_BOX ( hbox ), detail_solde_mini_voulu, TRUE, TRUE, 0 );
 
     /* comments line */
@@ -635,8 +559,6 @@
                         NULL,
                         G_CALLBACK (gsb_data_account_set_comment),
                         0);
-    g_signal_connect ( G_OBJECT (detail_commentaire ), "destroy",
-                        G_CALLBACK ( gtk_widget_destroyed), &detail_commentaire );
     gtk_container_add ( GTK_CONTAINER ( scrolled_window_text ), detail_commentaire );
 
     gtk_widget_show_all ( onglet );

Index: gsb_file_config.h
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_file_config.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- gsb_file_config.h	8 May 2009 17:54:04 -0000	1.11
+++ gsb_file_config.h	29 Aug 2009 08:36:41 -0000	1.12
@@ -2,6 +2,7 @@
 #define _GSB_FILE_CONFIG_H (1)
 
 /* START_INCLUDE_H */
+#include "././structures.h"
 /* END_INCLUDE_H */
 
 



More information about the cvs mailing list