[tracker-miners/wip/carlosg/compiler-warnings: 5/12] tracker-extract: Use tracker_resource_print_rdf() to get Turtle content
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/compiler-warnings: 5/12] tracker-extract: Use tracker_resource_print_rdf() to get Turtle content
- Date: Sun, 28 Aug 2022 21:28:01 +0000 (UTC)
commit 9e99358e55fb9aaaf55113c2b6b9e8b71bf2d93c
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Aug 28 22:01:31 2022 +0200
tracker-extract: Use tracker_resource_print_rdf() to get Turtle content
Avoid a deprecated function call.
src/tracker-extract/tracker-extract.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/tracker-extract/tracker-extract.c b/src/tracker-extract/tracker-extract.c
index 76ed041f1..31523f9ad 100644
--- a/src/tracker-extract/tracker-extract.c
+++ b/src/tracker-extract/tracker-extract.c
@@ -743,7 +743,7 @@ tracker_extract_get_metadata_by_cmdline (TrackerExtract *object,
*/
tracker_resource_set_identifier (resource, uri);
- turtle = tracker_resource_print_turtle (resource, NULL);
+ turtle = tracker_resource_print_rdf (resource, NULL, TRACKER_RDF_FORMAT_TURTLE, NULL);
if (turtle) {
g_print ("%s\n", turtle);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]