[PATCH 4/4] filesystem: Updated call to grl-media
- From: Simón Pena <spenap gmail com>
- To: grilo-list gnome org
- Subject: [PATCH 4/4] filesystem: Updated call to grl-media
- Date: Mon, 9 Aug 2010 18:16:07 +0200
---
src/filesystem/grl-filesystem.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/filesystem/grl-filesystem.c b/src/filesystem/grl-filesystem.c
index f0e6d45..8c6fa9a 100644
--- a/src/filesystem/grl-filesystem.c
+++ b/src/filesystem/grl-filesystem.c
@@ -371,7 +371,7 @@ create_content (GrlMedia *content,
}
if (!GRL_IS_MEDIA_BOX (media)) {
- grl_media_set_mime (GRL_DATA (media), mime);
+ grl_media_set_mime (media, mime);
}
/* Title */
@@ -383,7 +383,7 @@ create_content (GrlMedia *content,
gchar *time_str;
g_file_info_get_modification_time (info, &time);
time_str = g_time_val_to_iso8601 (&time);
- grl_media_set_date (GRL_DATA (media), time_str);
+ grl_media_set_date (media, time_str);
g_free (time_str);
/* Thumbnail */
@@ -397,7 +397,7 @@ create_content (GrlMedia *content,
if (thumb) {
gchar *thumb_uri = g_filename_to_uri (thumb, NULL, NULL);
if (thumb_uri) {
- grl_media_set_thumbnail (GRL_DATA (media), thumb_uri);
+ grl_media_set_thumbnail (media, thumb_uri);
g_free (thumb_uri);
}
}
--
1.7.0.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]