[rygel] mediathek: Fix whitespace errors



commit e157023a893c89192206c0309612b96ae0688d65
Author: Jens Georg <mail jensge org>
Date:   Thu Jan 27 19:05:12 2011 +0100

    mediathek: Fix whitespace errors

 .../rygel-mediathek-asx-playlist-parser.vala       |   12 ++++++------
 src/plugins/mediathek/rygel-mediathek-plugin.vala  |    2 +-
 .../mediathek/rygel-mediathek-rss-container.vala   |    2 +-
 .../rygel-mediathek-video-item-factory.vala        |    2 +-
 4 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/plugins/mediathek/rygel-mediathek-asx-playlist-parser.vala b/src/plugins/mediathek/rygel-mediathek-asx-playlist-parser.vala
index e7bd647..693a237 100644
--- a/src/plugins/mediathek/rygel-mediathek-asx-playlist-parser.vala
+++ b/src/plugins/mediathek/rygel-mediathek-asx-playlist-parser.vala
@@ -26,11 +26,11 @@ using Xml;
 
 /**
  * This class is a simple ASX playlist parser
- * 
+ *
  * It does nothing but extracting all href tags from an ASX
  * and ignore all of the other information that may be in it
- * 
- * This parser is //only// intended to work with the simple 
+ *
+ * This parser is //only// intended to work with the simple
  * ASX files presented by the ZDF Mediathek streaming server
  */
 internal class Rygel.Mediathek.AsxPlaylistParser : PlaylistParser {
@@ -45,7 +45,7 @@ internal class Rygel.Mediathek.AsxPlaylistParser : PlaylistParser {
         } catch (RegexError error) {};
     }
 
-    /** 
+    /**
      * Get and parse the ASX file.
      *
      * This will fetch the ASX file using the soup session configured on
@@ -69,7 +69,7 @@ internal class Rygel.Mediathek.AsxPlaylistParser : PlaylistParser {
                                          0,
                                          "\\1\\L\\2\\E");
 
-            var doc = Parser.parse_memory (normalized_content, 
+            var doc = Parser.parse_memory (normalized_content,
                                            (int) normalized_content.length);
             if (doc == null) {
                 throw new VideoItemError.XML_PARSE_ERROR
@@ -80,7 +80,7 @@ internal class Rygel.Mediathek.AsxPlaylistParser : PlaylistParser {
             var context = new XPath.Context (doc_guard.doc);
 
             var xpath_object = context.eval ("/asx/entry/ref/@href");
-           
+
             if (xpath_object->type != XPath.ObjectType.NODESET) {
                 xpath_free_object (xpath_object);
                 throw new VideoItemError.XML_PARSE_ERROR
diff --git a/src/plugins/mediathek/rygel-mediathek-plugin.vala b/src/plugins/mediathek/rygel-mediathek-plugin.vala
index a4e61d4..1a37335 100644
--- a/src/plugins/mediathek/rygel-mediathek-plugin.vala
+++ b/src/plugins/mediathek/rygel-mediathek-plugin.vala
@@ -24,7 +24,7 @@ using Rygel;
 using GUPnP;
 
 // remove when bgo#639700 is fixed and "delete" resolves to the free_func and
-// not to g_free 
+// not to g_free
 [CCode (cname = "xmlXPathFreeObject")]
 internal extern void xpath_free_object (Xml.XPath.Object *object);
 
diff --git a/src/plugins/mediathek/rygel-mediathek-rss-container.vala b/src/plugins/mediathek/rygel-mediathek-rss-container.vala
index e9c5b56..b17de76 100644
--- a/src/plugins/mediathek/rygel-mediathek-rss-container.vala
+++ b/src/plugins/mediathek/rygel-mediathek-rss-container.vala
@@ -33,7 +33,7 @@ public class Rygel.Mediathek.RssContainer : Rygel.SimpleContainer {
 
     public RssContainer (MediaContainer parent, uint id) {
         base ("GroupId:%u".printf(id),
-              parent, 
+              parent,
               "ZDF Mediathek RSS feed %u".printf (id));
 
         this.content_id = id;
diff --git a/src/plugins/mediathek/rygel-mediathek-video-item-factory.vala b/src/plugins/mediathek/rygel-mediathek-video-item-factory.vala
index 62c9730..88d6ab6 100644
--- a/src/plugins/mediathek/rygel-mediathek-video-item-factory.vala
+++ b/src/plugins/mediathek/rygel-mediathek-video-item-factory.vala
@@ -128,7 +128,7 @@ internal class Rygel.Mediathek.VideoItemFactory : Object {
         while (content != null) {
             var url_attribute = content->has_prop ("url");
             if (url_attribute != null && namespace_ok (content)) {
-                
+
                 unowned string url = url_attribute->children->content;
                 if (url.has_suffix (this.playlist_parser.playlist_suffix)) {
                     playlist_url = url;



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