[rygel] media-export: Coding style fixes
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] media-export: Coding style fixes
- Date: Mon, 22 Mar 2010 17:07:46 +0000 (UTC)
commit ae6c1637a85f52a0c1e258cfa2b8e8610e10438b
Author: Jens Georg <mail jensge org>
Date: Sun Mar 14 12:16:43 2010 +0100
media-export: Coding style fixes
.../rygel-media-export-query-container.vala | 25 ++++++++++---------
1 files changed, 13 insertions(+), 12 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-query-container.vala b/src/plugins/media-export/rygel-media-export-query-container.vala
index 0329abb..dc0cd7c 100644
--- a/src/plugins/media-export/rygel-media-export-query-container.vala
+++ b/src/plugins/media-export/rygel-media-export-query-container.vala
@@ -119,18 +119,19 @@ internal class Rygel.MediaExportQueryContainer : Rygel.MediaDBContainer {
try {
if (this.pattern == "") {
var children = this.media_db.get_objects_by_search_expression (
- this.expression,
- "0",
- 0,
- -1);
+ this.expression,
+ "0",
+ 0,
+ -1);
return (uint) children.size;
} else {
uint retval = 0;
var data = this.media_db.get_object_attribute_by_search_expression (
- this.attribute,
- this.expression,
- 0,
- -1);
+ this.attribute,
+ this.expression,
+ 0,
+ -1);
+
foreach (var meta_data in data) {
if (meta_data != null) {
retval++;
@@ -193,10 +194,10 @@ internal class Rygel.MediaExportQueryContainer : Rygel.MediaDBContainer {
var children = new ArrayList<MediaObject> ();
var data = this.media_db.get_object_attribute_by_search_expression (
- this.attribute,
- this.expression,
- offset,
- max_objects);
+ this.attribute,
+ this.expression,
+ offset,
+ max_objects);
foreach (var meta_data in data) {
if (meta_data == null) {
continue;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]