[tracker] libtracker-sparql: Fix introspection mistakes
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-sparql: Fix introspection mistakes
- Date: Wed, 12 Apr 2017 21:18:29 +0000 (UTC)
commit 6ae86d28f5d0bb7f030cad275ad3ff0007dbcf04
Author: Sam Thursfield <sam afuera me uk>
Date: Wed Apr 12 22:17:25 2017 +0100
libtracker-sparql: Fix introspection mistakes
The gir-scanner doesn't actually run for these files at the moment, so
the mistakes didn't get caught until now.
src/libtracker-sparql/tracker-resource.c | 2 +-
src/libtracker-sparql/tracker-uri.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-sparql/tracker-resource.c b/src/libtracker-sparql/tracker-resource.c
index 8876cd6..cf5c193 100644
--- a/src/libtracker-sparql/tracker-resource.c
+++ b/src/libtracker-sparql/tracker-resource.c
@@ -582,7 +582,7 @@ ADD_PROPERTY_FOR_GTYPE (tracker_resource_add_double, double, G_TYPE_DOUBLE, g_va
ADD_PROPERTY_FOR_GTYPE (tracker_resource_add_int, int, G_TYPE_INT, g_value_set_int, validate_int);
/**
- * tracker_resource_add_boolean:
+ * tracker_resource_add_int64:
* @self: the #TrackerResource
* @property_uri: a string identifying the property to modify
* @value: the property object
diff --git a/src/libtracker-sparql/tracker-uri.c b/src/libtracker-sparql/tracker-uri.c
index dcbf579..0b5c3f3 100644
--- a/src/libtracker-sparql/tracker-uri.c
+++ b/src/libtracker-sparql/tracker-uri.c
@@ -167,7 +167,7 @@ find_conversion (const char *format,
*
* The result is escaped using g_uri_escape_string().
*
- * Returns: (transfer-full): a newly-allocated string holding the result. The returned string
+ * Returns: (transfer full): a newly-allocated string holding the result. The returned string
* should be freed with g_free() when no longer needed.
*
* Since: 0.10
@@ -271,7 +271,7 @@ cleanup:
*
* Calls tracker_sparql_escape_uri_vprintf() with the @... supplied.
*
- * Returns: (transfer-full): a newly-allocated string holding the result.The returned string
+ * Returns: (transfer full): a newly-allocated string holding the result.The returned string
* should be freed with g_free() when no longer needed.
*
* Since: 0.10
@@ -295,7 +295,7 @@ tracker_sparql_escape_uri_printf (const gchar *format, ...)
*
* Calls tracker_sparql_escape_uri_printf().
*
- * Returns: (transfer-full): a newly-allocated string holding the result. The returned string
+ * Returns: (transfer full): a newly-allocated string holding the result. The returned string
* should be freed with g_free() when no longer needed.
*
* Since: 1.12
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]