[tracker/tracker-0.10] tracker-needle: Fix build with Vala master
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] tracker-needle: Fix build with Vala master
- Date: Thu, 18 Aug 2011 09:52:39 +0000 (UTC)
commit c7427b5abb9ff4c3b7b52317e0451f7afad55108
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 1dc24c1..506f08b 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;
@@ -431,7 +431,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]