[grisbi-cvs] grisbi/src etats_calculs.c, 1.128, 1.129 gsb_account.c, 1.37, 1.38

Martin Stromberger fabiolla at users.sourceforge.net
Tue Jan 6 14:52:56 CET 2009


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

Modified Files:
	etats_calculs.c gsb_account.c 
Log Message:
replacement of gtk_notebook_set_page with
gtk_notebook_set_current_page

Index: gsb_account.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_account.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- gsb_account.c	4 Jan 2009 18:31:54 -0000	1.37
+++ gsb_account.c	6 Jan 2009 13:52:54 -0000	1.38
@@ -137,9 +137,9 @@
 					 TRUE );
 
 	/* Go to accounts properties */
-	gtk_notebook_set_page ( GTK_NOTEBOOK ( notebook_general ),
+	gtk_notebook_set_current_page ( GTK_NOTEBOOK ( notebook_general ),
 				GSB_ACCOUNT_PAGE );
-	gtk_notebook_set_page ( GTK_NOTEBOOK ( account_page ), 1 );
+	gtk_notebook_set_current_page ( GTK_NOTEBOOK ( account_page ), 1 );
 
 	gsb_account_property_fill_page ();
     }
@@ -235,7 +235,7 @@
 
 	navigation_change_account ( GINT_TO_POINTER ( gsb_data_account_first_number () ));
 
-	gtk_notebook_set_page ( GTK_NOTEBOOK ( notebook_general ), page_number );
+	gtk_notebook_set_current_page ( GTK_NOTEBOOK ( notebook_general ), page_number );
     }
 
     /* update the buttons lists */

Index: etats_calculs.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/etats_calculs.c,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -d -r1.128 -r1.129
--- etats_calculs.c	1 Jan 2009 20:43:49 -0000	1.128
+++ etats_calculs.c	6 Jan 2009 13:52:54 -0000	1.129
@@ -2660,7 +2660,7 @@
 void impression_etat_courant ( )
 {
     if ( gtk_notebook_get_current_page ( GTK_NOTEBOOK ( notebook_general)) != NAVIGATION_REPORT )
-       gtk_notebook_set_page ( GTK_NOTEBOOK ( notebook_general),
+       gtk_notebook_set_current_page ( GTK_NOTEBOOK ( notebook_general),
                                NAVIGATION_REPORT );
 
     impression_etat (gsb_gui_navigation_get_current_report ());



More information about the cvs mailing list