Skip to content

valacodecontext: Fix uses of g_build_path() to locate GIR XML

Simon McVittie requested to merge wip/smcv/gir-search-paths into main
  • valacodecontext: Really look for GIR XML in Config.GI_GIRDIR

    The first argument to Path.build_path is a separator, and for it to be practically useful, at least two subsequent arguments are needed.

  • valacodecontext: Look for GIR XML in /usr/share, not ./usr/share

    The first argument to g_build_path() is a separator, not the first path element, so to find GIR XML in /usr/share we should make the second argument be an absolute path.

/cc @ricotz

Merge request reports