Merge lp:~jbicha/hud/build-with-vala36 into lp:hud

Proposed by Jeremy Bícha
Status: Merged
Approved by: Robert Ancell
Approved revision: 413
Merged at revision: 413
Proposed branch: lp:~jbicha/hud/build-with-vala36
Merge into: lp:hud
Diff against target: 27 lines (+8/-0)
1 file modified
tools-vala/hud-gtk.vala (+8/-0)
To merge this branch: bzr merge lp:~jbicha/hud/build-with-vala36
Reviewer Review Type Date Requested Status
Robert Ancell Approve
Review via email: mp+325887@code.launchpad.net

Commit message

Build with vala 0.36

To post a comment you must log in.
Revision history for this message
Robert Ancell (robert-ancell) wrote :

I've had fun fixing these in my own projects :)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tools-vala/hud-gtk.vala'
2--- tools-vala/hud-gtk.vala 2013-08-16 06:27:45 +0000
3+++ tools-vala/hud-gtk.vala 2017-06-18 00:46:59 +0000
4@@ -44,7 +44,11 @@
5 Gtk.TreePath path = new Gtk.TreePath.from_string(spath);
6 Gtk.TreeIter iter;
7 model.get_iter(out iter, path);
8+#if VALA_0_36
9+ model.remove(ref iter);
10+#else
11 model.remove(iter);
12+#endif
13 }
14
15 void appstack_results_row_added (Dee.Model results, Dee.ModelIter result_iter) {
16@@ -65,7 +69,11 @@
17 Gtk.TreePath path = new Gtk.TreePath.from_string(spath);
18 Gtk.TreeIter iter;
19 appstack_model.get_iter(out iter, path);
20+#if VALA_0_36
21+ appstack_model.remove(ref iter);
22+#else
23 appstack_model.remove(iter);
24+#endif
25 }
26
27 void entry_text_changed (Object object, ParamSpec pspec) {

Subscribers

People subscribed via source and target branches