diff --git a/blueprintcompiler/gir.py b/blueprintcompiler/gir.py index f4bf4e3..cb73961 100644 --- a/blueprintcompiler/gir.py +++ b/blueprintcompiler/gir.py @@ -104,12 +104,8 @@ def get_available_namespaces() -> T.List[T.Tuple[str, str]]: if len(_available_namespaces): return _available_namespaces - search_paths: list[str] = [ - *GIRepository.Repository.get_search_path(), - *_user_search_paths, - ] - - for search_path in search_paths: + collect_typelib_search_paths() + for search_path in _typelib_search_paths: try: filenames = os.listdir(search_path) except FileNotFoundError: