[tracker/libtracker-sparql: 41/43] libtracker-sparql: Fix Vala warning



commit 89dfb0ffb9dc4fe885e73eb612c709f3e61dd388
Author: Jürg Billeter <j bitron ch>
Date:   Mon Aug 9 11:42:32 2010 +0200

    libtracker-sparql: Fix Vala warning

 src/libtracker-sparql/tracker-connection.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-sparql/tracker-connection.vala b/src/libtracker-sparql/tracker-connection.vala
index dddffba..c8f058e 100644
--- a/src/libtracker-sparql/tracker-connection.vala
+++ b/src/libtracker-sparql/tracker-connection.vala
@@ -90,7 +90,7 @@ public abstract class Tracker.Sparql.Connection : Object {
 	 * Returns: a new #TrackerSparqlConnection. Call g_object_unref() on the
 	 * object when no longer used.
 	 */
-	public static Connection get () throws Sparql.Error {
+	public static new Connection get () throws Sparql.Error {
 		if (singleton != null) {
 			assert (!direct_only);
 			return singleton;



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