[latexila/vala-0.14] Remove useless code thanks to a bug fix in Vala 0.14



commit ee64297da75023848030300105c325dba25a6799
Author: SÃbastien Wilmet <swilmet src gnome org>
Date:   Mon Sep 19 12:28:18 2011 +0200

    Remove useless code thanks to a bug fix in Vala 0.14

 src/build_tool_runner.vala |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/build_tool_runner.vala b/src/build_tool_runner.vala
index fefc4bf..8d172aa 100644
--- a/src/build_tool_runner.vala
+++ b/src/build_tool_runner.vala
@@ -48,13 +48,9 @@ public class BuildToolRunner : GLib.Object
 
     public signal void finished ();
 
-    public BuildToolRunner (File file, BuildTool? tool, BuildView view,
+    public BuildToolRunner (File file, BuildTool tool, BuildView view,
         Gtk.Action action_stop_exec)
     {
-        // TODO remove this and the '?' when the bug in vala is fixed
-        // https://bugzilla.gnome.org/show_bug.cgi?id=656693
-        return_if_fail (tool != null);
-
         this.file = file;
         this.compilation = tool.compilation;
         this.action_stop_exec = action_stop_exec;



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