[rygel] media-export: Minor coding-style fixes
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] media-export: Minor coding-style fixes
- Date: Thu, 25 Nov 2010 21:39:26 +0000 (UTC)
commit a399beb3f42e112a63994990a67f1a2876d37692
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Thu Nov 25 20:21:10 2010 +0200
media-export: Minor coding-style fixes
.../rygel-media-export-harvesting-task.vala | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-harvesting-task.vala b/src/plugins/media-export/rygel-media-export-harvesting-task.vala
index b8e248d..31104f0 100644
--- a/src/plugins/media-export/rygel-media-export-harvesting-task.vala
+++ b/src/plugins/media-export/rygel-media-export-harvesting-task.vala
@@ -21,7 +21,8 @@
using GLib;
using Gee;
-public class Rygel.MediaExport.HarvestingTask : Rygel.StateMachine, GLib.Object {
+public class Rygel.MediaExport.HarvestingTask : Rygel.StateMachine,
+ GLib.Object {
public File origin;
private MetadataExtractor extractor;
private MediaCache cache;
@@ -171,6 +172,7 @@ public class Rygel.MediaExport.HarvestingTask : Rygel.StateMachine, GLib.Object
if (info.get_file_type () == FileType.DIRECTORY) {
// queue directory for processing later
this.monitor.add (file);
+
var container = new DummyContainer (file, parent);
this.containers.push_tail (container);
try {
@@ -203,6 +205,7 @@ public class Rygel.MediaExport.HarvestingTask : Rygel.StateMachine, GLib.Object
foreach (var info in list) {
var file = container.file.get_child (info.get_name ());
+
container.seen (file);
this.process_file (file, info, container);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]