[tracker/libtracker-sparql: 10/43] libtracker-sparql: Use GFile for import functions, not strings



commit 58b6e965de0347cbc392b44fed33045c1e000b41
Author: Martyn Russell <martyn lanedo com>
Date:   Tue Jul 13 15:29:55 2010 +0100

    libtracker-sparql: Use GFile for import functions, not strings

 src/libtracker-sparql/tracker-connection.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-sparql/tracker-connection.vala b/src/libtracker-sparql/tracker-connection.vala
index c82e59d..435ffcf 100644
--- a/src/libtracker-sparql/tracker-connection.vala
+++ b/src/libtracker-sparql/tracker-connection.vala
@@ -40,10 +40,10 @@ public abstract class Tracker.Sparql.Connection : Object {
 	}
 	
 	// Import
-	public virtual void import (string uri, Cancellable? cancellable = null) throws GLib.Error {
+	public virtual void import (File file, Cancellable? cancellable = null) throws GLib.Error {
 		warning ("Interface 'import' not implemented");
 	}
-	public async virtual void import_async (string uri, Cancellable? cancellable = null) throws GLib.Error {
+	public async virtual void import_async (File file, Cancellable? cancellable = null) throws GLib.Error {
 		warning ("Interface 'import_async' not implemented");
 	}
 }



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