[tracker-miners/wip/carlosg/last-api-changes: 1/2] miners: Adapt to tracker_sparql_connection_create_notifier() API change
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/last-api-changes: 1/2] miners: Adapt to tracker_sparql_connection_create_notifier() API change
- Date: Thu, 18 Jun 2020 19:59:01 +0000 (UTC)
commit c864f09449f6af7cc73c4659be4a22cc7af129e6
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Jun 18 20:27:51 2020 +0200
miners: Adapt to tracker_sparql_connection_create_notifier() API change
There is no TrackerNotifierFlags anymore.
src/libtracker-miner/tracker-decorator.c | 2 +-
src/miners/rss/tracker-miner-rss.c | 2 +-
src/tracker/tracker-daemon.c | 3 +--
3 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-decorator.c b/src/libtracker-miner/tracker-decorator.c
index a211f907f..62ecfe0f2 100644
--- a/src/libtracker-miner/tracker-decorator.c
+++ b/src/libtracker-miner/tracker-decorator.c
@@ -1068,7 +1068,7 @@ tracker_decorator_initable_init (GInitable *initable,
return FALSE;
conn = tracker_miner_get_connection (TRACKER_MINER (decorator));
- priv->notifier = tracker_sparql_connection_create_notifier (conn, 0);
+ priv->notifier = tracker_sparql_connection_create_notifier (conn);
g_signal_connect_swapped (priv->notifier, "events",
G_CALLBACK (notifier_events_cb),
decorator);
diff --git a/src/miners/rss/tracker-miner-rss.c b/src/miners/rss/tracker-miner-rss.c
index 2e53d74b9..f7aecf72c 100644
--- a/src/miners/rss/tracker-miner-rss.c
+++ b/src/miners/rss/tracker-miner-rss.c
@@ -173,7 +173,7 @@ tracker_miner_rss_constructed (GObject *object)
priv = TRACKER_MINER_RSS_GET_PRIVATE (object);
connection = tracker_miner_get_connection (TRACKER_MINER (object));
- priv->notifier = tracker_sparql_connection_create_notifier (connection, 0);
+ priv->notifier = tracker_sparql_connection_create_notifier (connection);
g_signal_connect (priv->notifier, "events",
G_CALLBACK (notifier_events_cb), object);
}
diff --git a/src/tracker/tracker-daemon.c b/src/tracker/tracker-daemon.c
index 05cd363ff..4f0fa6ab4 100644
--- a/src/tracker/tracker-daemon.c
+++ b/src/tracker/tracker-daemon.c
@@ -717,8 +717,7 @@ daemon_run (void)
return EXIT_FAILURE;
}
- notifier = tracker_sparql_connection_create_notifier (sparql_connection,
- TRACKER_NOTIFIER_FLAG_QUERY_URN);
+ notifier = tracker_sparql_connection_create_notifier (sparql_connection);
g_signal_connect (notifier, "events",
G_CALLBACK (notifier_events_cb), sparql_connection);
g_object_unref (sparql_connection);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]