[grisbi-cvs] [SCM] grisbi branch, grisbi-1.0.x, updated. upstream_version_0_9_90-44-g8dd17b3
Rémi Cardona
nobody at users.sourceforge.net
Thu Jan 17 21:19:27 CET 2013
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, grisbi-1.0.x has been updated
via 8dd17b3da4dfbd55e6b02efb01d087c5096bba9d (commit)
via 6b1316c987e6788c1b7ebbc1b33f00ac260e674e (commit)
via c3831f102ba624d623700d4242a5874f2abc55b2 (commit)
via 5359325b4694bae25ff45d4d1ff2af1d1d637ea3 (commit)
via 6051ed04004a280f7e1ab1c9acfa5d3bb6a6610b (commit)
via fdf70f63be854d4af22deaa9503a2171dce24a08 (commit)
via 30e483fe57d85af67d04bc3bd8c30d98a0cc1322 (commit)
via 5ac02239da4701eeb7623c84cf45e224889bdaa0 (commit)
via 1a0e31dbf88eac235d409f2c0be61a60c479332b (commit)
via 39ca2451dae87cc4c870e1008613524eb44ad4ce (commit)
via ae65329913d6a723c5ca5fdce273939f9193e09f (commit)
via ea05ac825471523a3e9b6df9d627777959e634fe (commit)
from 5fce1743901145e7a0fa7c256539ae5bfdcf7caf (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 8dd17b3da4dfbd55e6b02efb01d087c5096bba9d
Author: Rémi Cardona <remi at gentoo.org>
Date: Sat Jan 12 18:17:18 2013 +0100
Remove unused variable in onglet_localisation()
commit 6b1316c987e6788c1b7ebbc1b33f00ac260e674e
Author: Rémi Cardona <remi at gentoo.org>
Date: Fri Jan 11 09:07:07 2013 +0100
Remove unused variable in export_create_selection_page()
commit c3831f102ba624d623700d4242a5874f2abc55b2
Author: Rémi Cardona <remi at gentoo.org>
Date: Fri Jan 11 09:04:08 2013 +0100
Remove unused variable in exporter_etat()
commit 5359325b4694bae25ff45d4d1ff2af1d1d637ea3
Author: Rémi Cardona <remi at gentoo.org>
Date: Fri Jan 11 09:02:17 2013 +0100
Remove unused variable 'realcolumns' in html_attach_label()
commit 6051ed04004a280f7e1ab1c9acfa5d3bb6a6610b
Author: Rémi Cardona <remi at gentoo.org>
Date: Fri Jan 11 08:17:23 2013 +0100
Remove unused 'row' variable in onglet_etat_dates()
commit fdf70f63be854d4af22deaa9503a2171dce24a08
Author: Rémi Cardona <remi at gentoo.org>
Date: Fri Jan 11 07:58:17 2013 +0100
Remove unused variable 'found' in etat_affiche_affichage_ligne_ope()
commit 30e483fe57d85af67d04bc3bd8c30d98a0cc1322
Author: Rémi Cardona <remi at gentoo.org>
Date: Thu Jan 10 08:56:40 2013 +0100
Remove unused variable in bet_config_account_get_select_historical_data()
commit 5ac02239da4701eeb7623c84cf45e224889bdaa0
Author: Rémi Cardona <remi at gentoo.org>
Date: Thu Jan 10 08:56:10 2013 +0100
Remove unused variables (and expensive GObject type casts) in 2 custom_list.c functions
commit 1a0e31dbf88eac235d409f2c0be61a60c479332b
Author: Rémi Cardona <remi at gentoo.org>
Date: Thu Jan 10 07:46:25 2013 +0100
Remove dead assignment in bet_config_general_create_general_page()
commit 39ca2451dae87cc4c870e1008613524eb44ad4ce
Author: Rémi Cardona <remi at gentoo.org>
Date: Thu Jan 10 07:46:04 2013 +0100
Remove unused variable in recuperation_noms_colonnes_et_tips()
commit ae65329913d6a723c5ca5fdce273939f9193e09f
Author: Rémi Cardona <remi at gentoo.org>
Date: Thu Jan 10 07:45:29 2013 +0100
Remove unused variable in gsb_transaction_list_config_drag_end()
commit ea05ac825471523a3e9b6df9d627777959e634fe
Author: Rémi Cardona <remi at gentoo.org>
Date: Thu Jan 10 07:44:44 2013 +0100
Remove unused variables in gsb_real_raw_get_from_string()
-----------------------------------------------------------------------
Changes:
diff --git a/src/affichage_liste.c b/src/affichage_liste.c
index 5d86304..a446a9f 100644
--- a/src/affichage_liste.c
+++ b/src/affichage_liste.c
@@ -511,20 +511,20 @@ void recuperation_noms_colonnes_et_tips ( void )
/* ************************************************************************************************************** */
GtkWidget *onglet_diverse_form_and_lists ( void )
{
- GtkWidget *vbox_pref, *paddingbox, *radiogroup;
+ GtkWidget *vbox_pref, *paddingbox;
vbox_pref = new_vbox_with_title_and_icon ( _("Form behavior"),
"form.png" );
/* What to do if RETURN is pressed into transaction form */
- radiogroup = gsb_automem_radiobutton_new_with_title (vbox_pref,
+ gsb_automem_radiobutton_new_with_title (vbox_pref,
_("Pressing RETURN in transaction form"),
_("selects next field"),
_("terminates transaction"),
&conf.entree, NULL, NULL);
/* How to display financial year */
- radiogroup = gsb_automem_radiobutton_new_with_title (vbox_pref,
+ gsb_automem_radiobutton_new_with_title (vbox_pref,
_("Automatic financial year is set"),
_("according to transaction date"),
_("according to transaction value date"),
@@ -1047,7 +1047,6 @@ gboolean gsb_transaction_list_config_drag_end ( GtkWidget *tree_view,
gint end_drag_column;
gint element;
gint old_element;
- gint current_account;
/* get the cell position */
gdk_window_get_pointer ( gtk_tree_view_get_bin_window ( GTK_TREE_VIEW ( tree_view ) ),
@@ -1075,7 +1074,6 @@ gboolean gsb_transaction_list_config_drag_end ( GtkWidget *tree_view,
return ( FALSE );
element = tab_affichage_ope[start_drag_row][start_drag_column];
- current_account = gsb_gui_navigation_get_current_account ( );
/* save the old position et désensitive le bouton correspondant */
old_element = tab_affichage_ope[end_drag_row][end_drag_column];
diff --git a/src/bet_config.c b/src/bet_config.c
index 553250d..17c58a4 100644
--- a/src/bet_config.c
+++ b/src/bet_config.c
@@ -120,8 +120,7 @@ GtkWidget *bet_config_general_create_general_page ( void )
/* Calculation of period */
paddingbox = new_paddingbox_with_title ( vbox, FALSE, _("Common data") );
-
- widget = bet_config_general_get_period_widget ( paddingbox );
+ bet_config_general_get_period_widget ( paddingbox );
/* add a separator */
gtk_box_pack_start ( GTK_BOX ( vbox ), gtk_hseparator_new (), FALSE, FALSE, 5 );
@@ -658,12 +657,11 @@ GtkWidget *bet_config_account_get_select_historical_data ( gchar *title )
{
GtkWidget *vbox;
GtkWidget *paddingbox;
- GtkWidget *hbox;
vbox = gtk_vbox_new ( FALSE, 0 );
paddingbox = new_paddingbox_with_title ( vbox, FALSE, _(title) );
- hbox = bet_config_get_select_historical_data ( paddingbox, account_page );
+ bet_config_get_select_historical_data ( paddingbox, account_page );
return vbox;
}
diff --git a/src/custom_list.c b/src/custom_list.c
index 0b87c36..d8ec8e1 100644
--- a/src/custom_list.c
+++ b/src/custom_list.c
@@ -441,14 +441,11 @@ static GtkTreePath *custom_list_get_path (GtkTreeModel *tree_model,
{
GtkTreePath *path;
CustomRecord *record;
- CustomList *custom_list;
g_return_val_if_fail (CUSTOM_IS_LIST(tree_model), NULL);
g_return_val_if_fail (iter != NULL, NULL);
g_return_val_if_fail (iter->user_data != NULL, NULL);
- custom_list = CUSTOM_LIST(tree_model);
-
record = (CustomRecord*) iter->user_data;
path = gtk_tree_path_new();
@@ -480,7 +477,6 @@ static void custom_list_get_value (GtkTreeModel *tree_model,
GValue *value)
{
CustomRecord *record;
- CustomList *custom_list;
g_return_if_fail (CUSTOM_IS_LIST (tree_model));
g_return_if_fail (iter != NULL);
@@ -488,8 +484,6 @@ static void custom_list_get_value (GtkTreeModel *tree_model,
g_value_init (value, CUSTOM_LIST(tree_model)->column_types[column]);
- custom_list = CUSTOM_LIST(tree_model);
-
record = (CustomRecord*) iter->user_data;
g_return_if_fail ( record != NULL );
diff --git a/src/etats_affiche.c b/src/etats_affiche.c
index f83e0d0..ee551d7 100644
--- a/src/etats_affiche.c
+++ b/src/etats_affiche.c
@@ -1506,7 +1506,6 @@ gint etat_affiche_affichage_ligne_ope ( gint transaction_number,
if ( gsb_data_transaction_get_mother_transaction_number ( transaction_number))
{
GSList *list_tmp_transactions;
- gboolean found = FALSE;
/* On récupère donc la liste des opérations du compte et on en fait
le tour jusqu'à ce qu'on trouve l'opération mère */
@@ -1528,7 +1527,6 @@ gint etat_affiche_affichage_ligne_ope ( gint transaction_number,
{
gsb_data_transaction_set_method_of_payment_content ( transaction_number,
gsb_data_transaction_get_method_of_payment_content (transaction_number_tmp));
- found = TRUE;
}
}
list_tmp_transactions = list_tmp_transactions -> next;
diff --git a/src/etats_config.c b/src/etats_config.c
index 2f7b69c..23e61ae 100644
--- a/src/etats_config.c
+++ b/src/etats_config.c
@@ -2146,11 +2146,10 @@ GtkWidget *onglet_etat_dates ( void )
while ( plages_dates[i] )
{
- gint row;
gchar * plage = _(plages_dates[i]);
- row = gtk_clist_append ( GTK_CLIST ( liste_plages_dates_etat ),
- &plage );
+ gtk_clist_append ( GTK_CLIST ( liste_plages_dates_etat ),
+ &plage );
i++;
}
diff --git a/src/etats_html.c b/src/etats_html.c
index 6ec9734..79bb84b 100644
--- a/src/etats_html.c
+++ b/src/etats_html.c
@@ -97,7 +97,7 @@ struct struct_etat_affichage html_affichage = {
void html_attach_label ( gchar * text, gdouble properties, int x, int x2, int y, int y2,
enum alignement align, gint transaction_number )
{
- int pad, realsize, realcolumns;
+ int pad, realsize;
gint current_report_number;
current_report_number = gsb_gui_navigation_get_current_report ();
@@ -136,10 +136,6 @@ void html_attach_label ( gchar * text, gdouble properties, int x, int x2, int y,
realsize ++;
}
}
- if ( gsb_data_report_get_show_report_transactions (current_report_number))
- realcolumns = (float)((nb_colonnes / 2) + 1);
- else
- realcolumns = nb_colonnes;
switch ( align )
{
diff --git a/src/etats_onglet.c b/src/etats_onglet.c
index bb79ea8..13fd88b 100644
--- a/src/etats_onglet.c
+++ b/src/etats_onglet.c
@@ -1119,12 +1119,10 @@ gboolean gsb_report_export_change_format ( GtkWidget * combo, GtkWidget * select
void exporter_etat ( void )
{
GtkWidget *fenetre_nom, *hbox, * combo;
- gint resultat, current_report_number;
+ gint resultat;
gchar * nom_etat;
GtkWidget *notebook_general;
- current_report_number = gsb_gui_navigation_get_current_report ();
-
notebook_general = gsb_gui_get_general_notebook ( );
if ( gtk_notebook_get_current_page ( GTK_NOTEBOOK ( notebook_general)) != GSB_REPORTS_PAGE )
gtk_notebook_set_current_page ( GTK_NOTEBOOK ( notebook_general), GSB_REPORTS_PAGE );
diff --git a/src/export.c b/src/export.c
index bcb27de..0f36f6f 100644
--- a/src/export.c
+++ b/src/export.c
@@ -163,7 +163,6 @@ void export_accounts ( void )
GtkWidget * export_create_selection_page ( GtkWidget * assistant )
{
GtkWidget * view, * vbox, * padding_box, * sw;
- GtkWidget *combo;
GtkWidget *button;
GtkWidget *button_select;
GtkTreeViewColumn *column;
@@ -238,7 +237,7 @@ GtkWidget * export_create_selection_page ( GtkWidget * assistant )
G_CALLBACK ( export_account_all_toggled ),
view );
- combo = gsb_automem_radiobutton3_new_with_title ( vbox,
+ gsb_automem_radiobutton3_new_with_title ( vbox,
_("Select options to export" ),
_("QIF format" ), _("CSV format" ), NULL,
&etat.export_file_format,
diff --git a/src/gsb_real.c b/src/gsb_real.c
index 5823f40..0806f9c 100644
--- a/src/gsb_real.c
+++ b/src/gsb_real.c
@@ -177,8 +177,6 @@ gsb_real gsb_real_raw_get_from_string ( const gchar *string,
static const gchar *empty_char = "" ;
const gchar *default_decimal_char_dot = decimal_char_dot;
const gchar *default_decimal_char_comma = decimal_char_comma;
- unsigned mts_len;
- unsigned mdp_len;
unsigned nb_digits = 0;
gint64 mantissa = 0;
gint8 sign = 0;
@@ -189,9 +187,6 @@ gsb_real gsb_real_raw_get_from_string ( const gchar *string,
if ( !string)
return error_real;
- mts_len = mon_thousands_sep ? strlen ( mon_thousands_sep ) : 0;
- mdp_len = mon_decimal_point ? strlen ( mon_decimal_point ) : 0;
-
if ( mon_thousands_sep )
{
if ( g_strstr_len ( mon_thousands_sep, -1, decimal_char_dot ) )
diff --git a/src/parametres.c b/src/parametres.c
index 855eb55..b5b6910 100644
--- a/src/parametres.c
+++ b/src/parametres.c
@@ -1566,16 +1566,12 @@ gboolean gsb_config_metatree_re_sort_divisions ( GtkWidget *checkbutton,
* */
GtkWidget *onglet_localisation ( void )
{
- GtkWidget *vbox_pref, *paddingbox;
-
+ GtkWidget *vbox_pref;
vbox_pref = new_vbox_with_title_and_icon ( _("Localization"), "locale.png" );
-/* paddingbox = new_paddingbox_with_title ( vbox_pref, FALSE, _("Choose Language") ); */
-
- paddingbox = gsb_config_date_format_chosen ( vbox_pref, GTK_ORIENTATION_VERTICAL );
-
- paddingbox = gsb_config_number_format_chosen ( vbox_pref, GTK_ORIENTATION_VERTICAL );
+ gsb_config_date_format_chosen ( vbox_pref, GTK_ORIENTATION_VERTICAL );
+ gsb_config_number_format_chosen ( vbox_pref, GTK_ORIENTATION_VERTICAL );
return vbox_pref;
}
hooks/post-receive
--
grisbi
More information about the cvs
mailing list