[seed] [libseed] Use g_build_filename for portability



commit 0665abac32a65f343e7dc645b6add2b15c9507cd
Author: Tim Horton <hortont svn gnome org>
Date:   Mon Jul 27 16:08:33 2009 -0400

    [libseed] Use g_build_filename for portability

 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 1d791ac..1de329c 100644
--- a/libseed/seed-importer.c
+++ b/libseed/seed-importer.c
@@ -492,7 +492,7 @@ seed_make_importer_dir (JSContextRef ctx, gchar *path)
 
   dir = JSObjectMake (ctx, importer_dir_class, path);
 
-  init = g_strconcat (path, "/__init__.js", NULL);
+  init = g_build_filename (path, "__init__.js", NULL);
   if (g_file_test (init, G_FILE_TEST_IS_REGULAR))
     {
       SeedScript *s;



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