[tracker] tracker-needle: Fix build with Vala master
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-needle: Fix build with Vala master
- Date: Tue, 16 Aug 2011 12:44:52 +0000 (UTC)
commit 8ac70129903064fac7bc542924dbcf79ce85dbad
Author: JÃrg Billeter <j bitron ch>
Date: Tue Aug 16 14:40:51 2011 +0200
tracker-needle: Fix build with Vala master
src/tracker-needle/tracker-result-store.vala | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-needle/tracker-result-store.vala b/src/tracker-needle/tracker-result-store.vala
index 1a41a63..4c8b18e 100644
--- a/src/tracker-needle/tracker-result-store.vala
+++ b/src/tracker-needle/tracker-result-store.vala
@@ -61,7 +61,7 @@ public class Tracker.ResultStore : Gtk.TreeModel, GLib.Object {
set;
}
- private Operation * find_operation (GenericArray<Operation> array, CategoryNode *node, int offset) {
+ private Operation? find_operation (GenericArray<Operation> array, CategoryNode node, int offset) {
Operation op;
int i;
@@ -436,7 +436,11 @@ public class Tracker.ResultStore : Gtk.TreeModel, GLib.Object {
return n_columns + n_extra_columns;
}
+#if VALA_0_14
+ public Gtk.TreePath? get_path (Gtk.TreeIter iter) {
+#else
public Gtk.TreePath get_path (Gtk.TreeIter iter) {
+#endif
TreePath path = new TreePath ();
CategoryNode cat;
int i;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]