[tracker/libtracker-sparql: 9/55] 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/55] libtracker-direct, libtracker-sparql: Make sure Connection is kept alife longer than Cursor
- Date: Fri, 6 Aug 2010 10:06:17 +0000 (UTC)
commit 8127ae3cb56496d20a4118ef423b6094cd92c307
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]