[grisbi-cvs] [SCM] grisbi branch, master, updated. upstream_version_0_9_4-13-gefee704

Pierre Biava nobody at users.sourceforge.net
Thu Sep 22 12:18:16 CEST 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  efee704baf648f3c4052167ba808ce379aff3f25 (commit)
      from  14b9069c51e1f1d6dab52c329ed1185907404a03 (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 efee704baf648f3c4052167ba808ce379aff3f25
Author: pbiava <pierre.biava at nerim.net>
Date:   Thu Sep 22 12:16:56 2011 +0200

    bet_graph.c: minor changes

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

Changes:
diff --git a/src/bet_graph.c b/src/bet_graph.c
index 2b707cb..3e0a755 100644
--- a/src/bet_graph.c
+++ b/src/bet_graph.c
@@ -48,7 +48,6 @@
 
 
 typedef struct _struct_bet_graph_data    struct_bet_graph_data;
-typedef struct _struct_bet_sectors_data struct_bet_sectors_data;
 
 struct _struct_bet_graph_data
 {
@@ -246,6 +245,7 @@ void bet_graph_sectors_graph_new ( GtkWidget *menu_item, GtkTreeView *tree_view
     /* free the data */
     struct_free_bet_graph_data ( self_debit );
     struct_free_bet_graph_data ( self_credit );
+    g_object_unref ( G_OBJECT ( bet_graph_builder ) );
     gtk_widget_destroy ( dialog );
 }
 
@@ -434,6 +434,7 @@ void bet_graph_line_graph_new ( GtkWidget *menu_item, GtkTreeView *tree_view )
 
     /* free the data */
     struct_free_bet_graph_data ( self );
+    g_object_unref ( G_OBJECT ( bet_graph_builder ) );
     gtk_widget_destroy ( dialog );
 }
 
@@ -457,7 +458,7 @@ gboolean bet_graph_populate_lines_by_forecast_data ( struct_bet_graph_data *self
     {
         gchar *libelle_axe_x = self -> tab_libelle[0];
         gchar **tab_libelle_axe_x;
-        gdouble *tab_X = self -> tab_X;
+/*         gdouble *tab_X = self -> tab_X;  */
         gdouble *tab_Y = self -> tab_Y;
         gdouble montant = 0.;
         GDateMonth mois_courant;
@@ -506,8 +507,9 @@ gboolean bet_graph_populate_lines_by_forecast_data ( struct_bet_graph_data *self
  */
                     strncpy ( &libelle_axe_x[self -> nbre_elemnts * TAILLE_MAX_LIBELLE], str_date, TAILLE_MAX_LIBELLE );
                     mois_courant = g_date_get_month ( date );
-printf ("self -> nbre_elemnts = %d\tdate_value = %s date_texte = %s x = %d y = %.2f\n",
-    self -> nbre_elemnts, gsb_format_gdate (date), str_date, (gint) tab_X[self->nbre_elemnts], tab_Y[self->nbre_elemnts]);
+/* printf ("self -> nbre_elemnts = %d\tdate_value = %s date_texte = %s x = %d y = %.2f\n",
+ *     self -> nbre_elemnts, gsb_format_gdate (date), str_date, (gint) tab_X[self->nbre_elemnts], tab_Y[self->nbre_elemnts]);
+ */
 
 /*                 }                  */
             }


hooks/post-receive
-- 
grisbi


More information about the cvs mailing list