[grisbi-cvs] grisbi/src affichage_liste.c, 1.111, 1.112 gsb_data_category.c, 1.69, 1.70 gsb_data_category.h, 1.23, 1.24 gsb_data_payment.c, 1.11, 1.12 gsb_form.c, 1.127, 1.128 gsb_form_transaction.c, 1.45, 1.46 gsb_form_transaction.h, 1.10, 1.11

Pierre Biava pbiava at users.sourceforge.net
Sat Jun 27 21:17:55 CEST 2009


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

Modified Files:
	affichage_liste.c gsb_data_category.c gsb_data_category.h 
	gsb_data_payment.c gsb_form.c gsb_form_transaction.c 
	gsb_form_transaction.h 
Log Message:
fixed a freeze on the screen after you have selected and displayed a close from a state. Cleaning printf ()

Index: gsb_form_transaction.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_form_transaction.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- gsb_form_transaction.c	27 Jun 2009 17:49:55 -0000	1.45
+++ gsb_form_transaction.c	27 Jun 2009 19:17:53 -0000	1.46
@@ -47,6 +47,7 @@
 #include "./gsb_transactions_list.h"
 #include "./gtk_combofix.h"
 #include "./etats_calculs.h"
+#include "./gsb_data_payment.h"
 #include "./gtk_combofix.h"
 #include "./gsb_data_form.h"
 #include "./include.h"

Index: affichage_liste.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/affichage_liste.c,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -d -r1.111 -r1.112
--- affichage_liste.c	27 Jun 2009 15:10:52 -0000	1.111
+++ affichage_liste.c	27 Jun 2009 19:17:53 -0000	1.112
@@ -50,8 +50,8 @@
 static gboolean gsb_transactions_list_display_change_max_items ( GtkWidget *entry,
                         gpointer null );
 static void gsb_transactions_list_display_show_gives_balance ( void );
-static gboolean gsb_transactions_list_display_update_auto_completion ( GtkWidget *button,
-                        GtkWidget *checkbutton );
+static gboolean gsb_transactions_list_display_update_auto_completion ( GtkWidget *checkbutton,
+                        GtkWidget *button );
 static gboolean gsb_transactions_list_display_update_combofix ( void );
 /*END_STATIC*/
 

Index: gsb_form.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_form.c,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -d -r1.127 -r1.128
--- gsb_form.c	27 Jun 2009 15:10:52 -0000	1.127
+++ gsb_form.c	27 Jun 2009 19:17:53 -0000	1.128
@@ -842,9 +842,6 @@
                         gsb_form_widget_get_widget (TRANSACTION_FORM_CHEQUE) ),
                         gsb_data_transaction_get_method_of_payment_content (
                         transaction_number) );
-                printf ("method_of_payment_content = %s\n",
-                        gsb_data_transaction_get_method_of_payment_content (
-                        transaction_number) );
                 gtk_widget_show (gsb_form_widget_get_widget (
                         TRANSACTION_FORM_CHEQUE) );
             }
@@ -1935,7 +1932,7 @@
     GtkWidget *widget;
 
     element_number = GPOINTER_TO_INT (ptr_origin);
-printf ("passage par button_press_event element_number = %d\n", element_number);
+
     /* we do the first part only if we click on the form directly, without double click or
      * entry in the transaction list,
      * in that case, transaction_number_in_form is 0 and set to -1, as a white line */

Index: gsb_form_transaction.h
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_form_transaction.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- gsb_form_transaction.h	26 Apr 2009 17:39:34 -0000	1.10
+++ gsb_form_transaction.h	27 Jun 2009 19:17:53 -0000	1.11
@@ -8,18 +8,18 @@
 
 /* START_DECLARATION */
 gboolean gsb_form_transaction_change_clicked ( GtkWidget *button,
-					       gpointer null );
+                        gpointer null );
 void gsb_form_transaction_check_change_button ( gint currency_number,
-						gint account_number );
+                        gint account_number );
 gboolean gsb_form_transaction_complete_form_by_payee ( const gchar *payee_name );
 GSList *gsb_form_transaction_get_parties_list_from_report ( void );
 gboolean gsb_form_transaction_recover_splits_of_transaction ( gint new_transaction_number,
-							      gint no_last_split );
+                        gint no_last_split );
 gint gsb_form_transaction_validate_transfer ( gint transaction_number,
-					      gint new_transaction,
-					      gint account_transfer );
+                        gint new_transaction,
+                        gint account_transfer );
 gint gsb_form_transactions_look_for_last_party ( gint no_party,
-						 gint no_new_transaction,
-						 gint account_number );
+                        gint no_new_transaction,
+                        gint account_number );
 /* END_DECLARATION */
 #endif

Index: gsb_data_payment.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_data_payment.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- gsb_data_payment.c	27 Jun 2009 15:10:52 -0000	1.11
+++ gsb_data_payment.c	27 Jun 2009 19:17:53 -0000	1.12
@@ -651,7 +651,7 @@
 
     if (!payment)
 	return -1;
-printf ("last_number = %d\n", payment -> last_number);
+
     return payment -> last_number;
 }
 
@@ -668,8 +668,7 @@
 					    gint last_number )
 {
     struct_payment *payment;
-devel_debug_int (last_number);
-    printf ("last_number = %d\n", last_number);
+
     payment = gsb_data_payment_get_structure ( payment_number );
 
     if (!payment)

Index: gsb_data_category.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_data_category.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- gsb_data_category.c	12 Jun 2009 19:06:56 -0000	1.69
+++ gsb_data_category.c	27 Jun 2009 19:17:53 -0000	1.70
@@ -91,12 +91,12 @@
 static gint gsb_data_category_get_pointer_from_sub_name_in_glist ( struct_sub_category *sub_category,
 							    const gchar *name );
 static gpointer gsb_data_category_get_structure_in_list ( gint no_category,
-						   GSList *list );
+                        GSList *list );
 static gint gsb_data_category_max_number ( void );
 static gint gsb_data_category_max_sub_category_number ( gint category_number );
 static gint gsb_data_category_new ( const gchar *name );
 static gint gsb_data_category_new_sub_category ( gint category_number,
-					  const gchar *name );
+                        const gchar *name );
 static void gsb_data_category_reset_counters ( void );
 static gint gsb_data_sub_category_compare ( struct_sub_category * a, struct_sub_category * b );
 /*END_STATIC*/

Index: gsb_data_category.h
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_data_category.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- gsb_data_category.h	12 Jun 2009 19:06:56 -0000	1.23
+++ gsb_data_category.h	27 Jun 2009 19:17:53 -0000	1.24
@@ -19,8 +19,8 @@
 						     gint category_id,
 						     gint sub_category_id );
 gboolean gsb_data_category_fill_transaction_by_string ( gint transaction_number,
-							const gchar *string,
-							gboolean is_transaction );
+                        const gchar *string,
+                        gboolean is_transaction );
 gsb_real gsb_data_category_get_balance ( gint no_category );
 GSList *gsb_data_category_get_categories_list ( void );
 gsb_real gsb_data_category_get_direct_balance ( gint no_category );
@@ -37,7 +37,7 @@
 gint gsb_data_category_get_no_category ( gpointer category_ptr );
 gint gsb_data_category_get_no_sub_category ( gpointer sub_category_ptr );
 gint gsb_data_category_get_number_by_name ( const gchar *name,
-					    gboolean create,
+                        gboolean create,
 					    gint category_type );
 gpointer gsb_data_category_get_structure ( gint no_category );
 gsb_real gsb_data_category_get_sub_category_balance ( gint no_category,
@@ -52,11 +52,11 @@
 							 const gchar *name,
 							 gboolean create );
 gpointer gsb_data_category_get_sub_category_structure ( gint no_category,
-							gint no_sub_category );
+                        gint no_sub_category );
 gint gsb_data_category_get_type ( gint no_category );
 gboolean gsb_data_category_init_variables ( void );
 gint gsb_data_category_new_sub_category_with_number ( gint number,
-						      gint category_number);
+                        gint category_number);
 gint gsb_data_category_new_with_number ( gint number );
 gboolean gsb_data_category_remove ( gint no_category );
 void gsb_data_category_remove_transaction_from_category ( gint transaction_number );
@@ -68,15 +68,15 @@
 gboolean gsb_data_category_set_type ( gint no_category,
 				      gint category_type );
 gboolean gsb_data_category_sub_category_remove ( gint no_category,
-						 gint no_sub_category );
-void gsb_data_category_update_counters ( void );
-gchar * gsb_debug_duplicate_categ_check ();
-gboolean gsb_debug_duplicate_categ_fix ();
+                        gint no_sub_category );
 gint gsb_data_category_test_create_category ( gint no_category,
                         const gchar *name,
                         gint category_type );
 gboolean gsb_data_category_test_create_sub_category ( gint no_category,
                         gint no_sub_category,
                         const gchar *name );
+void gsb_data_category_update_counters ( void );
+gchar * gsb_debug_duplicate_categ_check ();
+gboolean gsb_debug_duplicate_categ_fix ();
 /* END_DECLARATION */
 #endif



More information about the cvs mailing list