[grisbi-cvs] [SCM] grisbi branch, master, updated. upstream_version_0_9.0-52-g050ac7b

Pierre Biava nobody at users.sourceforge.net
Thu Mar 10 20:40: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  050ac7b2b4f404a339046cc55f75795c1afbb244 (commit)
       via  3fef839aa2d9309c321ce5c1874ca614ec8a72c0 (commit)
      from  700031250c1a20017690e604b74ea4088ad45d32 (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 050ac7b2b4f404a339046cc55f75795c1afbb244
Author: pbiava <pierre.biava at nerim.net>
Date:   Thu Mar 10 20:36:14 2011 +0100

    minor change in configure.in

commit 3fef839aa2d9309c321ce5c1874ca614ec8a72c0
Author: pbiava <pierre.biava at nerim.net>
Date:   Thu Mar 10 20:12:57 2011 +0100

    fixes a bug that corrupts the file grisbi when saving in certain circumstances

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

Changes:
diff --git a/configure.in b/configure.in
index 35127f7..f55b699 100644
--- a/configure.in
+++ b/configure.in
@@ -346,7 +346,7 @@ cat << EOF
 This is an unstable version of grisbi. It is for test purposes only.
 Please, DO NOT use it in a production environment. It will probably crash and you will lose your data.
 
-If you are looking for a stable release of grisbi (0.8.0), either download it from:
+If you are looking for a stable release of grisbi (0.8.x), either download it from:
 http://www.grisbi.org/download.fr.html
 
 Thanks,
diff --git a/src/gsb_file_save.c b/src/gsb_file_save.c
index 782f805..d5ed1de 100644
--- a/src/gsb_file_save.c
+++ b/src/gsb_file_save.c
@@ -2792,14 +2792,14 @@ gulong gsb_file_save_logo_part ( gulong iterator,
     gchar * str64;
 
     pixbuf = gsb_select_icon_get_logo_pixbuf ( );
-    if ( !pixbuf )
-        return 0;
-
-    str64 = gsb_select_icon_create_chaine_base64_from_pixbuf ( pixbuf );
+    if ( pixbuf )
+    {
+        str64 = gsb_select_icon_create_chaine_base64_from_pixbuf ( pixbuf );
 
-    new_string = g_markup_printf_escaped ( "\t<Logo\n"
+        new_string = g_markup_printf_escaped ( "\t<Logo\n"
                         "\t\tImage=\"%s\" />\n", 
                         my_safe_null_str(str64) );
+    }
 
     iterator = gsb_file_save_append_part ( iterator,
                         length_calculated,


hooks/post-receive
-- 
grisbi


More information about the cvs mailing list