[tracker/0.10-documentation-review] docs, libtracker-sparql: Priority argument missing in tracker_sparql_connection_update() example
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/0.10-documentation-review] docs, libtracker-sparql: Priority argument missing in tracker_sparql_connection_update() example
- Date: Mon, 7 Feb 2011 18:12:26 +0000 (UTC)
commit 3ea5102afb60a1b11dec0bd0a24eeb378df70dcb
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,
- &error);
+ query,
+ NULL,
+ &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,
- &error);
-
+ query,
+ G_PRIORITY_DEFAULT,
+ NULL,
+ &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]