[tracker] Fix typo in documentation



commit e4db9ba5809bbf9079bbf7bfe6fa0c1296dd152e
Author: Adrien Bustany <abustany gnome org>
Date:   Sat May 1 13:11:31 2010 -0400

    Fix typo in documentation
    
    This commit fixes a typo in the doc of tracker_resources_sparql_query in
    libtracker-client where several braces and parenthesis were missing.

 src/libtracker-client/tracker.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libtracker-client/tracker.c b/src/libtracker-client/tracker.c
index 93fe335..43791a4 100644
--- a/src/libtracker-client/tracker.c
+++ b/src/libtracker-client/tracker.c
@@ -985,18 +985,18 @@ tracker_resources_load (TrackerClient  *client,
  *
  *  /&ast; Create D-Bus connection with no warnings and maximum timeout. &ast;/
  *  client = tracker_client_new (0, G_MAXINT);
- *  query = "SELECT"
+ *  query = "SELECT {"
  *          "  ?album"
  *          "  ?title"
  *          "  COUNT(?song) AS songs"
  *          "  SUM(?length) AS totallength"
- *          "WHERE {"
+ *          "} WHERE {"
  *          "  ?album a nmm:MusicAlbum ;"
  *          "  nie:title ?title ."
  *          "  ?song nmm:musicAlbum ?album ;"
  *          "  nfo:duration ?length"
  *          "} "
- *          "GROUP BY ?album");
+ *          "GROUP BY (?album");
  *
  *  array = tracker_resources_sparql_query (client, query, &error);
  *



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