[tracker/libtracker-sparql: 52/56] libtracker-sparql: Remove example from source, as already in sgml
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/libtracker-sparql: 52/56] libtracker-sparql: Remove example from source, as already in sgml
- Date: Mon, 9 Aug 2010 15:33:20 +0000 (UTC)
commit eda532d3d55157f5e9dc53f7233ab4808df263b8
Author: Aleksander Morgado <aleksander lanedo com>
Date: Wed Aug 4 16:57:57 2010 +0200
libtracker-sparql: Remove example from source, as already in sgml
src/libtracker-sparql/tracker-builder.vala | 32 ----------------------------
1 files changed, 0 insertions(+), 32 deletions(-)
---
diff --git a/src/libtracker-sparql/tracker-builder.vala b/src/libtracker-sparql/tracker-builder.vala
index 09f9d70..76384bf 100644
--- a/src/libtracker-sparql/tracker-builder.vala
+++ b/src/libtracker-sparql/tracker-builder.vala
@@ -35,38 +35,6 @@
* When using #TrackerSparqlBuilder, note that you may append several predicates
* for the same subject, and several objects for the same predicate.
* </para>
- *
- * <example id="example-sparql-builder">
- * <title>Using TrackerSparqlBuilder</title>
- * <programlisting>
- * TrackerSparqlBuilder *builder;
- * const gchar *iri = "urn:example:0001";
- * gchar *query_str;
- *
- * /* Create builder */
- * builder = tracker_sparql_builder_new_update ();
- *
- * /* Drop previous data */
- * tracker_sparql_builder_drop_graph (builder, iri);
- *
- * /* Insert new data */
- * tracker_sparql_builder_insert_open (builder, iri);
- *
- * tracker_sparql_builder_subject_iri (builder, iri);
- *
- * tracker_sparql_builder_predicate (builder, "a");
- * tracker_sparql_builder_object (builder, "nie:DataObject");
- * tracker_sparql_builder_object (builder, "nfo:FileDataObject");
- *
- * tracker_sparql_builder_predicate (builder, "nfo:fileLastModified");
- * tracker_sparql_builder_object_date (builder, time (NULL));
- *
- * tracker_sparql_builder_insert_close (builder);
- *
- * /* Get query as string */
- * query_str = tracker_sparql_builder_get_result (builder);
- * </programlisting>
- * </example>
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]