[gnome-builder] app: use g_build_filename()



commit a346804662bcb4ba14c9cf906d069e684b0858c1
Author: Christian Hergert <chergert redhat com>
Date:   Thu May 5 13:37:04 2016 +0300

    app: use g_build_filename()
    
    I mistakenly used g_build_path(), which takes a separator as the first
    parameter. We just want g_build_filename().

 libide/ide-application.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/ide-application.c b/libide/ide-application.c
index bd47951..06b2819 100644
--- a/libide/ide-application.c
+++ b/libide/ide-application.c
@@ -81,7 +81,7 @@ ide_application_make_skeleton_dirs (IdeApplication *self)
     {
       g_autofree gchar *tmp = projects_dir;
 
-      projects_dir = g_build_path (g_get_home_dir (), tmp, NULL);
+      projects_dir = g_build_filename (g_get_home_dir (), tmp, NULL);
     }
 
   if (!g_file_test (projects_dir, G_FILE_TEST_IS_DIR))


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