|
|
@@ -63,7 +63,7 @@ public class VapiParser : Object {
|
|
|
|
|
|
// Set the library path for VAPI files
|
|
|
// These are standard locations where Vala VAPI files are installed
|
|
|
- context.vapi_directories = { "/usr/share/vala-0.56/vapi", "/usr/local/share/vala-0.56/vapi" };
|
|
|
+ context.vapi_directories = { "/usr/share/vala-0.56/vapi", "/usr/share/vala/vapi" };
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -90,7 +90,7 @@ public class VapiParser : Object {
|
|
|
|
|
|
// Create a source file for the VAPI file
|
|
|
// Use SOURCE type instead of PACKAGE to ensure it's parsed
|
|
|
- var source_file = new Vala.SourceFile (context, Vala.SourceFileType.SOURCE, path);
|
|
|
+ var source_file = new Vala.SourceFile (context, Vala.SourceFileType.PACKAGE, path);
|
|
|
context.add_source_file (source_file);
|
|
|
|
|
|
|