diff options
Diffstat (limited to 'vapigen/valavapicheck.vala')
-rw-r--r-- | vapigen/valavapicheck.vala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vapigen/valavapicheck.vala b/vapigen/valavapicheck.vala index 282b4658e..a066cc5d3 100644 --- a/vapigen/valavapicheck.vala +++ b/vapigen/valavapicheck.vala @@ -23,9 +23,10 @@ using GLib; class Vala.VAPICheck : Object { - public VAPICheck (string gidlname, construct CodeContext context = new CodeContext ()) { + public VAPICheck (string gidlname, CodeContext context = new CodeContext ()) { gidl = new SourceFile (context, gidlname); metadata = new SourceFile (context, gidlname.substring (0, gidlname.len () - 5) + ".metadata"); + this.context = context; } public CodeContext context { get; construct; } |