[tracker/direct-access: 46/85] libtracker-miner: Make PluginLoader private
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/direct-access: 46/85] libtracker-miner: Make PluginLoader private
- Date: Tue, 20 Jul 2010 14:08:29 +0000 (UTC)
commit 8e2f484aa1c4e83b5e8f49086fb14cf3fe02b922
Author: Martyn Russell <martyn lanedo com>
Date: Tue Jul 13 17:50:39 2010 +0100
libtracker-miner: Make PluginLoader private
src/libtracker-direct/tracker-connection.vala | 2 +-
src/libtracker-sparql/tracker-plugin-loader.vala | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-direct/tracker-connection.vala b/src/libtracker-direct/tracker-connection.vala
index 9c9bf90..e3e0dea 100644
--- a/src/libtracker-direct/tracker-connection.vala
+++ b/src/libtracker-direct/tracker-connection.vala
@@ -46,7 +46,7 @@ public class Tracker.Direct.Connection : Tracker.Sparql.Connection {
}
}
-public Tracker.Sparql.Connection module_init (Tracker.Sparql.PluginLoader loader) {
+public Tracker.Sparql.Connection module_init () {
Tracker.Sparql.Connection plugin = new Tracker.Direct.Connection ();
return plugin;
}
diff --git a/src/libtracker-sparql/tracker-plugin-loader.vala b/src/libtracker-sparql/tracker-plugin-loader.vala
index a8ad031..150c4cf 100644
--- a/src/libtracker-sparql/tracker-plugin-loader.vala
+++ b/src/libtracker-sparql/tracker-plugin-loader.vala
@@ -17,12 +17,12 @@
* Boston, MA 02110-1301, USA.
*/
-public class Tracker.Sparql.PluginLoader : Object {
+private class Tracker.Sparql.PluginLoader : Object {
static bool initialized = false;
static Tracker.Sparql.Connection direct = null;
static Tracker.Sparql.Connection bus = null;
- private delegate Tracker.Sparql.Connection ModuleInitFunc (PluginLoader loader);
+ private delegate Tracker.Sparql.Connection ModuleInitFunc ();
public PluginLoader ()
requires (!initialized) {
@@ -124,7 +124,7 @@ public class Tracker.Sparql.PluginLoader : Object {
module.make_resident ();
// Call module init function
- Tracker.Sparql.Connection c = module_init (this);
+ Tracker.Sparql.Connection c = module_init ();
debug ("Loaded module source: '%s'", module.name ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]