[tracker/tracker-2.2: 1/2] libtracker-sparql: Fix introspection warning
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-2.2: 1/2] libtracker-sparql: Fix introspection warning
- Date: Wed, 7 Aug 2019 10:48:20 +0000 (UTC)
commit a46c3eec522fc2790c58c5ff479bb5b9c3b66074
Author: Sam Thursfield <sam afuera me uk>
Date: Wed Aug 7 12:40:56 2019 +0200
libtracker-sparql: Fix introspection warning
Fixes this warning:
../../tracker/src/libtracker-sparql/tracker-namespace-manager.c:335: Warning: Tracker_C:
tracker_namespace_manager_foreach: argument func: Missing (scope) annotation for callback without
GDestroyNotify (valid: call, async)
src/libtracker-sparql/tracker-namespace-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libtracker-sparql/tracker-namespace-manager.c
b/src/libtracker-sparql/tracker-namespace-manager.c
index e24f68749..51e56af61 100644
--- a/src/libtracker-sparql/tracker-namespace-manager.c
+++ b/src/libtracker-sparql/tracker-namespace-manager.c
@@ -335,7 +335,7 @@ tracker_namespace_manager_print_turtle (TrackerNamespaceManager *self)
/**
* tracker_namespace_manager_foreach:
* @self: a #TrackerNamespaceManager
- * @func: the function to call for each prefix / URI pair
+ * @func: (scope: call): the function to call for each prefix / URI pair
* @user_data: user data to pass to the function
*
* Calls @func for each known prefix / URI pair.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]