[seed] Replace use of g_strconcat with "/" with g_build_filename
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed] Replace use of g_strconcat with "/" with g_build_filename
- Date: Thu, 16 Jul 2009 18:07:40 +0000 (UTC)
commit 357249509ac56e88629791f6f89bee2122ace403
Author: Matt ARSENAULT <arsenm2 rpi edu>
Date: Thu Jul 16 07:52:48 2009 -0400
Replace use of g_strconcat with "/" with g_build_filename
libseed/seed-importer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libseed/seed-importer.c b/libseed/seed-importer.c
index c8a2668..bd64a76 100644
--- a/libseed/seed-importer.c
+++ b/libseed/seed-importer.c
@@ -598,7 +598,7 @@ seed_importer_handle_file (JSContextRef ctx,
gchar *contents, *walk, *file_path, *canonical, *absolute_path;
gchar normalized_path[PATH_MAX];
- file_path = g_strconcat (dir, "/", file, NULL);
+ file_path = g_build_filename(dir, file, NULL);
canonical = seed_importer_canonicalize_path (file_path);
SEED_NOTE (IMPORTER, "Trying to import file: %s", file_path);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]