[rygel] media-export: Remove trailing whitespaces



commit a96314a5f1f55e10fd579f390a0e08392d7d6866
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Jun 4 16:16:39 2009 +0300

    media-export: Remove trailing whitespaces
---
 .../media-export/rygel-media-export-container.vala |   22 ++++++++++----------
 ...rygel-media-export-directory-search-result.vala |    4 +-
 .../media-export/rygel-media-export-plugin.vala    |    4 +-
 .../rygel-media-export-root-container.vala         |   14 ++++++------
 4 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/src/plugins/media-export/rygel-media-export-container.vala b/src/plugins/media-export/rygel-media-export-container.vala
index 5a2ac2f..34b5067 100644
--- a/src/plugins/media-export/rygel-media-export-container.vala
+++ b/src/plugins/media-export/rygel-media-export-container.vala
@@ -23,7 +23,7 @@ using GLib;
 using Rygel;
 
 /**
- * MediaContainer which exposes the contents of a directory 
+ * MediaContainer which exposes the contents of a directory
  * as items.
  *
  * The folder contents will be queried on demand and cached afterwards
@@ -48,9 +48,9 @@ public class Rygel.MediaExportContainer : MediaContainer {
     private Gee.List<AsyncResult> results;
 
     // methods overridden from MediaContainer
-    public override void get_children (uint offset, 
+    public override void get_children (uint offset,
                                        uint max_count,
-                                       Cancellable? cancellable, 
+                                       Cancellable? cancellable,
                                        AsyncReadyCallback callback) {
         // if the cache is empty, fill it
         if (items.size == 0) {
@@ -65,7 +65,7 @@ public class Rygel.MediaExportContainer : MediaContainer {
                                 FILE_ATTRIBUTE_STANDARD_TYPE + "," +
                                 FILE_ATTRIBUTE_STANDARD_NAME,
                                 FileQueryInfoFlags.NONE,
-                                Priority.DEFAULT, 
+                                Priority.DEFAULT,
                                 null,
                                 res.enumerate_children_ready);
             this.results.add (res);
@@ -73,9 +73,9 @@ public class Rygel.MediaExportContainer : MediaContainer {
             uint stop = offset + max_count;
             stop = stop.clamp (0, this.child_count);
             var children = this.items.slice ((int) offset, (int) stop);
-            var res = 
+            var res =
                 new SimpleAsyncResult<Gee.List<MediaObject>> (
-                            this, 
+                            this,
                             callback);
             res.data = children;
             res.complete_in_idle ();
@@ -102,7 +102,7 @@ public class Rygel.MediaExportContainer : MediaContainer {
         }
     }
 
-    public override void find_object (string id, 
+    public override void find_object (string id,
                                       Cancellable? cancellable,
                                       AsyncReadyCallback callback) {
         var res = new Rygel.SimpleAsyncResult<string> (this, callback);
@@ -111,7 +111,7 @@ public class Rygel.MediaExportContainer : MediaContainer {
         res.complete_in_idle ();
     }
 
-    public override MediaObject? find_object_finish (AsyncResult res) 
+    public override MediaObject? find_object_finish (AsyncResult res)
                                                      throws GLib.Error {
         var id = ((Rygel.SimpleAsyncResult<string>) res).data;
 
@@ -129,7 +129,7 @@ public class Rygel.MediaExportContainer : MediaContainer {
             }
         }
 
-        // if not found, do a depth-first search on the child 
+        // if not found, do a depth-first search on the child
         // folders
         if (item == null) {
             foreach (var tmp in items) {
@@ -148,13 +148,13 @@ public class Rygel.MediaExportContainer : MediaContainer {
 
     /**
      * Create a new root container.
-     * 
+     *
      * @parameter parent, parent container
      * @parameter file, directory you want to expose
      * @parameter full, show full path in title
      */
     public MediaExportContainer (MediaContainer parent, File file) {
-        string id = Checksum.compute_for_string (ChecksumType.MD5, 
+        string id = Checksum.compute_for_string (ChecksumType.MD5,
                                                  file.get_uri ());
 
         base(id, parent, file.get_basename (), 0);
diff --git a/src/plugins/media-export/rygel-media-export-directory-search-result.vala b/src/plugins/media-export/rygel-media-export-directory-search-result.vala
index 4ffb879..4786522 100644
--- a/src/plugins/media-export/rygel-media-export-directory-search-result.vala
+++ b/src/plugins/media-export/rygel-media-export-directory-search-result.vala
@@ -82,7 +82,7 @@ public class Rygel.MediaExportDirectorySearchResult :
                                              null, enumerate_next_ready);
             } else {
                 enumerator.close_async (Priority.DEFAULT,
-                                        null, 
+                                        null,
                                         enumerator_closed);
             }
         } catch (Error e) {
@@ -99,7 +99,7 @@ public class Rygel.MediaExportDirectorySearchResult :
 
             enumerator.next_files_async (MAX_CHILDREN,
                                          Priority.DEFAULT,
-                                         null, 
+                                         null,
                                          enumerate_next_ready);
         } catch (Error error) {
             this.error = error;
diff --git a/src/plugins/media-export/rygel-media-export-plugin.vala b/src/plugins/media-export/rygel-media-export-plugin.vala
index d9f6694..25f4871 100644
--- a/src/plugins/media-export/rygel-media-export-plugin.vala
+++ b/src/plugins/media-export/rygel-media-export-plugin.vala
@@ -25,8 +25,8 @@ using GLib;
 
 /**
  * Simple plugin which exposes the media contents of a directory via UPnP.
- * 
- * This plugin is currently meant for testing purposes only. It has several 
+ *
+ * This plugin is currently meant for testing purposes only. It has several
  * drawbacks like:
  *
  * * No sorting
diff --git a/src/plugins/media-export/rygel-media-export-root-container.vala b/src/plugins/media-export/rygel-media-export-root-container.vala
index 427fda9..9a86a3b 100644
--- a/src/plugins/media-export/rygel-media-export-root-container.vala
+++ b/src/plugins/media-export/rygel-media-export-root-container.vala
@@ -24,35 +24,35 @@ using Rygel;
 using GConf;
 
 /**
- * MediaContainer which exposes the contents of a directory 
+ * MediaContainer which exposes the contents of a directory
  * as items
  */
 public class Rygel.MediaExportRootContainer : MediaContainer {
     private ArrayList<MediaExportContainer> items;
 
-    public override void get_children (uint offset, 
+    public override void get_children (uint offset,
                                        uint max_count,
-                                       Cancellable? cancellable, 
+                                       Cancellable? cancellable,
                                        AsyncReadyCallback callback)
     {
         uint stop = offset + max_count;
         stop = stop.clamp (0, this.child_count);
         var children = this.items.slice ((int) offset, (int) stop);
-        var res = new Rygel.SimpleAsyncResult<Gee.List<MediaObject>> (this, 
+        var res = new Rygel.SimpleAsyncResult<Gee.List<MediaObject>> (this,
                                                                       callback);
         res.data = children;
         res.complete_in_idle ();
     }
 
     public override Gee.List<MediaObject>? get_children_finish (
-                                                    AsyncResult res) 
+                                                    AsyncResult res)
                                                     throws GLib.Error {
         var simple_res = (Rygel.SimpleAsyncResult<Gee.List<MediaObject>>) res;
 
         return simple_res.data;
     }
 
-    public override void find_object (string id, 
+    public override void find_object (string id,
                                       Cancellable? cancellable,
                                       AsyncReadyCallback callback) {
         var res = new Rygel.SimpleAsyncResult<string> (this, callback);
@@ -61,7 +61,7 @@ public class Rygel.MediaExportRootContainer : MediaContainer {
         res.complete_in_idle ();
     }
 
-    public override MediaObject? find_object_finish (AsyncResult res) 
+    public override MediaObject? find_object_finish (AsyncResult res)
                                                      throws GLib.Error {
         MediaObject item = null;
         var id = ((Rygel.SimpleAsyncResult<string>) res).data;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]