diff options
author | Руслан Ижбулатов <lrn1986@gmail.com> | 2014-04-21 15:00:18 +0000 |
---|---|---|
committer | Руслан Ижбулатов <lrn1986@gmail.com> | 2014-08-05 21:49:54 +0000 |
commit | 3c6efd4d5077862adc918c651ab7c49dc133d643 (patch) | |
tree | b664fb7dad72f1bb88ea129950292f0982352901 | |
parent | b637714ded46a05a98fb92b7b96e69fe9b215307 (diff) |
Make sure compiled resources only have / as dirsep
https://bugzilla.gnome.org/show_bug.cgi?id=725511
-rw-r--r-- | gio/glib-compile-resources.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/glib-compile-resources.c b/gio/glib-compile-resources.c index 537ca78b8..6bad64fc4 100644 --- a/gio/glib-compile-resources.c +++ b/gio/glib-compile-resources.c @@ -188,7 +188,7 @@ find_file (const gchar *filename) /* search all the sourcedirs for the correct files in order */ for (i = 0; sourcedirs[i] != NULL; i++) { - real_file = g_build_filename (sourcedirs[i], filename, NULL); + real_file = g_build_path ("/", sourcedirs[i], filename, NULL); exists = g_file_test (real_file, G_FILE_TEST_EXISTS); if (exists) return real_file; |