[tracker] libtracker-client: Make SparqlBuilder.state public



commit 6cd71f6792d1d8a80bf2bfede32baa89e123fd0a
Author: Jürg Billeter <j bitron ch>
Date:   Thu Mar 18 17:50:06 2010 +0100

    libtracker-client: Make SparqlBuilder.state public
    
    It is used by preconditions of public methods.

 src/libtracker-client/tracker-sparql-builder.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-client/tracker-sparql-builder.vala b/src/libtracker-client/tracker-sparql-builder.vala
index 9aa94ca..60c3aab 100644
--- a/src/libtracker-client/tracker-sparql-builder.vala
+++ b/src/libtracker-client/tracker-sparql-builder.vala
@@ -18,7 +18,7 @@
  */
 
 public class Tracker.SparqlBuilder : Object {
-	enum State {
+	public enum State {
 		UPDATE,
 		INSERT,
 		DELETE,
@@ -39,7 +39,7 @@ public class Tracker.SparqlBuilder : Object {
 
 	public int length { get; private set; }
 
-	State state {
+	public State state {
 		get { return states[states.length - 1]; }
 	}
 



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