[grisbi-cvs] grisbi/src gsb_account_property.c, 1.45, 1.46 gsb_account_property.h, 1.5, 1.6 gsb_file.c, 1.59, 1.60

Pierre Biava pbiava at users.sourceforge.net
Tue Sep 1 21:04:34 CEST 2009


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

Modified Files:
	gsb_account_property.c gsb_account_property.h gsb_file.c 
Log Message:
suppresses warnings when changing grisbi's file.

Index: gsb_account_property.h
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_account_property.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- gsb_account_property.h	13 May 2009 20:15:55 -0000	1.5
+++ gsb_account_property.h	1 Sep 2009 19:04:32 -0000	1.6
@@ -11,6 +11,7 @@
 };
 
 /* START_DECLARATION */
+void gsb_account_property_clear_config ( void );
 GSList *gsb_account_property_create_combobox_list ( void );
 GtkWidget *gsb_account_property_create_page ( void );
 void gsb_account_property_fill_page ( void );

Index: gsb_account_property.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_account_property.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- gsb_account_property.c	29 Aug 2009 08:36:41 -0000	1.45
+++ gsb_account_property.c	1 Sep 2009 19:04:32 -0000	1.46
@@ -1446,6 +1446,40 @@
 
     return result;
 }
+
+
+/**
+ * required to avoid warnings change file.
+ *
+ *
+ *
+ * */
+void gsb_account_property_clear_config ( void )
+{
+    edit_bank_button = NULL;
+    detail_nom_compte = NULL;
+    detail_type_compte = NULL;
+    detail_titulaire_compte = NULL;
+    detail_adresse_titulaire = NULL;
+    bank_list_combobox = NULL;
+    label_code_banque = NULL;
+    detail_guichet = NULL;
+    detail_no_compte = NULL;
+    detail_cle_compte = NULL;
+    detail_devise_compte = NULL;
+    detail_compte_cloture = NULL;
+    detail_solde_init = NULL;
+    detail_solde_mini_autorise = NULL;
+    detail_solde_mini_voulu = NULL;
+    detail_commentaire = NULL;
+    button_holder_address = NULL;
+    bouton_icon = NULL;
+    detail_IBAN = NULL;
+    label_code_bic = NULL;
+    label_guichet = NULL;
+    label_no_compte = NULL;
+    label_cle_compte = NULL;
+}
 /* Local Variables: */
 /* c-basic-offset: 4 */
 /* End: */

Index: gsb_file.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_file.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- gsb_file.c	24 Aug 2009 20:15:41 -0000	1.59
+++ gsb_file.c	1 Sep 2009 19:04:32 -0000	1.60
@@ -40,6 +40,7 @@
 #include "./fenetre_principale.h"
 #include "./dialog.h"
 #include "./utils_file_selection.h"
+#include "./gsb_account_property.h"
 #include "./gsb_assistant_account.h"
 #include "./gsb_assistant_file.h"
 #include "./gsb_data_account.h"
@@ -85,8 +86,6 @@
 /** the timeout used to save a backup every x minutes */
 gint id_timeout = 0;
 
-
-
 /*START_EXTERN*/
 extern gchar *copy_old_filename;
 extern GtkWidget *main_hpaned;
@@ -960,6 +959,7 @@
 
 	    /* free all the variables */
  	    init_variables ();
+        gsb_account_property_clear_config ( );
 
 	    gsb_file_update_window_title();
 



More information about the cvs mailing list