gtranslator r3588 - in trunk: . src



Author: psanxiao
Date: Thu Sep 18 14:30:35 2008
New Revision: 3588
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3588&view=rev

Log:
	* application.c.
	(gtranslator_application_init):
	Now using g_build_filename instead of g_strconcat.



Modified:
   trunk/ChangeLog
   trunk/src/application.c

Modified: trunk/src/application.c
==============================================================================
--- trunk/src/application.c	(original)
+++ trunk/src/application.c	Thu Sep 18 14:30:35 2008
@@ -192,7 +192,7 @@
 	/*
 	 * If the config folder exists but there is no profile
 	 */
-	profiles_file = g_strconcat (gtranslator_folder, "/", "profiles.xml", NULL);
+	profiles_file = g_build_filename (gtranslator_folder, "profiles.xml", NULL);
 	if (!g_file_test (profiles_file, G_FILE_TEST_EXISTS))
 	    priv->first_run = TRUE;
 	g_free (profiles_file);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]