From: Alan Knowles Date: Thu, 19 Nov 2015 06:25:06 +0000 (+0800) Subject: src/Project/Gtk.vala X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=c2d0eced5b0c87f15d7a6a341ab4979252a72af6 src/Project/Gtk.vala --- diff --git a/src/Project/Gtk.vala b/src/Project/Gtk.vala index b96c5e861..cd997894e 100644 --- a/src/Project/Gtk.vala +++ b/src/Project/Gtk.vala @@ -454,11 +454,13 @@ namespace Project { { string[] ret = {}; var sources = this.compilegroups.get("_default_").sources; - //ret += this.firstPath(); << might not be needed? + ret += this.firstPath(); for(var i =0; i< sources.size; i++) { var path = this.resolve_path( this.firstPath(), sources.get(i)); - + if (path == this.firstPath()) { + continue; + } if (Path.get_basename (path) == "vapi") { continue;