rygel r278 - in trunk: . src/media-providers/tracker
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r278 - in trunk: . src/media-providers/tracker
- Date: Tue, 11 Nov 2008 17:41:48 +0000 (UTC)
Author: zeeshanak
Date: Tue Nov 11 17:41:47 2008
New Revision: 278
URL: http://svn.gnome.org/viewvc/rygel?rev=278&view=rev
Log:
Create root container after it's children.
This is to pass the correct number of children to the constructor of the
root container.
Modified:
trunk/ChangeLog
trunk/src/media-providers/tracker/rygel-media-tracker.vala
Modified: trunk/src/media-providers/tracker/rygel-media-tracker.vala
==============================================================================
--- trunk/src/media-providers/tracker/rygel-media-tracker.vala (original)
+++ trunk/src/media-providers/tracker/rygel-media-tracker.vala Tue Nov 11 17:41:47 2008
@@ -37,11 +37,6 @@
private SearchCriteriaParser search_parser;
construct {
- this.root_container = new MediaContainer (this.root_id,
- this.root_parent_id,
- this.title,
- this.containers.length ());
-
this.containers = new List<TrackerContainer> ();
this.containers.append
(new TrackerContainer (this.root_id + ":" + "16",
@@ -68,6 +63,11 @@
MediaItem.VIDEO_CLASS,
context));
+ this.root_container = new MediaContainer (this.root_id,
+ this.root_parent_id,
+ this.title,
+ this.containers.length ());
+
this.search_parser = new SearchCriteriaParser ();
weak string home_dir = Environment.get_home_dir ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]