[rygel] media-export,tracker: Minor clean-ups
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] media-export,tracker: Minor clean-ups
- Date: Tue, 26 Oct 2010 13:40:10 +0000 (UTC)
commit 1a3fcb2b503b5eba48a44e522643657cf55bf246
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Oct 20 17:38:11 2010 +0300
media-export,tracker: Minor clean-ups
.../rygel-media-export-object-factory.vala | 11 +++++------
.../tracker/rygel-tracker-search-container.vala | 4 +++-
2 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-object-factory.vala b/src/plugins/media-export/rygel-media-export-object-factory.vala
index 7078c15..b197769 100644
--- a/src/plugins/media-export/rygel-media-export-object-factory.vala
+++ b/src/plugins/media-export/rygel-media-export-object-factory.vala
@@ -22,17 +22,16 @@
internal class Rygel.MediaExport.ObjectFactory : Object {
/**
- * Return a new instance of DatabaseBackedMediaContainer
+ * Return a new instance of DBContainer
*
* @param media_db instance of MediaDB
* @param title title of the container
* @param child_count number of children in the container
*/
- public virtual MediaContainer get_container (
- MediaCache media_db,
- string id,
- string title,
- uint child_count) {
+ public virtual DBContainer get_container (MediaCache media_db,
+ string id,
+ string title,
+ uint child_count) {
if (id.has_prefix (QueryContainer.PREFIX)) {
return new QueryContainer (media_db, id, title);
} else {
diff --git a/src/plugins/tracker/rygel-tracker-search-container.vala b/src/plugins/tracker/rygel-tracker-search-container.vala
index bfde002..f6f596b 100644
--- a/src/plugins/tracker/rygel-tracker-search-container.vala
+++ b/src/plugins/tracker/rygel-tracker-search-container.vala
@@ -190,7 +190,9 @@ public class Rygel.Tracker.SearchContainer : Rygel.MediaContainer {
var query = new SelectionQuery.clone (this.query);
query.variables = new ArrayList<string> ();
- query.variables.add ("COUNT(" + SelectionQuery.ITEM_VARIABLE + ") AS x");
+ query.variables.add ("COUNT(" +
+ SelectionQuery.ITEM_VARIABLE +
+ ") AS x");
yield query.execute (this.resources);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]