[tracker] libtracker-client: Make SparqlBuilder.state public
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-client: Make SparqlBuilder.state public
- Date: Thu, 18 Mar 2010 16:51:56 +0000 (UTC)
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]