[tracker/tracker-0.8] libtracker-data: Fix error annotations in Vala bindings
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.8] libtracker-data: Fix error annotations in Vala bindings
- Date: Thu, 10 Jun 2010 13:11:29 +0000 (UTC)
commit 45f74882f48b49ccef9b0f1f6e8f352827b672a5
Author: Jürg Billeter <j bitron ch>
Date: Mon Jun 7 12:13:47 2010 +0200
libtracker-data: Fix error annotations in Vala bindings
src/libtracker-data/libtracker-data.vapi | 6 +++---
src/libtracker-data/tracker-turtle-reader.vala | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-data/libtracker-data.vapi b/src/libtracker-data/libtracker-data.vapi
index 65c1cec..6a0afe9 100644
--- a/src/libtracker-data/libtracker-data.vapi
+++ b/src/libtracker-data/libtracker-data.vapi
@@ -80,10 +80,10 @@ namespace Tracker {
public void begin_transaction () throws DBInterfaceError;
public void commit_transaction () throws DBInterfaceError;
public void rollback_transaction ();
- public void delete_statement (string graph, string subject, string predicate, string object) throws DataError;
- public void insert_statement (string graph, string subject, string predicate, string object) throws DataError;
+ public void delete_statement (string graph, string subject, string predicate, string object) throws DataError, DateError;
+ public void insert_statement (string graph, string subject, string predicate, string object) throws DataError, DateError;
public void insert_statement_with_uri (string graph, string subject, string predicate, string object) throws DataError;
- public void insert_statement_with_string (string graph, string subject, string predicate, string object) throws DataError;
+ public void insert_statement_with_string (string graph, string subject, string predicate, string object) throws DataError, DateError;
public void delete_resource_description (string graph, string uri) throws DataError;
public void update_buffer_flush () throws DBInterfaceError;
public void update_buffer_might_flush () throws DBInterfaceError;
diff --git a/src/libtracker-data/tracker-turtle-reader.vala b/src/libtracker-data/tracker-turtle-reader.vala
index 85f8d3b..e16ebcc 100644
--- a/src/libtracker-data/tracker-turtle-reader.vala
+++ b/src/libtracker-data/tracker-turtle-reader.vala
@@ -365,7 +365,7 @@ public class Tracker.TurtleReader : Object {
}
}
- public static void load (string path) throws FileError, SparqlError, DataError, DBInterfaceError {
+ public static void load (string path) throws FileError, SparqlError, DataError, DateError, DBInterfaceError {
try {
Data.begin_transaction ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]