[tracker/wip/carlosg/tracker-3.0-api-breaks: 29/92] 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: 29/92] examples: Drop class-signal example code
- Date: Wed, 5 Feb 2020 12:28:08 +0000 (UTC)
commit 32189a827c32f981d50fbb3207c0cd0829ab5c58
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]