[tracker/wip/carlosg/doc-updates: 18/23] libtracker-sparql: Mark parameter as nullable
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/doc-updates: 18/23] libtracker-sparql: Mark parameter as nullable
- Date: Sun, 3 Apr 2022 18:47:18 +0000 (UTC)
commit 1e9f6fee869030474323b78eeccb3b04227f26a8
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Mar 14 01:18:03 2022 +0100
libtracker-sparql: Mark parameter as nullable
This is missing in introspection annotations.
docs/reference/libtracker-sparql/examples.md | 8 ++++----
src/libtracker-sparql/tracker-batch.c | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/docs/reference/libtracker-sparql/examples.md b/docs/reference/libtracker-sparql/examples.md
index bf60aaee9..d544838e5 100644
--- a/docs/reference/libtracker-sparql/examples.md
+++ b/docs/reference/libtracker-sparql/examples.md
@@ -34,7 +34,7 @@ main loop is not blocked while these operations are executed.
Once you end up with the query, remember to call [](tracker_sparql_cursor_close).
The same applies to [](tracker_sparql_connection_close) when no longer needed.
-<div class="gi-lang-c">
+<div class="gi-lang-c gi-lang-python gi-lang-javascript">
{{ examples/connection-example.c }}
@@ -60,7 +60,7 @@ main loop is not blocked while these operations are executed.
Once you no longer need the connection, remember to call
[](tracker_sparql_connection_close) on the [](TrackerSparqlConnection).
-<div class="gi-lang-c">
+<div class="gi-lang-c gi-lang-python gi-lang-javascript">
{{ examples/private-store-example.c }}
@@ -77,7 +77,7 @@ concretely the creation of a D-Bus endpoint, that other applications
may query e.g. through a connection created with
[](tracker_sparql_connection_bus_new).
-<div class="gi-lang-c">
+<div class="gi-lang-c gi-lang-python gi-lang-javascript">
{{ examples/endpoint-example.c }}
@@ -94,7 +94,7 @@ on changes of certain RDF classes (Those with the
This example demonstrates the use of [](TrackerNotifier) to receive
notifications on database updates.
-<div class="gi-lang-c">
+<div class="gi-lang-c gi-lang-python gi-lang-javascript">
{{ examples/notifier-example.c }}
diff --git a/src/libtracker-sparql/tracker-batch.c b/src/libtracker-sparql/tracker-batch.c
index 883d822a7..29c236851 100644
--- a/src/libtracker-sparql/tracker-batch.c
+++ b/src/libtracker-sparql/tracker-batch.c
@@ -189,7 +189,7 @@ tracker_batch_add_sparql (TrackerBatch *batch,
/**
* tracker_batch_add_resource:
* @batch: a #TrackerBatch
- * @graph: RDF graph to insert the resource to
+ * @graph: (nullable): RDF graph to insert the resource to
* @resource: a #TrackerResource
*
* Adds the RDF represented by @resource to @batch.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]