[grisbi-cvs] [SCM] grisbi branch, master, updated. upstream_version_0_9.0-32-g13ac11f

Rémi Cardona nobody at users.sourceforge.net
Wed Mar 2 08:55:48 CET 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grisbi".

The branch, master has been updated
       via  13ac11fc22e981a432dd476f4d9c36e9c4ea70d0 (commit)
       via  f72b6637265afe83e3091dc56a60f2592b52e2ee (commit)
      from  0a815f42a6da3cc0aaa0cfcd8efc43001a3e9c2b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 13ac11fc22e981a432dd476f4d9c36e9c4ea70d0
Author: Rémi Cardona <remi at gentoo.org>
Date:   Wed Mar 2 01:36:42 2011 +0100

    Define 3 variables as static in src/accueil.c since there are only used there

commit f72b6637265afe83e3091dc56a60f2592b52e2ee
Author: Rémi Cardona <remi at gentoo.org>
Date:   Wed Mar 2 00:40:01 2011 +0100

    Fix tests build
    
    NB, they currently fail

-----------------------------------------------------------------------

Changes:
diff --git a/src/accueil.c b/src/accueil.c
index 52c4091..62e725b 100644
--- a/src/accueil.c
+++ b/src/accueil.c
@@ -107,7 +107,7 @@ extern GtkWidget *window;
 
 GtkWidget *logo_accueil = NULL;
 GtkWidget *hbox_title = NULL;
-GtkWidget *label_titre_fichier = NULL;
+static GtkWidget *label_titre_fichier = NULL;
 static GtkWidget *frame_etat_comptes_accueil = NULL;
 static GtkWidget *frame_etat_fin_compte_passif = NULL;
 static GtkWidget *frame_etat_echeances_manuelles_accueil = NULL;
@@ -116,6 +116,8 @@ static GtkWidget *main_page_finished_scheduled_transactions_part = NULL;
 static GtkWidget *frame_etat_soldes_minimaux_autorises = NULL;
 static GtkWidget *frame_etat_soldes_minimaux_voulus = NULL;
 static GtkStyle *style_label;
+static GtkSizeGroup * size_group_accueil;
+static gchar *chaine_espace = "                         ";
 
 #define show_paddingbox(child) gtk_widget_show_all (gtk_widget_get_parent(gtk_widget_get_parent(gtk_widget_get_parent(GTK_WIDGET(child)))))
 #define hide_paddingbox(child) gtk_widget_hide_all (gtk_widget_get_parent(gtk_widget_get_parent(gtk_widget_get_parent(GTK_WIDGET(child)))))
@@ -130,9 +132,6 @@ gint mise_a_jour_liste_echeances_auto_accueil;
 gint mise_a_jour_soldes_minimaux;
 gint mise_a_jour_fin_comptes_passifs;
 
-GtkSizeGroup * size_group_accueil;
-gchar *chaine_espace = "                         ";
-
 /**
  * Create the home page of Grisbi
  *
diff --git a/src/affichage.c b/src/affichage.c
index adea2ce..6ef0a5d 100644
--- a/src/affichage.c
+++ b/src/affichage.c
@@ -105,7 +105,6 @@ extern GdkColor default_split_background;
 extern GdkColor default_text_color[2];
 extern GtkWidget *fenetre_preferences;
 extern GtkWidget *hbox_title;
-extern GtkWidget *label_titre_fichier;
 extern GtkWidget *logo_accueil;
 extern GdkColor split_background;
 extern GdkColor text_color[2];
diff --git a/src/tests/gsb_real_cunit.c b/src/tests/gsb_real_cunit.c
index 3356808..d82c0e5 100644
--- a/src/tests/gsb_real_cunit.c
+++ b/src/tests/gsb_real_cunit.c
@@ -33,6 +33,7 @@
 #endif
 
 #include "include.h"
+#include <stdlib.h>
 
 /* START_INCLUDE */
 #include "gsb_real_cunit.h"
diff --git a/src/tests/main_cunit.c b/src/tests/main_cunit.c
index 1357fb3..cb26bca 100644
--- a/src/tests/main_cunit.c
+++ b/src/tests/main_cunit.c
@@ -38,9 +38,11 @@
 /*START_INCLUDE*/
 #include <CUnit/Automated.h>
 #include <CUnit/Basic.h>
+#include <gtk/gtk.h>
 #include "gsb_data_account_cunit.h"
 #include "gsb_real_cunit.h"
 #include "utils_dates_cunit.h"
+#include "structures.h"
 /*END_INCLUDE*/
 
 
@@ -49,6 +51,7 @@
  * are properly separated and a libgrisbi_core.a library is generated.
  */
 GtkWidget *window = NULL;
+struct gsb_run_t run;
 extern FILE *debug_file;
 extern gchar *nom_fichier_comptes;
 gboolean gsb_grisbi_close( void )
@@ -59,6 +62,9 @@ gboolean gsb_main_set_grisbi_title ( gint account_number )
 {
 	return FALSE;
 }
+gchar *gsb_main_get_print_locale_var(void) { return NULL; }
+gchar *gsb_main_get_print_dir_var(void) { return NULL; }
+
 /* End of unnecessary things */
 
 
diff --git a/src/tests/utils_dates_cunit.c b/src/tests/utils_dates_cunit.c
index 229a7a5..cbd14a7 100644
--- a/src/tests/utils_dates_cunit.c
+++ b/src/tests/utils_dates_cunit.c
@@ -33,6 +33,8 @@
 #endif
 
 #include "include.h"
+#include <stdlib.h>
+#include <locale.h>
 
 /* START_INCLUDE */
 #include "utils_dates_cunit.h"


hooks/post-receive
-- 
grisbi


More information about the cvs mailing list