[tracker/insert-silent: 1/2] libtracker-data: Fix error annotations in Vala bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/insert-silent: 1/2] libtracker-data: Fix error annotations in Vala bindings
- Date: Mon, 7 Jun 2010 10:19:09 +0000 (UTC)
commit a5c2ccb2087306bcd7ca99466513df3fe8d38c69
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]