[latexila] Vala 0.14: remove useless code thanks to a bug fix



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

    Vala 0.14: remove useless code thanks to a bug fix

 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]