[rygel] core,media-export: Port to vala 0.9.3
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core,media-export: Port to vala 0.9.3
- Date: Thu, 15 Jul 2010 12:24:44 +0000 (UTC)
commit 52284abda98117504928517f5b6f45ffc7e1b9aa
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Thu Jul 15 02:21:00 2010 +0300
core,media-export: Port to vala 0.9.3
.../rygel-media-export-metadata-extractor.vala | 4 ++--
src/rygel/rygel-plugin-loader.vala | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-metadata-extractor.vala b/src/plugins/media-export/rygel-media-export-metadata-extractor.vala
index 8851bc1..5765190 100644
--- a/src/plugins/media-export/rygel-media-export-metadata-extractor.vala
+++ b/src/plugins/media-export/rygel-media-export-metadata-extractor.vala
@@ -305,8 +305,8 @@ public class Rygel.MediaExport.MetadataExtractor: GLib.Object {
FileQueryInfoFlags.NONE,
null);
- weak string content_type = file_info.get_content_type ();
- weak string mime = g_content_type_get_mime_type (content_type);
+ string content_type = file_info.get_content_type ();
+ string mime = g_content_type_get_mime_type (content_type);
if (mime != null) {
/* add custom mime tag to tag list */
this.tag_list.add (TagMergeMode.REPLACE,
diff --git a/src/rygel/rygel-plugin-loader.vala b/src/rygel/rygel-plugin-loader.vala
index 188b5c2..8e290a3 100644
--- a/src/rygel/rygel-plugin-loader.vala
+++ b/src/rygel/rygel-plugin-loader.vala
@@ -120,7 +120,7 @@ public class Rygel.PluginLoader : Object {
File file = File.new_for_path (file_path);
FileType file_type = info.get_file_type ();
string content_type = info.get_content_type ();
- weak string mime = g_content_type_get_mime_type (content_type);
+ string mime = g_content_type_get_mime_type (content_type);
if (file_type == FileType.DIRECTORY) {
// Recurse into directories
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]