[rygel] tracker: Skip null titles in meta-data container
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] tracker: Skip null titles in meta-data container
- Date: Fri, 27 Jul 2012 21:26:00 +0000 (UTC)
commit 5ffb1f49bcf45d6e49525abbc209b2ee524792ab
Author: Jens Georg <mail jensge org>
Date: Sun Jul 15 12:06:04 2012 +0200
tracker: Skip null titles in meta-data container
.../tracker/rygel-tracker-metadata-container.vala | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/tracker/rygel-tracker-metadata-container.vala b/src/plugins/tracker/rygel-tracker-metadata-container.vala
index f7df86e..46784d4 100644
--- a/src/plugins/tracker/rygel-tracker-metadata-container.vala
+++ b/src/plugins/tracker/rygel-tracker-metadata-container.vala
@@ -78,7 +78,11 @@ public abstract class Rygel.Tracker.MetadataContainer : Rygel.SimpleContainer {
/* Iterate through all the values */
while (query.result.next ()) {
- string value = query.result.get_string (0);
+ if (!query.result.is_bound (0)) {
+ continue;
+ }
+
+ var value = query.result.get_string (0);
if (value == "") {
continue;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]