[tracker/libtracker-sparql: 21/56] libtracker-miner: Make PluginLoader private



commit ece6bba02336b3ad00265434f8df4634ef5de24b
Author: Martyn Russell <martyn lanedo com>
Date:   Tue Jul 13 17:50:39 2010 +0100

    libtracker-miner: Make PluginLoader private

 src/libtracker-sparql/tracker-plugin-loader.vala |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libtracker-sparql/tracker-plugin-loader.vala b/src/libtracker-sparql/tracker-plugin-loader.vala
index f07acea..7619ab5 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]