From: Alan Knowles Date: Wed, 4 Mar 2015 06:43:22 +0000 (+0800) Subject: src/Project/Gtk.vala X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=1412ff570954fbcc2020ceb4034f70b15652cc3f;p=app.Builder.js src/Project/Gtk.vala --- diff --git a/src/Project/Gtk.vala b/src/Project/Gtk.vala index 0bdcf97a7..f0da3eea2 100644 --- a/src/Project/Gtk.vala +++ b/src/Project/Gtk.vala @@ -169,6 +169,9 @@ namespace Project { // if we have a vala file with the same name // then do not add it... var vv = (new Regex("\\.c$").replace(fn, fn.legnth, 0, ".vala"); + if (ret.index_of(vv) > -1) { + continue; + } ret.add(dirname + "/" + fn); continue;