From 5b5ab282a6718b6dce46405a7dbb1a08a953485a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 15 Jul 2010 23:40:28 +0200 Subject: [PATCH] [girepository] Fix ordering in override_search_path Entries in the GI_TYPELIB_PATH environment variable are added to the global search path in reverse order - instead, add entries in the same order in which they are specified. --- girepository.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/girepository.c b/girepository.c index ef3d6d224..df09d822b 100644 --- a/girepository.c +++ b/girepository.c @@ -131,6 +131,9 @@ init_globals (void) g_free (custom_dirs); } + if (override_search_path != NULL) + override_search_path = g_slist_reverse (override_search_path); + libdir = GOBJECT_INTROSPECTION_LIBDIR; typelib_dir = g_build_filename (libdir, "girepository-1.0", NULL);