[rygel] media-export: Fix coding style
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] media-export: Fix coding style
- Date: Sat, 14 Aug 2010 23:31:35 +0000 (UTC)
commit cfc0fdf1107f4c4d4cec3359e10ec5db4dd68e40
Author: Jens Georg <mail jensge org>
Date: Fri Jul 30 01:18:13 2010 +0200
media-export: Fix coding style
.../rygel-media-export-recursive-file-monitor.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-recursive-file-monitor.vala b/src/plugins/media-export/rygel-media-export-recursive-file-monitor.vala
index c202f7a..1a6d099 100644
--- a/src/plugins/media-export/rygel-media-export-recursive-file-monitor.vala
+++ b/src/plugins/media-export/rygel-media-export-recursive-file-monitor.vala
@@ -35,11 +35,12 @@ public class Rygel.MediaExport.RecursiveFileMonitor : Object {
public void on_monitor_changed (File file,
File? other_file,
FileMonitorEvent event_type) {
- changed (file, other_file, event_type);
+ this.changed (file, other_file, event_type);
switch (event_type) {
case FileMonitorEvent.CREATED:
this.add (file);
+
break;
case FileMonitorEvent.DELETED:
var file_monitor = this.monitors.get (file);
@@ -50,6 +51,7 @@ public class Rygel.MediaExport.RecursiveFileMonitor : Object {
file_monitor.cancel ();
file_monitor.changed.disconnect (this.on_monitor_changed);
}
+
break;
default:
// do nothing
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]