[tracker/libtracker-sparql: 38/44] libtracker-sparql: Fix Vala warning



commit b08857e09b97a71c77c8e5ebb27434654d6e5c72
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 aba0344..c85c9cf 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]