[tracker/async-get-connection] libtracker-sparql: Don't always assume direct_only in get_internal_async()



commit 24c3cdf6416533b90f42488834e6853ddbe46c76
Author: Martyn Russell <martyn lanedo com>
Date:   Wed Sep 15 14:14:12 2010 +0100

    libtracker-sparql: Don't always assume direct_only in get_internal_async()

 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 ba3a9ea..25fec16 100644
--- a/src/libtracker-sparql/tracker-connection.vala
+++ b/src/libtracker-sparql/tracker-connection.vala
@@ -130,7 +130,7 @@ public abstract class Tracker.Sparql.Connection : Object {
 			throw new IOError.CANCELLED ("Operation was cancelled");
 		}
 
-		direct_only = true;
+		direct_only = is_direct_only;
 		singleton = result;
 		result.add_weak_pointer ((void**) (&singleton));
 		return singleton;



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