[grisbi-cvs] grisbi/src gsb_file_config.c,1.81,1.82

Mickaƫl Remars mykeul at users.sourceforge.net
Mon Aug 24 17:24:25 CEST 2009


Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv3291

Modified Files:
	gsb_file_config.c 
Log Message:
* msvc needs all variable declarations at the begining of the blocs (C99)
* removed useless #include <strings.h>

Index: gsb_file_config.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_file_config.c,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- gsb_file_config.c	23 Aug 2009 16:45:05 -0000	1.81
+++ gsb_file_config.c	24 Aug 2009 15:24:23 -0000	1.82
@@ -28,7 +28,6 @@
 
 
 #include "include.h"
-#include <strings.h> // for memset
 
 /*START_INCLUDE*/
 #include "gsb_file_config.h"
@@ -1305,6 +1304,7 @@
     GtkWidget *image;
     GtkWidget *label;
     gint resultat;
+	gchar *tmpstr;
 
     dialog = gtk_dialog_new_with_buttons ( _("Delete an old config file"),
                         GTK_WINDOW ( window ),
@@ -1325,7 +1325,7 @@
                         GTK_ICON_SIZE_DIALOG );
     gtk_box_pack_start ( GTK_BOX ( hbox ), image, FALSE, FALSE, 5 );
 
-    gchar *tmpstr = g_strconcat ( 
+    tmpstr = g_strconcat ( 
                         _("Careful, you are about to deleting the file\n"
                         "of configuration of an old version of Grisbi.\n"
                         "\n<b>Do you want to delete this file ?</b>"),
@@ -1364,6 +1364,7 @@
     GError *error = NULL;
     gint resultat;
     gint i = 0, j = 0;
+	gchar *tmpstr;
     
     dir = g_dir_open ( my_get_grisbirc_dir ( ), 0, &error );
     if ( dir )
@@ -1411,7 +1412,7 @@
                         GTK_ICON_SIZE_DIALOG );
     gtk_box_pack_start ( GTK_BOX ( hbox ), image, FALSE, FALSE, 5 );
 
-    gchar *tmpstr = g_strconcat ( 
+    tmpstr = g_strconcat ( 
                         _("Please Choose the name of file\n"
                         "of configuration.\n\n"
                         "and press the 'OK' button."),



More information about the cvs mailing list