[grilo-plugins] filesystem: use proper URI format instead of concat "file://"
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] filesystem: use proper URI format instead of concat "file://"
- Date: Thu, 17 Mar 2011 20:36:38 +0000 (UTC)
commit cd8be2be47830bb407ccb2427ca1b533be86ff5c
Author: Lionel Landwerlin <lionel g landwerlin linux intel com>
Date: Thu Mar 10 15:12:16 2011 +0000
filesystem: use proper URI format instead of concat "file://"
Signed-off-by: Lionel Landwerlin <lionel g landwerlin linux intel com>
src/media/filesystem/grl-filesystem.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/media/filesystem/grl-filesystem.c b/src/media/filesystem/grl-filesystem.c
index d4fe60c..553e3e4 100644
--- a/src/media/filesystem/grl-filesystem.c
+++ b/src/media/filesystem/grl-filesystem.c
@@ -481,7 +481,7 @@ create_content (GrlMedia *content,
grl_media_set_id (media, root_dir ? NULL : path);
/* URL */
- str = g_strconcat ("file://", path, NULL);
+ str = g_file_get_uri (file);
grl_media_set_url (media, str);
g_free (str);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]