diff options
author | Martyn Russell <martyn@lanedo.com> | 2010-09-07 15:38:41 +0100 |
---|---|---|
committer | Martyn Russell <martyn@lanedo.com> | 2010-09-07 15:38:41 +0100 |
commit | cf4fdc6b88fe99780485da4ad8683ec7bf23c6e2 (patch) | |
tree | 89f5aabd54cd3a1caee02e72f2cfc3000e748e56 | |
parent | c23438f329bd1f5057e3b5b5412de298784cd6b0 (diff) | |
download | tracker-cf4fdc6b88fe99780485da4ad8683ec7bf23c6e2.tar.gz |
libtracker-sparql: Renamed tracker-plugin-loader to tracker-backend
-rw-r--r-- | src/libtracker-sparql/Makefile.am | 2 | ||||
-rw-r--r-- | src/libtracker-sparql/tracker-backend.vala (renamed from src/libtracker-sparql/tracker-plugin-loader.vala) | 4 | ||||
-rw-r--r-- | src/libtracker-sparql/tracker-connection.vala | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/libtracker-sparql/Makefile.am b/src/libtracker-sparql/Makefile.am index f6156538c..7a3b6f04d 100644 --- a/src/libtracker-sparql/Makefile.am +++ b/src/libtracker-sparql/Makefile.am @@ -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 = \ diff --git a/src/libtracker-sparql/tracker-plugin-loader.vala b/src/libtracker-sparql/tracker-backend.vala index 7a707dbee..8c8e19edc 100644 --- a/src/libtracker-sparql/tracker-plugin-loader.vala +++ b/src/libtracker-sparql/tracker-backend.vala @@ -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; diff --git a/src/libtracker-sparql/tracker-connection.vala b/src/libtracker-sparql/tracker-connection.vala index 4679edad0..2ed3fb016 100644 --- a/src/libtracker-sparql/tracker-connection.vala +++ b/src/libtracker-sparql/tracker-connection.vala @@ -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)); |