Line 0
Link Here
|
|
|
1 |
--- src/TaskStore.vala.orig 2016-12-18 13:54:36 UTC |
2 |
+++ src/TaskStore.vala |
3 |
@@ -86,7 +86,11 @@ class TaskStore : Gtk.ListStore { |
4 |
public void remove_task (Gtk.TreeIter iter) { |
5 |
bool is_active_task = compare_tasks (iter); |
6 |
var _active_task = active_task; |
7 |
+#if VALA_0_36 |
8 |
+ this.remove (ref iter); |
9 |
+#else |
10 |
this.remove (iter); |
11 |
+#endif |
12 |
if (is_active_task && _active_task == active_task) { |
13 |
active_task = null; |
14 |
refresh_active_task (); |