[tracker-miners/wip/carlosg/compiler-warnings: 2/8] tracker-writeback: Add markers to ignore deprecation on function
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/compiler-warnings: 2/8] tracker-writeback: Add markers to ignore deprecation on function
- Date: Mon, 29 Aug 2022 18:08:31 +0000 (UTC)
commit 8be7d809639872859bd0fa3acd3f47ac22380873
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Aug 28 22:53:40 2022 +0200
tracker-writeback: Add markers to ignore deprecation on function
The writeback daemon wants access to the default Nepomuk namespaces without
direct access to a TrackerSparqlConnection. It is fine to keep using this
function as long as it exists, but the deprecation warning is annoying.
Add markers to ignore deprecation on this function call.
src/tracker-writeback/tracker-writeback.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/tracker-writeback/tracker-writeback.c b/src/tracker-writeback/tracker-writeback.c
index 41a470f4b..5ee7f34c1 100644
--- a/src/tracker-writeback/tracker-writeback.c
+++ b/src/tracker-writeback/tracker-writeback.c
@@ -372,7 +372,9 @@ module_matches_resource (TrackerWritebackModule *module,
GList *l;
module_types = tracker_writeback_module_get_rdf_types (module);
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
namespaces = tracker_namespace_manager_get_default ();
+ G_GNUC_END_IGNORE_DEPRECATIONS
for (l = types; l; l = l->next) {
GValue *value = l->data;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]