[tracker/tracker-0.10] docs, libtracker-sparql: Priority argument missing in tracker_sparql_connection_update() example



commit a4247cc507915b3d8948d054f6a8e467e73a8532
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Mon Feb 7 19:10:38 2011 +0100

    docs, libtracker-sparql: Priority argument missing in tracker_sparql_connection_update() example

 docs/reference/libtracker-sparql/examples.sgml |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/docs/reference/libtracker-sparql/examples.sgml b/docs/reference/libtracker-sparql/examples.sgml
index 36f114a..d1097cd 100644
--- a/docs/reference/libtracker-sparql/examples.sgml
+++ b/docs/reference/libtracker-sparql/examples.sgml
@@ -151,9 +151,9 @@ int main (int argc, const char **argv)
 
   /* Make a synchronous query to the store */
   cursor = <function><link linkend="tracker-sparql-connection-query">tracker_sparql_connection_query</link></function> (connection,
-  					    query,
-  					    NULL,
-  					    &amp;error);
+                                            query,
+                                            NULL,
+                                            &amp;error);
 
   if (error) {
     /* Some error happened performing the query, not good */
@@ -255,10 +255,10 @@ int main (int argc, const char **argv)
 
   /* Run a synchronous update query */
   <function><link linkend="tracker-sparql-connection-update">tracker_sparql_connection_update</link></function> (connection,
-  				    query,
-  				    NULL,
-  				    &amp;error);
-
+                                            query,
+                                            G_PRIORITY_DEFAULT,
+                                            NULL,
+                                            &amp;error);
   if (error) {
     /* Some error happened performing the query, not good */
     g_printerr ("Couldn't update the Tracker store: %s",



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