[grisbi-cvs] [SCM] grisbi branch, master, updated. upstream_version_0_9.0-50-g7000312

Rémi Cardona nobody at users.sourceforge.net
Thu Mar 10 09:34:31 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  700031250c1a20017690e604b74ea4088ad45d32 (commit)
       via  cda137844a9c0f3832f50893e85058678d886360 (commit)
      from  8ee296c1247bc51a17e455901388f02ebc5f795b (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 700031250c1a20017690e604b74ea4088ad45d32
Author: Rémi Cardona <remi at gentoo.org>
Date:   Thu Mar 10 09:17:12 2011 +0100

    Declare 'cell_views' as static as its only used within gsb_transactions_list.c

commit cda137844a9c0f3832f50893e85058678d886360
Author: Rémi Cardona <remi at gentoo.org>
Date:   Thu Mar 10 09:11:24 2011 +0100

    Remove unused 'solde_label' and 'solde_label_pointe_ variables

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

Changes:
diff --git a/src/gsb_transactions_list.c b/src/gsb_transactions_list.c
index a6c3f17..90afa4f 100644
--- a/src/gsb_transactions_list.c
+++ b/src/gsb_transactions_list.c
@@ -137,11 +137,6 @@ GtkWidget *barre_outils;
 gchar *tips_col_liste_operations[CUSTOM_MODEL_N_VISIBLES_COLUMN];
 gchar *titres_colonnes_liste_operations[CUSTOM_MODEL_N_VISIBLES_COLUMN];
 
-/*  pointeur vers le label qui contient le solde sous la liste des opé */
-GtkWidget *solde_label = NULL;
-
-GtkWidget *solde_label_pointe = NULL;
-
 static GtkWidget *transactions_tree_view = NULL;
 
 gint current_tree_view_width = 0;
@@ -151,7 +146,7 @@ gint current_tree_view_width = 0;
 GSList *orphan_child_transactions = NULL;
 
 /* names of the cells */
-gchar *cell_views[] = {
+static gchar *cell_views[] = {
     N_("Date"),
     N_("Value date"),
     N_("Payee"),
diff --git a/src/traitement_variables.c b/src/traitement_variables.c
index 2974cc7..7473aa3 100644
--- a/src/traitement_variables.c
+++ b/src/traitement_variables.c
@@ -234,8 +234,6 @@ extern GtkWidget *notebook_general;
 extern GSList *orphan_child_transactions;
 extern gint scheduler_col_width[SCHEDULER_COL_VISIBLE_COLUMNS];
 extern gint scheduler_current_tree_view_width;
-extern GtkWidget *solde_label;
-extern GtkWidget *solde_label_pointe;
 extern gint tab_affichage_ope[TRANSACTION_LIST_ROWS_NB][CUSTOM_MODEL_VISIBLE_COLUMNS];
 extern gint transaction_col_align[CUSTOM_MODEL_N_VISIBLES_COLUMN];
 extern gint transaction_col_width[CUSTOM_MODEL_N_VISIBLES_COLUMN];
@@ -361,9 +359,6 @@ void init_variables ( void )
         g_free ( nom_fichier_comptes );
     nom_fichier_comptes = NULL;
 
-    solde_label = NULL;
-    solde_label_pointe = NULL;
-
     affichage_echeances = SCHEDULER_PERIODICITY_ONCE_VIEW;
     affichage_echeances_perso_nb_libre = 0;
     affichage_echeances_perso_j_m_a = PERIODICITY_DAYS;


hooks/post-receive
-- 
grisbi


More information about the cvs mailing list