[gnome-chess] Require Vala 0.35.7



commit 97e44ab2a5f281f80e11cecbbfc012a51cc75d3a
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Mar 11 11:09:29 2017 -0600

    Require Vala 0.35.7
    
    This is not a tight bound; I have not investigated what changed or when.

 configure.ac         |    2 +-
 src/gnome-chess.vala |    4 ----
 2 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8fe954f..01ddb51 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8,7 +8,7 @@ AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz foreign])
 AM_SILENT_RULES([yes])
 AM_MAINTAINER_MODE([enable])
 
-AM_PROG_VALAC([0.27.1])
+AM_PROG_VALAC([0.35.7])
 
 LT_PREREQ([2.2])
 LT_INIT
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index 72a8b83..09a0ff0 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -1143,11 +1143,7 @@ Copyright © 2015–2016 Sahil Sareen""";
         var model = (Gtk.ListStore) history_combo.model;
         Gtk.TreeIter iter;
         model.iter_nth_child (out iter, null, model.iter_n_children (null) - 1);
-#if VALA_0_36
         model.remove (ref iter);
-#else
-        model.remove (iter);
-#endif
 
         /* Always undo from the most recent move */
         scene.move_number = -1;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]