[grisbi-cvs] [SCM] grisbi branch, master, updated. ed253f4689884225c5241e3e30bf4fa5a5c40457

Pierre Biava nobody at users.sourceforge.net
Tue Jun 29 22:39:45 CEST 2010


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  ed253f4689884225c5241e3e30bf4fa5a5c40457 (commit)
       via  b6695c77da1da46d90a4a29573c8227d5ebf8fc5 (commit)
      from  aee06522288dbe09ba801a261bdea7178442490a (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 ed253f4689884225c5241e3e30bf4fa5a5c40457
Author: pbiava <pierre.biava at nerim.net>
Date:   Tue Jun 29 22:38:17 2010 +0200

    delete an old variable

commit b6695c77da1da46d90a4a29573c8227d5ebf8fc5
Author: pbiava <pierre.biava at nerim.net>
Date:   Tue Jun 29 22:10:57 2010 +0200

    Fixed a crash of Grisbi when a payment method has no name

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

Changes:
diff --git a/src/gsb_data_payment.c b/src/gsb_data_payment.c
index ad9e7fb..39cbc14 100644
--- a/src/gsb_data_payment.c
+++ b/src/gsb_data_payment.c
@@ -796,6 +796,10 @@ gint gsb_data_payment_get_similar ( gint origin_payment,
 
 	if (tmp_payment -> account_number == target_account_number
 	    &&
+        payment -> payment_name
+        &&
+        tmp_payment -> payment_name
+        &&
 	    !strcmp (payment -> payment_name, tmp_payment -> payment_name)
 	    &&
 	    payment -> payment_sign == tmp_payment -> payment_sign)
diff --git a/src/main.c b/src/main.c
index f9d3c55..7eac3e7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -70,7 +70,6 @@ static void main_window_destroy_event( GObject* obj, gpointer data);
 G_MODULE_EXPORT GtkWidget *window = NULL;
 GtkWidget *window_vbox_principale = NULL;
 
-
 /*START_EXTERN*/
 extern FILE *debug_file;
 extern gchar *nom_fichier_comptes;
diff --git a/src/main.h b/src/main.h
index 015e808..1de5920 100644
--- a/src/main.h
+++ b/src/main.h
@@ -3,8 +3,6 @@
 /* START_INCLUDE_H */
 /* END_INCLUDE_H */
 
-gchar *PLUGINS_DIRECTORY;
-
 /* START_DECLARATION */
 gboolean gsb_grisbi_close ( void );
 int main (int argc, char **argv);


hooks/post-receive
-- 
grisbi


More information about the cvs mailing list