From 4f772071eedf46dc2eb0b8f228441aa0689cdf21 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 26 May 2015 13:40:50 +0800 Subject: [PATCH] src/Project/Gtk.vala --- src/Project/Gtk.vala | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Project/Gtk.vala b/src/Project/Gtk.vala index 199cdac0e..564318eba 100644 --- a/src/Project/Gtk.vala +++ b/src/Project/Gtk.vala @@ -237,15 +237,16 @@ namespace Project { } catch (Error e) { continue; } - if (Regex.match_simple("\\.vala\\.c$", fn)) { - continue; - } + if (ret.index_of( vv) > -1) { continue; } + // add the 'c' file.. ret.add(fn); } + // sort. + } -- 2.39.2