Commit cf4fdc6b authored by Martyn Russell's avatar Martyn Russell

libtracker-sparql: Renamed tracker-plugin-loader to tracker-backend

parent c23438f3
......@@ -20,7 +20,7 @@ libtracker_sparql_la_VALASOURCES = \
tracker-builder.vala \
tracker-connection.vala \
tracker-cursor.vala \
tracker-plugin-loader.vala \
tracker-backend.vala \
tracker-utils.vala
libtracker_sparql_@TRACKER_API_VERSION@_la_SOURCES = \
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
class Tracker.Sparql.PluginLoader : Connection {
class Tracker.Sparql.Backend : Connection {
static bool initialized = false;
static Tracker.Sparql.Connection direct = null;
static Tracker.Sparql.Connection bus = null;
......@@ -29,7 +29,7 @@ class Tracker.Sparql.PluginLoader : Connection {
private delegate Tracker.Sparql.Connection ModuleInitFunc ();
public PluginLoader (bool direct_only = false) throws Sparql.Error
public Backend (bool direct_only = false) throws Sparql.Error
requires (!initialized) {
if (!Module.supported ()) {
return;
......
......@@ -116,7 +116,7 @@ public abstract class Tracker.Sparql.Connection : Object {
} else {
log_init ();
var result = new PluginLoader ();
var result = new Backend ();
singleton = result;
result.add_weak_pointer ((void**) (&singleton));
return result;
......@@ -145,7 +145,7 @@ public abstract class Tracker.Sparql.Connection : Object {
} else {
log_init ();
var result = new PluginLoader (true /* direct_only */);
var result = new Backend (true /* direct_only */);
direct_only = true;
singleton = result;
result.add_weak_pointer ((void**) (&singleton));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment