[tracker/libtracker-sparql: 9/50] libtracker-direct, libtracker-sparql: Make sure Connection is kept alife longer than Cursor
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/libtracker-sparql: 9/50] libtracker-direct, libtracker-sparql: Make sure Connection is kept alife longer than Cursor
- Date: Mon, 9 Aug 2010 15:37:55 +0000 (UTC)
commit 45e67dc07f5f2c19975368e8d00b387063791750
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Jul 8 13:54:10 2010 +0200
libtracker-direct, libtracker-sparql: Make sure Connection is kept alife longer than Cursor
src/libtracker-sparql/tracker-cursor.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-sparql/tracker-cursor.vala b/src/libtracker-sparql/tracker-cursor.vala
index c30861a..b81cda3 100644
--- a/src/libtracker-sparql/tracker-cursor.vala
+++ b/src/libtracker-sparql/tracker-cursor.vala
@@ -18,6 +18,7 @@
*/
public abstract class Tracker.Sparql.Cursor : Object {
+ public Connection connection { get; set; }
public abstract int n_columns { get; }
public abstract unowned string get_string (int column, out int length = null);
public virtual bool interrupt () throws GLib.Error {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]