[tracker/wip/carlosg/tracker-3.0-api-breaks: 23/56] examples: Drop class-signal example code
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/tracker-3.0-api-breaks: 23/56] examples: Drop class-signal example code
- Date: Tue, 14 Jan 2020 17:40:50 +0000 (UTC)
commit 9619b46852552b6a1033f79c870cb163449de183
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Dec 20 18:46:44 2019 +0100
examples: Drop class-signal example code
This example essentially demonstrates GraphUpdated DBus signals, which
are deemed an internal API detail. An example using TrackerNotifier might
be useful, but this code isn't much salvageable to be repurposed.
examples/libtracker-sparql/class-signal.c | 118 ---------------------
examples/libtracker-sparql/meson.build | 3 -
src/libtracker-sparql-backend/tracker-backend.vala | 4 +-
3 files changed, 2 insertions(+), 123 deletions(-)
---
diff --git a/examples/libtracker-sparql/meson.build b/examples/libtracker-sparql/meson.build
index 6e481792f..f0e40806c 100644
--- a/examples/libtracker-sparql/meson.build
+++ b/examples/libtracker-sparql/meson.build
@@ -2,6 +2,3 @@ executable('async-connection', 'async-connection.c',
dependencies: [tracker_common_dep, tracker_sparql_dep]
)
-executable('class-signal', 'class-signal.c',
- dependencies: [tracker_common_dep, tracker_sparql_dep]
-)
diff --git a/src/libtracker-sparql-backend/tracker-backend.vala
b/src/libtracker-sparql-backend/tracker-backend.vala
index 114c22980..8b600f5cf 100644
--- a/src/libtracker-sparql-backend/tracker-backend.vala
+++ b/src/libtracker-sparql-backend/tracker-backend.vala
@@ -176,7 +176,7 @@ class Tracker.Sparql.Backend : Connection {
direct_failed = true;
}
- bus = new Tracker.Bus.Connection (domain_ontology.get_domain ("Tracker1"),
global_dbus_connection, direct_failed);
+ bus = new Tracker.Bus.Connection (domain_ontology.get_domain ("Tracker1"),
global_dbus_connection);
if (direct_failed) {
try {
@@ -193,7 +193,7 @@ class Tracker.Sparql.Backend : Connection {
break;
case Backend.BUS:
- bus = new Tracker.Bus.Connection (domain_ontology.get_domain ("Tracker1"),
global_dbus_connection, false);
+ bus = new Tracker.Bus.Connection (domain_ontology.get_domain ("Tracker1"),
global_dbus_connection);
break;
default:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]