From c2d0eced5b0c87f15d7a6a341ab4979252a72af6 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 19 Nov 2015 14:25:06 +0800 Subject: [PATCH] src/Project/Gtk.vala --- src/Project/Gtk.vala | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; -- 2.39.2