[tracker-miners/wip/carlosg/tracker-3.0-api-breaks: 20/40] tracker-miner-rss: Make --add-feed connect to rss miner endpoint
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/tracker-3.0-api-breaks: 20/40] tracker-miner-rss: Make --add-feed connect to rss miner endpoint
- Date: Mon, 17 Feb 2020 12:26:04 +0000 (UTC)
commit 1bfd8de6728bc0e768e9019637ca351eb9f37a52
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Dec 31 01:49:59 2019 +0100
tracker-miner-rss: Make --add-feed connect to rss miner endpoint
This is meant to be called from the command line while the RSS miner
service/endpoint is running, connect to it in order to create the
new feed.
src/miners/rss/tracker-main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/miners/rss/tracker-main.c b/src/miners/rss/tracker-main.c
index d5f0cebc0..1738ed628 100644
--- a/src/miners/rss/tracker-main.c
+++ b/src/miners/rss/tracker-main.c
@@ -152,7 +152,8 @@ main (int argc, char **argv)
title,
add_feed);
- connection = tracker_sparql_connection_get (NULL, &error);
+ connection = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker1.Miner.RSS",
+ NULL, &error);
if (!connection) {
g_printerr ("%s: %s\n",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]