[tracker-miners/wip/carlosg/compiler-warnings: 6/12] 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: 6/12] tracker-writeback: Add markers to ignore deprecation on function
- Date: Sun, 28 Aug 2022 21:28:01 +0000 (UTC)
commit 28ef3f507478db1e4e97add02f1b19a4fd8afdfd
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]