2007-05-09 Jürg Billeter <j@bitron.ch>
* vala/valanamespace.vala: don't add default include directives for
VAPI files, fixes bug 436761
svn path=/trunk/; revision=310
+2007-05-09 Jürg Billeter <j@bitron.ch>
+
+ * vala/valanamespace.vala: don't add default include directives for
+ VAPI files, fixes bug 436761
+
2007-05-07 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vala: correct strstr cname, patch by Zsombor
*/
public ref List<weak string> get_cheader_filenames () {
if (cheader_filenames == null) {
- cheader_filenames.append (source_reference.file.get_cinclude_filename ());
+ if (!source_reference.file.pkg) {
+ // don't add default include directives for VAPI files
+ cheader_filenames.append (source_reference.file.get_cinclude_filename ());
+ }
}
return cheader_filenames.copy ();
}