[tracker/wip/carlosg/tracker-3.0-api-breaks: 31/100] examples: Drop class-signal example code



commit 445bc91b8ed4023aa49c161d774213ba3bce0a7e
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]