[tracker] libtracker-data: Fix tracker_ontologies_get_classes



commit 8e7f02cd430f8867f54196f5a719df2cfcba4c15
Author: Jürg Billeter <j bitron ch>
Date:   Tue Jan 11 11:21:39 2011 +0100

    libtracker-data: Fix tracker_ontologies_get_classes

 src/libtracker-data/tracker-ontologies.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-ontologies.c b/src/libtracker-data/tracker-ontologies.c
index 765bc4c..3643524 100644
--- a/src/libtracker-data/tracker-ontologies.c
+++ b/src/libtracker-data/tracker-ontologies.c
@@ -275,7 +275,7 @@ tracker_ontologies_get_ontologies (guint *length)
 TrackerClass **
 tracker_ontologies_get_classes (guint *length)
 {
-	if (properties->len == 0 && gvdb_table) {
+	if (classes->len == 0 && gvdb_table) {
 		gchar **class_uris;
 		gint i;
 



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