rygel r580 - trunk/src/plugins/tracker



Author: zeeshanak
Date: Sat Feb 14 15:26:36 2009
New Revision: 580
URL: http://svn.gnome.org/viewvc/rygel?rev=580&view=rev

Log:
Item constructor don't need to throw signals anymore.

Modified:
   trunk/src/plugins/tracker/rygel-tracker-image-container.vala
   trunk/src/plugins/tracker/rygel-tracker-image-item.vala
   trunk/src/plugins/tracker/rygel-tracker-item.vala
   trunk/src/plugins/tracker/rygel-tracker-music-container.vala
   trunk/src/plugins/tracker/rygel-tracker-music-item.vala
   trunk/src/plugins/tracker/rygel-tracker-video-container.vala
   trunk/src/plugins/tracker/rygel-tracker-video-item.vala

Modified: trunk/src/plugins/tracker/rygel-tracker-image-container.vala
==============================================================================
--- trunk/src/plugins/tracker/rygel-tracker-image-container.vala	(original)
+++ trunk/src/plugins/tracker/rygel-tracker-image-container.vala	Sat Feb 14 15:26:36 2009
@@ -38,8 +38,7 @@
     }
 
     protected override MediaItem? fetch_item_by_path (string   path,
-                                                      string[] metadata)
-                                                      throws GLib.Error {
+                                                      string[] metadata) {
         return new TrackerImageItem (this.id + ":" + path,
                                      path,
                                      this,

Modified: trunk/src/plugins/tracker/rygel-tracker-image-item.vala
==============================================================================
--- trunk/src/plugins/tracker/rygel-tracker-image-item.vala	(original)
+++ trunk/src/plugins/tracker/rygel-tracker-image-item.vala	Sat Feb 14 15:26:36 2009
@@ -46,7 +46,7 @@
     public TrackerImageItem (string           id,
                              string           path,
                              TrackerContainer parent,
-                             string[]         metadata) throws GLib.Error {
+                             string[]         metadata) {
         base (id, path, parent, metadata);
     }
 

Modified: trunk/src/plugins/tracker/rygel-tracker-item.vala
==============================================================================
--- trunk/src/plugins/tracker/rygel-tracker-item.vala	(original)
+++ trunk/src/plugins/tracker/rygel-tracker-item.vala	Sat Feb 14 15:26:36 2009
@@ -34,7 +34,7 @@
     public TrackerItem (string           id,
                         string           path,
                         TrackerContainer parent,
-                        string[]         metadata) throws GLib.Error {
+                        string[]         metadata) {
         base (id, parent.id, "", parent.child_class);
 
         this.path = path;

Modified: trunk/src/plugins/tracker/rygel-tracker-music-container.vala
==============================================================================
--- trunk/src/plugins/tracker/rygel-tracker-music-container.vala	(original)
+++ trunk/src/plugins/tracker/rygel-tracker-music-container.vala	Sat Feb 14 15:26:36 2009
@@ -38,8 +38,7 @@
     }
 
     protected override MediaItem? fetch_item_by_path (string   path,
-                                                      string[] metadata)
-                                                      throws GLib.Error {
+                                                      string[] metadata) {
         return new TrackerMusicItem (this.id + ":" + path,
                                      path,
                                      this,

Modified: trunk/src/plugins/tracker/rygel-tracker-music-item.vala
==============================================================================
--- trunk/src/plugins/tracker/rygel-tracker-music-item.vala	(original)
+++ trunk/src/plugins/tracker/rygel-tracker-music-item.vala	Sat Feb 14 15:26:36 2009
@@ -46,7 +46,7 @@
     public TrackerMusicItem (string           id,
                              string           path,
                              TrackerContainer parent,
-                             string[]         metadata) throws GLib.Error {
+                             string[]         metadata) {
         base (id, path, parent, metadata);
     }
 

Modified: trunk/src/plugins/tracker/rygel-tracker-video-container.vala
==============================================================================
--- trunk/src/plugins/tracker/rygel-tracker-video-container.vala	(original)
+++ trunk/src/plugins/tracker/rygel-tracker-video-container.vala	Sat Feb 14 15:26:36 2009
@@ -38,8 +38,7 @@
     }
 
     protected override MediaItem? fetch_item_by_path (string   path,
-                                                      string[] metadata)
-                                                      throws GLib.Error {
+                                                      string[] metadata) {
         return new TrackerVideoItem (this.id + ":" + path,
                                      path,
                                      this,

Modified: trunk/src/plugins/tracker/rygel-tracker-video-item.vala
==============================================================================
--- trunk/src/plugins/tracker/rygel-tracker-video-item.vala	(original)
+++ trunk/src/plugins/tracker/rygel-tracker-video-item.vala	Sat Feb 14 15:26:36 2009
@@ -44,7 +44,7 @@
     public TrackerVideoItem (string           id,
                              string           path,
                              TrackerContainer parent,
-                             string[]         metadata) throws GLib.Error {
+                             string[]         metadata) {
         base (id, path, parent, metadata);
     }
 



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