[tracker/libtracker-sparql: 3/43] 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: 3/43] libtracker-direct, libtracker-sparql: Make sure Connection is kept alife longer than Cursor
- Date: Mon, 9 Aug 2010 15:52:27 +0000 (UTC)
commit 1ad6c0bf100fac64a5b72884b1569f7591f59cca
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]