[tracker/libtracker-sparql: 48/50] libtracker-sparql: Fix Vala warning



commit 98ca56df580dedd80a258dc000ebd748b65ea3d3
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]