[tracker] tracker-store: Do not export internal methods via D-Bus



commit 5d74f18bf3fa7a123c2a750d59add2e3fe0dc537
Author: Jürg Billeter <j bitron ch>
Date:   Wed May 4 07:52:04 2011 +0200

    tracker-store: Do not export internal methods via D-Bus

 src/tracker-store/tracker-resources.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-store/tracker-resources.vala b/src/tracker-store/tracker-resources.vala
index deb7da5..ae1355a 100644
--- a/src/tracker-store/tracker-resources.vala
+++ b/src/tracker-store/tracker-resources.vala
@@ -308,6 +308,7 @@ public class Tracker.Resources : Object {
 		check_graph_updated_signal ();
 	}
 
+	[DBus (visible = false)]
 	public void enable_signals () {
 		Tracker.Data.add_insert_statement_callback (on_statement_inserted);
 		Tracker.Data.add_delete_statement_callback (on_statement_deleted);
@@ -315,6 +316,7 @@ public class Tracker.Resources : Object {
 		Tracker.Data.add_rollback_statement_callback (on_statements_rolled_back);
 	}
 
+	[DBus (visible = false)]
 	public void disable_signals () {
 		Tracker.Data.remove_insert_statement_callback (on_statement_inserted);
 		Tracker.Data.remove_delete_statement_callback (on_statement_deleted);
@@ -330,6 +332,7 @@ public class Tracker.Resources : Object {
 		this.disable_signals ();
 	}
 
+	[DBus (visible = false)]
 	public void unreg_batches (string old_owner) {
 		Tracker.Store.unreg_batches (old_owner);
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]